EBK DATABASE SYSTEM CONCEPTS
EBK DATABASE SYSTEM CONCEPTS
7th Edition
ISBN: 9781260049268
Author: SILBERSCHATZ
Publisher: MCG COURSE
Expert Solution & Answer
Book Icon
Chapter 3, Problem 21E

Explanation of Solution

a.

Query:

select memb_no, name from member natural join borrowed where isbn in (select isbn from book where publisher=’McGraw-Hill’);

Explanation:

Explanation of Solution

b.

Query:

Select memb_no, name from member m where not exists

(select isbn from book where publisher=’McGraw-Hill’ except (select isbn from member natural join borrowed where m.memb_no=memb_no));

Explanation:

The above query is get the “memb_n...

Explanation of Solution

c.

Query:

Select memb_no, name from member natural join borrowed natural join book group by memb_no, name, publisher having count (isbn)>5...

Explanation of Solution

d.

Query:

select sum(num_of_books)/ count(memb_no) from (select memb_no, (select count(*) from borrowed where member.memdber_no=borrowed...

Explanation of Solution

e.

Query:

create table participated (report_number char(20) primary key, license char(20) references car, driver_id char(20) references driver, damage_amount dec(6,2) )

Explanation:

The above query is used creat...

Blurred answer
Students have asked these similar questions
Pattern RecognitonDecision Tree please write the steps not only last answer
Pattern RecognitionPCA algorithmplease write the steps not only last answer
Please original work Final Project: Part I Background Information: E-TechMart, established in 2005, has grown to become a leading global electronics retailer, renowned for its extensive range of electronic devices and accessories. With a robust online platform and numerous brick-and-mortar stores spread across various regions, E-TechMart serves millions of customers worldwide. The company's product offerings include the latest smartphones, laptops, tablets, smart home devices, and a variety of electronic accessories, catering to both individual consumers and businesses. E-TechMart has always prioritized customer satisfaction and aims to provide an exceptional shopping experience. This commitment is evident in their comprehensive customer service, competitive pricing, and a well-organized loyalty program that rewards repeat customers. Despite these strengths, E-TechMart faces increasing competition from other major players in the electronics retail market. To maintain its competitive…
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education