Du kan använda ett underval
select * from table where client_id in
(select distinct client_id from table order by client_id limit 5)
Du kan använda ett underval
select * from table where client_id in
(select distinct client_id from table order by client_id limit 5)