You are viewing a single comment's thread. Return to all comments →
MySQL:
SELECT IF (g.grade < 8, NULL, s.name), g.grade, s.marks FROM students s JOIN grades g on s.marks between g.min_mark and g.max_mark ORDER by g.grade desc, s.name;
Seems like cookies are disabled on this browser, please enable them to open this website
The Report
You are viewing a single comment's thread. Return to all comments →
MySQL: