Dotaz:
SELECT distinct
rank() OVER (ORDER BY p.service) as rank,
p.service,
From table_service
Where 1=1
Výstup:
Rank: 1 | Servis: test1
Rank: 2 | Servis: test2
Rank: 3 | Servis: test3
Jak mohu zobrazit pouze Rank 2?
Zkoušel jsem to, ale nefunguje:
SELECT distinct
rank() OVER (ORDER BY p.service) as rank,
p.service,
From table_service
Where rank = 2
Nějaký nápad?