Mysql rank different students with multiple subject results in same table
I want to rank the students based on the subject, and their total overall for that particular subject. Query works for all subjects but when I specify the where clause, I only get the rank of the user specified in…