Question: Determine the SQL statements needed to perform the two required tasks below. Faca statement should be tested to ensure validity. Submit your SQL commands AND
Determine the SQL statements needed to perform the two required tasks below. Faca statement should be tested to ensure validity. Submit your SQL commands AND screenshot as documentation of your results for full credit. Remember to include your comments to explain your commands! 1. Create a list from the Customers table that should display the name, address, city, state, and zip code for each customer. Each customer's name should be listed in order/format of last name followed by first name, separated with a comm, AND have the column headers "Customer's Name". "Customer's Address","Customer's State", "Customer's Zip code" For example lastname, firstname is displayed in the column header as " Customer's Name". Address displayed in the next column header as "Customer's Address", and so on. ( 25 points) 2. Management needs to determine profits per book. To determine the percentage of profit for a particular item, subtract the item's cost from the retail price to calculate the dollar amount of profit by the item's cost. The solution is then multiplied by 100 to determine the profit percentage for each book. Use a SELECT statement to display each books tile and profit. For the column displaying the percentage markup, use "My CTEC 3000 Profit %" as the column heading. (25 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
