Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your Task Our salesperson made a mistake when placing the order with Id = 799. Items of the Product with Id = 35 was incorrectly

Your Task

Our salesperson made a mistake when placing the order with Id = 799. Items of the Product with Id = 35 was incorrectly added at the end of the order. Delete these incorrect Orderitems completely from the Order.

Note:This question requires you to write SQL syntax ONLY. Absolutely no python code should be used. Only the SQL itself.

For example:

Test

Result

SELECT * FROM OrderItem

WHERE OrderID = 799

Id OrderId ProductId UnitPrice Quantity

---------- ---------- ---------- ---------- ----------

2058 799 12 38.0 20

2059 799 32 32.0 15

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

Entrepreneurship

Authors: Andrew Zacharakis, William D Bygrave

5th Edition

1119563097, 9781119563099

More Books

Students also viewed these Programming questions