mysql limit - a general question -


Below the query

  from the SELECT * table where one = '1' and b = '2' and 'C' 3 'and' '4' 'and E! = '5' and F = 6 ' 

return 10000 results.

My question is that we say that I limit the search of the first 10 results in this way:

  SELECT * from table WHERE a = '1' and B = '2' and c & gt; '3' and 'D' '4' and E! = '5' and F = '6' LIMIT 10  

Will all SQL search be done through 10000 results or will it stop at the result of 10th? /p>

LIMIT will display the specified rows only based on their status within the resultset . Without ORDER BY, you are relying on the order contained in the records.

You might be interested in reading about it ...


Comments

Popular posts from this blog

google indexing -

wpf - Custom Message Box Advice -

Eclipse CDT variable colors in editor -