UPDATE TABLE
SET EndDate = CAST('2009-05-25' AS DATETIME)
WHERE Id = 1
UPDATE table_name SET column1=value1, column2=value2 WHERE condition
UPDATE `table_name` SET `column1` = value1, `column2` = value2 WHERE condition;
//to update value
UPDATE students SET course_id = 102
WHERE last_name = 'Jones'; ->
if there is no condition it will update all!