Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

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

MySQL Crash Course A Hands On Introduction To Database Development

Authors: Rick Silva

1st Edition

1718503008, 978-1718503007

More Books

Students also viewed these Databases questions

Question

2. What are your challenges in the creative process?

Answered: 1 week ago