How to update a database table using SQL?

Long Answer
Views 439

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  

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of SQL, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.