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
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1
Explanation: This question is about how MySQL deletes data using the DELETE command.
Explanation by: Ravi Shankar
This question is about how MySQL deletes data using the DELETE command.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
124
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Ravi Shankar
Publisher
πŸ“ˆ
80%
Success Rate