Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Course: Database Management System (DBMS) Please write/provide correct sql queries in solution. Consider the tables; Library User (first name, last name, card number) and Library
Course: Database Management System (DBMS) Please write/provide correct sql queries in solution.
Consider the tables; Library User (first name, last name, card number) and Library Book (title, author, bookID, card number). Page 4 of 6 Card number is the unique library card number for a user and is used in the LibraryBook table to tell who has checked out that book. If a book is not checked out, this value is NULL. Write a query that selects all the user last names, card numbers and titles of books they have checked out, include a user even if they have no books checked out. Users with more than one book checked out will have a record returned for each book. HINT: Can be solved by using left outer join
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started