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
3 Antworten
+ 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
+ 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.
0
But do i have to write query seprately? I have to insert the name in column and then delete it.