Answers for "change value of record sql"

SQL
1

change row in sql

UPDATE employees 
SET 
    lastname = 'Hill'
WHERE
    employeeID = 3;
Posted by: Guest on August-19-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
-1

sql statement to change a field value

UPDATE employees 
SET 
    address = '1300 Carter St',
    city = 'San Jose',
    postalcode = 95125,
    region = 'CA'
WHERE
    employeeID = 3;
Posted by: Guest on July-18-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language