Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.45 KB | None | 0 0
  1.   select imie, nazwisko, ocena, ocena.skrot
  2.   from ocena join student on student.nr_indeksu=ocena.nr_indeksu
  3.              join przedmiot on przedmiot.skrot = ocena.skrot
  4.   where rok = 2 and exists
  5.                      (select ocena from ocena where ocena.skrot = 'RBD') and
  6.                     exists
  7.                      (select ocena from ocena join przedmiot on przedmiot.skrot = ocena.skrot where przedmiot.nazwa='Podstawy programowania w Javie');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement