Question: Write SQL codes from w3schools 1- orderid, orderdate, productname, categoryname, price (all orders where product price is less then 15) (INNER JOIN) 2- The top

Write SQL codes from w3schools

1- orderid, orderdate, productname, categoryname, price (all orders where product price is less then 15) (INNER JOIN)

2- The top 10 products that have not been ordered yet, Productname,orderid (null) - (left join)

3- The top 10 most ordered Products (join / group by ) - sum of qty

4- The top 10 most Revenue generating Products (join / group by) - Revenue=qty*price

5- The top 10 customers by revenue (join / group by)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!