1
340views
Advanced databse management system questions
written 2.3 years ago by | • modified 2.3 years ago |
Consider the following schema
Members (Member_id, name, Designation, Age)
Books (Bid, Btitle, Bauthor, Bpublisher, Bprice)
Reserves (Member_id, Bid, date)
Create the tables along with necessary constraints and insert values appropriately.
Write the following queries in SQL:
- Find the ID’s of members who have not reserved books that cost more than Rs 500.
- List the titles of books reserved by Professors in alphabetical order.
- Find the names of members who reserved all the books.
- Create a view that displays Member_id, number of books reserved by each member.
Note:[ Please update an answer before 12:00 A.M. (-_-) ]
ADD COMMENT
EDIT