Query a list of CITY and STATE from the STATION table.
The STATION table is described as follows:
SOLUTION:
SELECT CITY,STATE FROM STATION;
EXPLANATION:
SELECT CITY, STATE
:
This tells the database to return values from two specific columns —CITY
andSTATE
.-
FROM STATION
:
This specifies the table you’re pulling data from, which isSTATION
.