Advertisement
Guest User

Untitled

a guest
May 20th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. // 35b
  2.  
  3. SELECT Nauczyciele.Nazwisko, Nauczyciele.Imie, Nauczyciele.IdN, Przedmioty.NazwaP, Oceny.Ocena, Uczniowie.Nazwisko, Uczniowie.Imie
  4. FROM Uczniowie RIGHT JOIN ((Przedmioty LEFT JOIN Oceny ON Przedmioty.IdP = Oceny.IdP) RIGHT JOIN (Nauczyciele LEFT JOIN Uczy ON Nauczyciele.IdN = Uczy.IdN) ON Przedmioty.IdP = Uczy.IdP) ON Uczniowie.IdU = Oceny.IdU;
  5.  
  6. // 36
  7.  
  8. SELECT Nauczyciele.Nazwisko, Nauczyciele.Imie, Nauczyciele.IdN, Przedmioty.NazwaP, Oceny.Ocena, Uczniowie.Nazwisko, Uczniowie.Imie
  9. FROM Uczniowie RIGHT JOIN ((Przedmioty LEFT JOIN Oceny ON Przedmioty.IdP = Oceny.IdP) RIGHT JOIN (Nauczyciele LEFT JOIN Uczy ON Nauczyciele.IdN = Uczy.IdN) ON Przedmioty.IdP = Uczy.IdP) ON Uczniowie.IdU = Oceny.IdU
  10. WHERE (((Uczniowie.KlasaU)=[Podaj klase]));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement