limit in where | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

limit in where

do exist limit of "where condition" ?

8th Sep 2016, 9:22 AM
Patryk Kirszenstein
Patryk Kirszenstein - avatar
2 Answers
+ 1
Not sure what you are asking, but you can use both WHERE and LIMIT at the same time, and LIMIT is applied to the results that match the WHERE condition. SELECT * FROM mytable WHERE mycolumn = 50 LIMIT 100;
8th Sep 2016, 9:31 AM
Zen
Zen - avatar
0
Limit is used for... How many records u want to see.. Then use limit statement... Its similar to select top in my sql..
10th Sep 2016, 11:18 AM
manu