bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL FROM Keyword

Concept visual

SQL FROM Keyword

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

FROM Keyword

Previous

❮ SQL Keywords

Next

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 Keywords

Next

Previous

SQL FOREIGN KEY Keyword

Next

SQL FULL OUTER JOIN Keyword