Flash cards
Review the key moves
What is the main idea behind SQL FROM Keyword?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
Which statement best captures the main point of this lesson?
Complete the missing token from the example code.
___ CustomerName, City FROM Customers;Put the learning moves in the order that makes the concept easiest to apply.
From
The FROM command is used to specify which table to select or delete data from.
The following SQL statement selects the "CustomerName" and "City" columns from the "Customers" table:
Example
SELECT CustomerName, City FROM Customers;The following SQL statement selects all the columns from the "Customers" table:
Example
SELECT * FROM Customers;The following SQL statement deletes the customer "Alfreds Futterkiste" from the "Customers" table:
Example
DELETE FROM Customers
WHERE CustomerName='Alfreds Futterkiste';