Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. use ABDUczelnia
  2.  
  3. select distinct nazwisko, imie, Nip
  4. from Wykladowcy as s join oceny as o on o.IdWykladowcy = o.IdStudenta
  5. where o.ocena=2 and year(o.DataOceny)=2013 and month(o.dataoceny)<7
  6. group by imie, nazwisko, Nip
  7. having count(o.ocena)>=2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement