Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7. Print a greeting message like below. You must print the heading as is and print the date value as the date when the query

image text in transcribed
7. Print a greeting message like below. You must print the heading as is and print the date value as the date when the query is executed. It means that if you run the query on different dates, then the date value in the query result will change. So the date value in the output below is for reference purpose. Output: GREETING Hellol Today is Jan-19-2022 8. Given an ipad at $799.99, the tax rate 8%, print the price before tax, tax rate, tax amount, the price after tax like below. Your query must use the computer to calculate the tax amount and price after tax. Please do NOT hard code the tax amount and the price after tax in your query. NOTES: - DO NOT CREATE a NEW TABLE WHEN COMPLENNG THIS QUESTION. - DO NOT INSERT any new row into any existing table. - And you do NOT NEED a new table or new rows to complete this question. 9. Print the product id, the unit price before the discount and the discount amount of each product that was ordered. If a product was ordered more than once, print its infomation only once. Sort the result in the. decreasing order of the unit price before the discount. NOTE. The product returned must have been ordered. HINT: you need to remove the duplicates usine a keyword

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions