سلام
من می خوام دو تا select بنویسم که select اولی رو داخل select دوم به کار ببرم.
select distinct score as s1 from student order by desc score
این query اول (q1)
select id,score,(select count(*) from q1 ,student where score<s1) as rank from student
برچسب:
نویسنده: محمد رضا جوادیان