Question: Using the AdventureWorks2017 database, create a query that will list the LastName, TerritoryName, CountryRegionName from Sales.vSalesPerson. Do not include rows where the TerritoryName is NULL.
Using the AdventureWorks2017 database, create a query that will list the LastName, TerritoryName, CountryRegionName from Sales.vSalesPerson. Do not include rows where the TerritoryName is NULL. Sort the results by the TerritoryName when the CountryRegionName is the United States and by the CountryRegionName when it is not.
This is for MySQL and just need the query since you may not have access to the database.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
