A

Admin • 833K Points
Coach

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
  • Correct Answer - Option(B)
  • Views: 30
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

`COUNT(*)` returns the total number of rows in the table.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.