Cyber bonus: An extra 20% off your order
Sign in or create an Etsy account to claim. Save up to $10. Ends Dec 1.
Report this item to Etsy

SQL Practice Workbook, SQL Exercises with Answer Key, Learn SQL Joins, Left Joins and Subqueries, 75 Exercises, Data Analyst Study, Free App

Price:$4.06

Original Price: $8.12

Loading

50% off

•

Limited time sale

4.5 out of 5 stars

4.6 out of 5

13 ratings

5 stars
85%
4 stars
0%
3 stars
8%
2 stars
0%
1 star
8%

You can only make an offer when buying a single item

Highlights

FREE COMPANION APP INCLUDED: fill in Space Pets SQL: Joins on your phone, tablet or computer, then print your pages when you need them. Your private link and access code come in your download. It opens in your browser: no sign-up, no subscription, and your answers stay on your own device.

30-day money-back guarantee: if a file does not work for you, message us within 30 days for a fix or a full refund.

SQL practice workbook (Book 2): 75 SQL exercises on joins, left joins, missing rows and subqueries, with an answer key and SQLite files to practise on.

A printable SQL workbook for the step after the basics: joining tables. For adults who can already write SELECT, WHERE, ORDER BY and GROUP BY and get stuck the moment a question needs two tables.

Work on paper with a pen. Every question uses one small world printed on a two-page data card: 12 space pets, 5 snacks, 3 rockets and 22 deliveries in four tables, with gaps built in on purpose (a pet that never had a delivery, a snack never sent, deliveries with no rocket), because missing matches are where joins go wrong.

WHAT IS INSIDE
- 21 two-page lessons: a Learn page with the idea, the shape of the query, a worked example with the exact rows it returns, and a step-by-step table showing how many rows each part of the query leaves; then a Your turn page with 3 questions
- Part 2, match related rows: JOIN ... ON, table short names, same-named columns, filtering, why joined rows repeat
- Part 3, keep rows that have no match: LEFT JOIN, NULL, COALESCE, which table comes first, a test in ON or in WHERE
- Part 4, find what is missing: rows with no partner, one kind of match missing, counts that include zero
- Part 5, three tables and totals: two joins in one query, a name-matching example and why ids are safer in real databases, GROUP BY across a join
- Part 6, readable results: CASE, and counting only some rows with SUM(CASE ...)
- Part 7, queries inside queries: IN (SELECT ...), a query used as a table, WITH, and totals a join counts twice
- 75 exercises: Read it, Predict it, Write it, Fix it and Rewrite it, plus Review 1 and Review 2, each with a progress check, and a final mission
- A warm-up to check you are ready, a contents page, a "which join do I need?" cheat sheet with the real SQLite error messages
- Answer key: every answer query and the exact rows it returns

WHAT YOU GET
- Space_Pets_SQL_Book_2_Joins_A4.pdf - 71 pages, colour
- Space_Pets_SQL_Book_2_Joins_A4_BLACK_AND_WHITE.pdf - the same 71 pages for a black-and-white printer
- Space_Pets_SQL_Book_2_Joins_US_LETTER.pdf - 71 pages, colour
- Space_Pets_SQL_Book_2_Joins_US_LETTER_BLACK_AND_WHITE.pdf - 71 pages
- Space_Pets_SQL_Book_2_files.zip - space_pets.db (the four tables, ready to open), space_pets_setup.sql, all_answer_queries.sql and HOW_TO_RUN.txt

Every query in the book was run on these tables while the book was built, and every printed result is what it returned. The files were also checked with the sqlite3 command line.

Fixed printable PDFs: not fillable. Print at 100% ("Actual size"). Printed double-sided on the long edge and kept in order in a binder or stapled at the left, each lesson's Learn page faces its Your turn page.

WHAT YOU NEED
- A printer and a pen.
- Optional: SQLite to run your queries. The sqlite3 command line is free from sqlite.org; HOW_TO_RUN.txt gives the steps.

WHO IT IS FOR
Adults learning SQL for work or study who know the basics and want to get joins right: which rows a join keeps, where NULLs come from, and how to find what is missing.

The core JOIN, CASE, subquery and WITH ideas use widely supported SQL found in PostgreSQL, MySQL and SQL Server too. The included files, instructions and answer checks are for SQLite; details and error messages can differ between database systems.

WHAT THIS IS NOT
Not a first SQL book: it does not teach SELECT, WHERE or GROUP BY again (Space Pets SQL, book 1, does). No RIGHT or FULL JOIN exercises (a RIGHT JOIN gives the same matching result as a LEFT JOIN with the tables swapped, as lesson 8 explains), no window functions, no changing data.

Instant download. Nothing is posted.

HOW AI WAS USED
The space pet pictures were made with Google Gemini for book 1 and chosen by me. The lessons and questions were written with the help of AI models; every query and every printed result comes from running the query on the included database.

Instant Download

Your files will be available to download once payment is confirmed.  Here's how.

Instant download items don’t accept returns, exchanges or cancellations. Please contact the seller about any problems with your order.

Etsy Purchase Protection
Shop confidently on Etsy knowing if something goes wrong with an order, we've got your back for all eligible purchases — see program terms

Be the first to review this item

No reviews yet. See what customers say about other items from this shop.

You may also like

Shoppers with similar taste loved these

Show more
Show more
Listed on Sep 17, 2026