Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
See the whole table
Select some columns
Filtering rows
Text patterns
14. Use text
To be or NULL to be
A little bit of mathematics
Let's practice


Until now, we only worked with numbers in our WHERE clauses. Is it possible to put letters in their place? Of course it is! Just remember to put your text in single quotes like this: 'example'.

If you wanted to know the age of all Smiths in your table, you could use the following code:

FROM user 
WHERE name = 'Smith';

Note that the case of the letters matters, i.e. 'Smith' is different than 'SMITH'.


Select all columns of all Ford cars from the table.

Stuck? Here's a hint!


  * FROM car 
WHERE brand = 'Ford';