Is it possible? I mean
Select * from tbl limit 100;
I want to replace with a query like
Select * from tbl WHERE ...some_condition...
Do you want the where clause only applied to the first hundred rows? If so, use a subquery:
select . . .
from (select t.*
from table t
limit 100) t
where . . .
This will return less than 100 rows (presumably not all rows match the condition). Also, when using limit, you should have an order by condition.
limit?LIMITbut without usingLIMIT. Why?