Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write a query that displays the Book number, title, cost of all books. Sort results by book title (case insensitive). 2. Write a query

image text in transcribed

1. Write a query that displays the Book number, title, cost of all books. Sort results by book title (case insensitive).

2. Write a query that displays the checkout number, checkout date, due date and Patron last name for every book that is currently checked out ordered by due date. Join the tables using USING'

3. Write a query that displays the author ID, last name, first name and Book title for the books they have written. Sort by authors last name and then their first name. Join the tables using ON.

FIGURE P7.56 THE CHO7_FACT ERD CHECKOUT PK Check Num FK1 Book_Num FK2 Pat_ID Check_out_Date Check_Due Date Check_in_Date PATRON PK Pat ID ----H-1 Pat_FName Pat_L Name Pat_Type BOOK PK Book Num AUTHOR PK Au ID Book_Title Book_Year Book_Cost Book_Subject FK1 Pat_ID Au_FName Au_LName Au_BirthYear WRITES PK,FK1 Book Num + PK,FK2 Au ID

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

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

3. What might you have done differently

Answered: 1 week ago

Question

4. Did you rethink your decision?

Answered: 1 week ago

Question

3. Did you seek anyones advice?

Answered: 1 week ago