Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT DISTINCT st.id_student, name,surname
- FROM students st
- INNER JOIN exams ex
- ON ex.id_student=st.id_student
- WHERE passed = 'N'
- ORDER BY 3 DESC;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement