Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You will need to first create and populate a corresponding Oracle database by running the SQL commands provided in the accompanying Fact_Ora.txt posted on iCollege.

You will need to first create and populate a corresponding Oracle database by running the SQL commands provided in the accompanying Fact_Ora.txt posted on iCollege.

Write a query that displays the book title, cost and year of publication for every book in the system.

Write a query to display the checkout number, check out date, and due date for every book that has been checked out.

Write a query to display the different years that books have been published in. Include each year only once.

Write a query to display the different subjects on which FACT has books. Include each subject only once.

Write a query to display the book title, year, and subject for every book. Sort the results by book subject in ascending order, year in descending order, and then title in ascending order.

Write a query to display the book number, title, and year of publication of all books published after 2013 and on the Programming subject.

Write a query to display the book number, title, year of publication, subject, and cost for all books that are on the subjects of Middleware or Cloud, and that cost more than $70.

Write a query to display the author ID, first name, last name, and year of birth for all authors born in the decade of the 1980s.

Write a query to display the book number, title, and year of publication for all books that contain the word Database in the title, regardless of how it is capitalized.

Write a query to display the patron ID, first and last name, and patron type for all patrons whose last name begins with the letter C.

Write a query to display the author ID, first and last name of all authors whose year of birth is unknown.

Write a query to display the author ID, first name, last name, and year of birth for all authors. Sort the results in descending order by year of birth, and then in ascending order by last name. (Note that some DBMS sort NULLs as being large and some DBMS sort NULLs as being small.)

Write a query to display the number of books in the FACT system.

Write a query to display the number of different book subjects in the FACT system.

Write a query to display the highest book cost in the system.

Write a query to display the total value of all books in the library.

Write a query to display the subject and the number of books in each subject. Sort the results by the number of books in descending order, then by subject name in ascending order.

Write a query to display the author ID and the number of books written by that author. Sort the results in descending order by number of books, then in ascending order by author ID.

Write a query to display for each book the longest period of time it has been checked out. [Note that this query requires you to do some research on how to deal with time in SQL]

Write a query to display the book costs by subject for the subjects cloud, database and programming.

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 Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

Trace a sympathetic nerve pathway through a ganglion to effectors.

Answered: 1 week ago

Question

Identify three types of physicians and their roles in health care.

Answered: 1 week ago

Question

Compare the types of managed care organizations (MCOs).

Answered: 1 week ago