Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT fio from teachers
- WHERE id IN (SELECT teacher_id FROM participants
- WHERE result < 4 AND teacher_id NOT IN (
- SELECT teacher_id FROM participants WHERE result > 3));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement