Invitation
How does SQL know what information to display?
A database table contains several fields, but a query does not always need to display all of them.
SELECT chooses the field or fields to return. FROM chooses the table where those fields are stored.
SELECT chooses the fields. FROM chooses the table.
Figure 1
Two keywords working together
SELECT Name
โ
Choose the Name field
โ
FROM Students
Use the Students table.