Untitled

 avatar
user_8556937499
plain_text
2 years ago
159 B
2
Indexable
Never
SELECT IF(g.Grade>=8, s.Name, NULL), g.Grade, s.Marks FROM Students s, Grades g WHERE s.Marks>=g.Min_Mark AND s.Marks<=g.Max_Mark ORDER BY Grade DESC, Name ASC