My requirement is to get each client\'s latest order, and then get top 100 records.
I wrote one query as below to get latest orders for each client. Internal query works
you should use rownum in oracle to do what you seek
where rownum <= 100
see also those answers to help you
limit in oracle
select top in oracle
select top in oracle 2