Home » MYSQL » Update Query » Question
  1. In the following query how many rows will be updated?
    UPDATE Employee
    SET Lname=’Gupta’,
    Fname = ’Ajit’,
    WHERE Emp_id = 101;
    /* person_id is a primary key */
    1. Double row
    2. No row
    3. Single row
    4. All of above
    5. None of these
Correct Option: C

Single row



Your comments will be displayed only after manual approval.