Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use SQL to answer queries. STUDENT(Ssn, Name, Major, Bdate) COURSE(Course#, Cname, Dept) ENROLL(Ssn, Course#, Quarter, Grade) BOOK_ADOPTION(Course#, Quarter, Book_isbn) TEXT(Book_isbn, Book_title, Publisher, Author) a.

Please use SQL to answer queries.

STUDENT(Ssn, Name, Major, Bdate)

COURSE(Course#, Cname, Dept)

ENROLL(Ssn, Course#, Quarter, Grade)

BOOK_ADOPTION(Course#, Quarter, Book_isbn)

TEXT(Book_isbn, Book_title, Publisher, Author)

a. Retrieve the names of students who have enrolled in a course that uses a textbook published by Addison-Wesley-Longman.

b. Retrieve the names of courses in which the textbook has been changed at least once.

c. Retrieve the names of departments that adopt textbooks published by Addison-Wesley only.

d. Retrieve the names of departments that adopt textbooks written by Navathe and published by Addison-Wesley.

e. Retrieve the names of students who have never used a book (in a course) written by Navathe and published by Addison-Wesley.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago