Answers for "update and modify in sql"

SQL
1

UPDATE command in SQL

UPDATE Customers

 SET ContactName = 'Alfred Schmidt', City= 'Frankfurt'

 WHERE CustomerID = 1;
 
 Sql("UPDATE MembershipTypes SET NAME = 'Pay As You Go' WHERE Id = 1");
Posted by: Guest on May-05-2021
1

how to update values in sql

//to update value

UPDATE students SET course_id = 102
WHERE last_name = 'Jones'; -> 
                 if there is no condition it will update all!
Posted by: Guest on January-28-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language