Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.18 KB | None | 0 0
  1. SELECT s.id_student, nazwisko, imie, SUM(punkty)
  2. FROM egzaminy e
  3. RIGHT JOIN studenci s
  4. ON s.id_student = e.id_student
  5. GROUP BY s.id_student, nazwisko, imie
  6. ORDER BY s.id_student ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement