Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Write a SQL statement that selects these columns from the Orders table: order_id The order_id column ship_amount The ship amount column tax_amount The tax_amount

image text in transcribed

2. Write a SQL statement that selects these columns from the Orders table: order_id The order_id column ship_amount The ship amount column tax_amount The tax_amount column Round the ship_amount and tax_amount columns rounded to 0 decimal places. Return only the rows with a ship_amount that is greater than 5 and tax_amount is less than 80. order ship_amount tax amoun 7 15 0 3. Write a SQL statement that selects these columns from the Products table: product_name The product_name column list_price The list price column discount_percent The discount_percent column discount_amount A column that's calculated from the previous two columns discount_price A column that's calculated from the previous three columns Only return products with list price greater than 200 and less than 800 Sort it by product_name in descending sequence

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

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions

Question

Are all sources properly documented and consistently formatted?

Answered: 1 week ago

Question

Explain the key areas in which service employees need training.

Answered: 1 week ago

Question

Understand the role of internal marketing and communications.

Answered: 1 week ago