Skip to Content
Head First SQL, 2nd Edition
book

Head First SQL, 2nd Edition

by Kimberly Fessel
June 2026
Beginner
700 pages
16h 50m
English
O'Reilly Media, Inc.
Content preview from Head First SQL, 2nd Edition

Chapter 3. The Select Statement: Finding Your Information

Image

Finders keepers? When it comes to databases, chances are you’ll need to retrieve your data more often than you’ll need to insert it. In this chapter, you’ll get an up-close look the powerful SELECT statement and learn how to gain access to that important information you’ve been putting in your tables. You’ll even meet the WHERE clause, which will help you selectively get the data you need and avoid displaying the rows you don’t need. So what do you say, let’s get going and find some SQL data.

Searching for a destination

Image

Abby needs to find places that can be reached by car, so she tries the SELECT statement from Chapter 2 to view her table.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Head First SQL

Head First SQL

Lynn Beighley
Learning SQL

Learning SQL

Ben Forta

Publisher Resources

ISBN: 9781098163648Errata Page