select row number pada postgresql
select * from
(
SELECT nim,count(*) as jml,ROW_NUMBER () OVER (ORDER BY npm) as no FROM public.data where periode='123' group by nim
) a
where a.no>=100 and a.no<=150
berusaha untuk berbagi
Kamis, 12 September 2024 Sunarto 0
select * from
(
SELECT nim,count(*) as jml,ROW_NUMBER () OVER (ORDER BY npm) as no FROM public.data where periode='123' group by nim
) a
where a.no>=100 and a.no<=150