πŸ“Š MySQL
Q. What will the following query return?
Code:
SELECT COUNT(*) FROM users;
  • (A) Sum of all column values
  • (B) Number of users
  • (C) Maximum ID
  • (D) Names of users
πŸ’¬ Discuss
βœ… Correct Answer: (B) Number of users

Explanation: `COUNT(*)` counts the total number of rows in the `users` table.

Explanation by: Mr. Dubey
`COUNT(*)` counts the total number of rows in the `users` table.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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