How to update a database table using SQL?

SQL >   SQL Table >   Update Table  

Short Question

465


Answer:

To update an existing Table we use SQL Command UPDATE: It will update the records as per user defined query/need.


Update TableName SET ColumnName = NewData where Condition   
Update info Set City = 'Baroda' where id = 2  


This Particular section is dedicated to Question & Answer only. If you want learn more about SQL. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.