Question · SQL and MySQL course · Module 11: Capstone project

What LIMIT does

What does the LIMIT clause at the end of a query do?

Answer options

  • It limits the number of returned rows to the given number
  • It limits the number of columns in the result
  • It permanently removes rows from the table
  • It sets the maximum price of a book

You can check the correct answer by solving this task in the CodeWorlds game.