Update SQL lab 1 instructions
This commit is contained in:
parent
348828018c
commit
11b6a7f5ad
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
*UPDATE: Scenario 5 should be `or`, not `and`.*
|
||||
|
||||
*UPDATE: Scenario 10 table name is `StateProvinces`.*
|
||||
|
||||
This lab has you practice simple queries against tables with filtering and ordering. Write the SQL queries that properly answer each scenario.
|
||||
|
||||
For each scenario include the following in your answer:
|
||||
|
@ -90,7 +92,7 @@ Rows: 676
|
|||
|
||||
## Scenario 10
|
||||
|
||||
Select the `CityName`, `StateProvinceName`, `CountryName` and `SalesTerritory` from the `Application.Cities`, `Application.StateOrProvinces` and `Application.Countries` tables.
|
||||
Select the `CityName`, `StateProvinceName`, `CountryName` and `SalesTerritory` from the `Application.Cities`, `Application.StateProvinces` and `Application.Countries` tables.
|
||||
Include only the rows that are for the `SalesTerritory` with values of `Southeast` or `Southwest`.
|
||||
Order the rows by `StateProvinceName` and then by `CityName`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue