R

Ravi Shankar • 4.19K Points
Extraordinary

Q. In the following MySQL command how many rows will be deleted?
DELETE person
WHERE person_id=1;
/*person_id is a primary key */

  • (A) 1
  • (B) 0
  • (C) No row
  • (D) None of the mentioned
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category MySQL

Explanation by: Ravi Shankar
This question is about how MySQL deletes data using the DELETE command.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics