First queries · Your first SELECT

Meet the shelter

A database stores data in tables: rows of things, columns of facts about them. The Paws & Whiskers shelter keeps every animal in a table called pets.

To read from a table you write a query that starts with SELECT. The * means “every column”.

Go deeper: The SQL SELECT statement

Try it
SELECT * FROM pets;