Guest User

Untitled

a guest
Jan 17th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. 1. students
  2. --------------------------------
  3. |student_id|first_name|last_name|
  4. ---------------------------------
  5.  
  6. SELECT books.name AS "book name", students.*
  7. FROM books
  8. JOIN borrowings ON books.book_id = borrowings.book_id
  9. JOIN students ON students.student_id = borrowings.student_id;
Add Comment
Please, Sign In to add comment