Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please show screenshots of SQL code and output {Questions 6 &11}? (The main problem is I recieve an empty set as output which is incorrect

image text in transcribedPlease show screenshots of SQL code and output {Questions 6 &11}?

(The main problem is I recieve an empty set as output which is incorrect for Question 6 & 11)

USE THE HENRY BOOKS DATABSE (SQL Table DATA ALREADY Provided) LINK BELOW

https://www.chegg.com/homework-help/questions-and-answers/please-show-screenshots-sql-code-output-questions-1-4-5-11-use-henry-books-sql-already-dat-q28596089

Henry Books Use MySQL and the Henry Books database (Figures 1-4 through 1-7 in Chapter 1) to complete the following exercises. Use the notes at the end of Chapter 3 to print your output if directed to do so by your instructor. For each book, list the book code, book title, publisher code, and publisher name. Order the results by publisher name. For each book published by Plume, list the book code, book title, and price. List the book title, book code, and price of each book published by Plume that has a book price of at least $14. 1. 159 2. 3. 4. List the book code, book title, and units on hand for each book in branch number 4 5. List the book title for each book that has the type PSY and that is published by Jove 6. Find the book title for each book written by author number 18. Use the IN operator in your 7. Repeat Exercise 6, but this time use the EXISTS operator in your formulation. Find the book code and book title for each book located in branch number 2 and written by List the book codes for each pair of books that have the same price. (For example, one such first book code listed should be the major sort key, and the second book code should be the 10. Find the book title, author last name, and units on hand for each book in branch number 4 12. Find the book code and book title for each book whose price is more than $10 or that was 13. Find the book code and book title for each book whose price is more than $10 and that was 14. Find the book code and book title for each book whose price is more than $10 but that was 15. Find the book code and book title for each book whose price is greater than the book price 16. Find the book code and book title for each book whose price is greater than the price of at 8. author 20. 9. pair would be book 0200 and book 7559, because the price of both books is $8.00.) The minor sort key. 11. Repeat Exercise 10, but this time list only paperback books. published in Boston. published in Boston. not published in Boston. of every book that has the type HOR. least one book that has the type HOR. List the book code, book title, and units on hand for each book in branch number 2. Be sure each book is included, regardless of whether there are any copies of the book currently on hand in branch 2. Order the output by book code. 17

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_2

Step: 3

blur-text-image_step3

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

More Books

Students also viewed these Databases questions

Question

Are these written ground rules?

Answered: 1 week ago

Question

Have ground rules been established for the team?

Answered: 1 week ago