Answered step by step
Verified Expert Solution
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.
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started