Select * from grade g
The where (
Select count (*) from grade where right ourse=course and g.g rade
The order by course, grade desc
Can you help to check it, this inside the logical relations in the where clause? Thank humbly the
CodePudding user response:
The SQL is problematic, take each course result in the first three, had better have analysis function,CodePudding user response:
To benchmark the current behavior, find a large number of records than himself, there was a man older than you, you are the second place, two people older than you, you are the third place,CodePudding user response: