title: How does 'LIMIT' parameter work in sql?
body: <p>I have 4000 rows for example, and I define X limit.</p>
  
  <p>The query stops after it finds X rows? or the query finds all the rows and then takes X rows from the found rows?</p>
  
  <p>Thank you.</p>