Advertisement
Guest User

Untitled

a guest
Jan 13th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT sw.id_studenta, nazwisko, nazwa_wykladu
  2. FROM studenci_wyklady sw
  3. LEFT JOIN oceny_studentow os on sw.id_wykladu=os.id_wykladu and sw.id_studenta=os.id_studenta LEFT JOIN wyklady ON sw.id_wykladu = wyklady.id_wykladu LEFT JOIN studenci ON sw.id_studenta=studenci.id_studenta
  4. WHERE os.ocena is null
  5. ORDER BY id_studenta ASC, nazwisko ASC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement