Write a SELECT statement that returns these column names and data from the Order_Items table: item_id The item_id column

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write a SELECT statement that returns these column names and data from the Order_Items table: item_id The item_id column

Post by answerhappygod »

Write a SELECT statement that returns these column names anddata from the Order_Items table:
item_id The item_id column
item_price The item_price column
discount_amount The discount_amount column
quantity The quantity column
price_total A column that’s calculated by multiplying the itemprice by the quantity
discount_total A column that’s calculated by multiplying thediscount amount by the quantity
item_total A column that’s calculated by subtracting thediscount amount from the item price and then multiplying by thequantity
Only return rows where the item_total is greater than 500. Sortthe result set by the item_total column in descending sequence.Submit a screenshot.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply