0

SQL

How do I add rows in my existing table and make changes in specific columns in existing table? https://code.sololearn.com/cxLekOZ4w9vg/?ref=app

21st Jun 2022, 5:52 PM
Knowledge Is Power
Knowledge Is Power - avatar
3 Answers
+ 2
Using Insert query you can insert records in table Using UPDATE command and by primary id which is StudentId, you can update specific column value query for update column value UPDATE Student SET City = 'xyz' WHERE StudentId = 1
21st Jun 2022, 6:18 PM
AÍąJ
AÍąJ - avatar
+ 1
When you work with a database, you typically use an editor program or IDE which can connect to the database, then it will inform you about the execution of your statements. You can run each statement separately, or together in batch (as a script). Good IDE programs will also let you browse the tables in a GUI, and view and even directly modify data. Not every editor supports every type of database, and some of them cost money. There are many free / open source ones also, for example DBeaver that has wide range of support for different databases.
4th Jul 2022, 6:11 PM
Tibor Santa
Tibor Santa - avatar
0
But do i have to write query seprately? I have to insert the name in column and then delete it.
21st Jun 2022, 9:02 PM
Knowledge Is Power
Knowledge Is Power - avatar