Skip to content

Querying Data with SQL

Learn the language underneath every Access query, and build parameter queries and calculated fields that answer many questions with one object.

2 lessons, about 47 minutes

What you'll learn

  • Read and write SELECT statements with WHERE and ORDER BY
  • Move between Access's Design view and SQL view for the same query
  • Build parameter queries that prompt the user for criteria
  • Create calculated fields, and explain why calculations do not belong in tables

Real-world scenario

A query built by a previous employee at Harborline returns the wrong customers, and its Design view grid spans four tables with criteria scattered across a dozen columns. Read as SQL it is eight lines, and the error, a filter applied to the wrong table, is visible in about twenty seconds.

Lessons

Take them in order. Each ends with a short challenge.

  1. 1

    Understanding SQL Statements

    25 min

    Learn the language underneath every query, and read a SELECT statement well enough to know what a query actually does.

  2. 2

    Parameter Queries and Calculated Fields

    22 min

    Build queries that prompt for input and that compute values on the fly, so one query answers many questions.

Black Lotus Academy | Learn a trade. Earn a living.