Real SQL Queries: 50 Challenges by Brian Cohen & Neil Pepi & Neerja Mishra

Real SQL Queries: 50 Challenges by Brian Cohen & Neil Pepi & Neerja Mishra

Author:Brian Cohen & Neil Pepi & Neerja Mishra
Language: eng
Format: mobi, azw3, epub
Published: 2015-08-02T21:00:00+00:00


Create a query about sales order reasons. When a sales order has only one reason, categorize as “Exclusive Reason.” When a sales order has more than one reason, categorize as “Contributing Reason.” Then, create a summary count of sales orders by reason name and your newly created ReasonInfluence column (Exclusive Reason or Contributing Reason).

Based on the directions stated above, your output will contain the following columns:

ReasonName

ReasonInfluence (Exclusive Reason or Contributing Reason)

SalesOrderCount



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.