CSC265 Database Management System

Database Management SystemTU Board 2081

Consider the library database schema containing the tables given below where primary keys are underlined. USER (UserID, User name, Address) USES (UserID, BookID, Issued date, Returned date) BOOK…

10

Consider the library database schema containing the tables given below where primary keys are underlined.

USER (UserID, User_name, Address)
USES (UserID, BookID, Issued_date, Returned_date)
BOOK (BookID, Book_name, Author, PublisherID)
PUBLISHER (PublisherID, Publisher_name, Address)

Specify the following queries in both SQL and Relational Algebra on this database schema:
a. Retrieve names of all books issued to the user "Hari".
b. Retrieve the names of all books published by "ABC publication".
c. Count the number of books published by the author "Ram".

A worked answer is on its wayMeanwhile, read the Database Management System notes for this topic.

Discussion

Loading…

More Database Management System questions

All Database Management System old questions