QuestionQ21Verified/Manipulating DataCopy linkReport a problemAsk AstroTutorSave questionReview the structure of the EMPLOYEES table: Which UPDATE statement is valid?AUPDATE employees SET first_name = John SET last_name = Smith WHERE employee_id = 180;BUPDATE employees SET first_name = John, SET last_name = Smoth WHERE employee_id = 180;CUPDATE employee SET first_name = John AND last_name = Smith WHERE employee_id = 180;DUPDATE employee SET first_name = John, last_name = Smith WHERE employee_id = 180;Show AnswerAnswerExplanationAn UPDATE statement assigns values to multiple columns through a single SET clause, separating each column = expression assignment with a comma, and the WHERE clause limits the affected row. Character values must be supplied as quoted string literals, and the target table name must match the existing table name in executable SQL. Oracle documents this syntax in its UPDATE statement reference.Learn moreOracle Database SQL Language Reference — UPDATEShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion