Question: Database SQL Just need 5-7 done To perform these assignments, refer to the tables in the JustLee Books database. Generate and test two SQL queries

 Database SQL Just need 5-7 done To perform these assignments, referDatabase SQL
Just need 5-7 done

To perform these assignments, refer to the tables in the JustLee Books database. Generate and test two SQL queries for each of the following tasks: a) the SQL statement needed to perform the stated task with the traditional approach, and b) the SQL statement needed to perform the stated task with the JOIN keyword. Apply table aliases in all queries. 1. Create a list that displays the title of each book and the name and phone number of contact at the publisher's office for reordering each book. 2. Determine which orders haven't yet shipped and the name of the customer who placed the order. Sort the results by the date on which the order was placed. 3. Produce a list of all customers who live in the state of Florida and have ordered books about computers. 4. Determine which books customer Jake Lucas has purchased. Perform the search using the customer name, not the customer number. If he has purchased multiple copies of the same book, unduplicate the results. 5. Determine the profit of each book sold to Jake Lucas, using the actual price the customer paid (not the book's regular retail price). Sort the results by order date. If more than one book was ordered, sort the results by profit amount in descending order. Perform the search using the customer name, not the customer number. 6. Which books were written by an author with the last name Adams? Perform the search using the author name. 7. What gift will a customer who orders the book Shortest Poems receive? Use the actual book retail value to determine the gift

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!