Hi rajesh
What i think is you might be writing query like this
u r query : select * from tbl_name where ---.
so it is giving u all the rows in table i.e. 1500.
You just need to modify your query
new query : select * from tbl_name where --- limit 50.
This will limit the selected rows to 50 only.
Try it , I think this will solve u r issue