Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Course: Database Management System (Dbms) Please solve it correctly. Given the two relations: Book (ISBN, title, page count, pubName FK ref (publisher)) Publishers (pubName, city,

Course: Database Management System (Dbms) Please solve it correctly.

image text in transcribed

Given the two relations: Book (ISBN, title, page count, pubName FK ref (publisher)) Publishers (pubName, city, state). (a) [03 points] Write the SQL creation statement for a view named Bookcities. It should have the title and publishing city of every book. (b) [03 points] Given the following SELECT statement: SELECT b.ISBN, b.title, b.page count FROM Books b WHERE title 'sZZZZZz'; Which column of Books could be made an index to make this query run faster? Also write SQL query to create that index

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

Step: 3

blur-text-image

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

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions