How to update 2 records in SQL. Having different values | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to update 2 records in SQL. Having different values

I want to update two different cells in table.

1st Oct 2017, 5:56 AM
Programmer Rushikesh
Programmer Rushikesh - avatar
2 Answers
+ 1
Good answer Kostas
14th Jan 2018, 6:58 AM
Wycliffe Ooko
Wycliffe Ooko - avatar
0
UPDATE your_table SET your_column=your_NEW_value WHERE condition (e.g. ID=10) This is the basic syntax
1st Oct 2017, 6:58 AM
Kostas Batz
Kostas Batz - avatar