Question: Write a SQL query to update multiple rows in a table.Answer: UPDATE table SET column1 = value1, column2 = value2 WHERE condition; |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is SQL?
- What is a foreign key?
- Write a SQL query to update multiple rows in a table.
- What is the purpose of the SQL DISTINCT keyword?
- Write a SQL query to find the top N records from a table.