bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL FROM Keyword

Flash cards

Review the key moves

1/4
Core idea

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.

1Quick choice

Which statement best captures the main point of this lesson?

2Fill blank

Complete the missing token from the example code.

___ CustomerName, City FROM Customers;
3Order

Put the learning moves in the order that makes the concept easiest to apply.

The following SQL statement selects all the columns from the "Customers" table:
The following SQL statement selects the "CustomerName" and "City" columns from the "Customers" table:
The FROM command is used to specify which table to select or delete data from.

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';

Previous

SQL FOREIGN KEY Keyword

Next

SQL FULL OUTER JOIN Keyword