Question: Assignment must be composed of SQL Queries 1. List one city, if exists, that is the city from where the employee sold most orders is,

Assignment must be composed of SQL Queries
1. List one city, if exists, that is the city from where the employee sold most orders is, and also the city of most total quantity of products ordered from. (Hint: use join sub-query)
Products Column Name Condensed Typ Nula... ProductiD Column Name Condensed Type Nulable OrdertD Employees Column Nme Condensed .. Nul... Column Name Condensed Type EmployD int Nulable OustomerID nvarchan4) Column Nae Condensed Typ Nulable SupplertD ReportsTo Column Name Condens.. Nulable CustomerType nchar(10) No Column Name Condenced Typ Nulable nvarchar(15) EmployeeTerritories Column Name Condensed... N... Column Name Condens... Nul.. TerritoryD nvanchar20) No CustomerTypeID nchari No Yes Column Name Condensed Type Nullable Column Nme Condensed.. N... nvarcha(20) No TerritoryDecript... nchar No TeritoryID Column Name Condensed... Nul... ShipperID Column Ne Condens... Null... RegionID RegionDesoiption nchar0) No
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
