Q. What does this query return?

Code:
SELECT COUNT(*) FROM users;
  • (A) Number of NULL values
  • (B) Number of users
  • (C) Maximum ID of users
  • (D) Average ID of users
πŸ’¬ Discuss
βœ… Correct Answer: (B) Number of users
Explanation: `COUNT(*)` returns the total number of rows in the table.
Explanation by: Mr. Dubey
`COUNT(*)` returns the total number of rows in the table.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
86
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate