A

Admin • 833K Points
Coach

Q. What does the following command do?

Code:
DELETE FROM orders WHERE id = 101;
  • (A) Deletes the entire table
  • (B) Deletes row with ID 101
  • (C) Deletes all rows except ID 101
  • (D) Renames the row with ID 101
  • Correct Answer - Option(B)
  • Views: 30
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

`DELETE FROM ... WHERE ...` deletes specific rows matching the condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.