SHARE
TWEET

Untitled

a guest May 19th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT Students.Id_Student, Name, Surname, COUNT(*) AS Number_of_exams
  2. FROM Students
  3. JOIN Exams ON Exams.Id_Student = Students.Id_Student
  4. WHERE Passed = 'Y'
  5. GROUP BY Students.Id_Student
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top