A

Admin • 833K Points
Coach

Q. How can you select the top 5 rows in a table?

  • (A) SELECT * FROM table LIMIT 5;
  • (B) SELECT TOP 5 FROM table;
  • (C) SELECT LIMIT 5 FROM table;
  • (D) SELECT FIRST 5 FROM table;
  • Correct Answer - Option(A)
  • Views: 26
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

`LIMIT 5` returns the first 5 rows from the result set.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.