πŸ“Š MySQL
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
πŸ’¬ Discuss
βœ… Correct Answer: (B) Deletes row with ID 101

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

Explanation by: Mr. Dubey
`DELETE FROM ... WHERE ...` deletes specific rows matching the condition.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate