SQL Fundamentals of Querying

1 day

Overview

Students will learn what SQL is and how it can help them query a database to answer business questions.

Prerequisites

Windows Introduction or equivalent knowledge.

Benefits

Students will learn how to use SQL statements to query a database.

Target student

Students should be familiar with the components that make up the PC, including input, output, and storage devices. They should also be familiar with concepts related to database structure and terminology.

What’s next

SQL Fundamentals of Querying is the first course in this series. Students who want to learn more advanced features of the language can take SQL Advanced Querying.

Course Outline

Introduction to databases and SQL

  • Database concepts
  • Understanding SQL concepts

Introduction to the SELECT statement

  • An overview of the SELECT statement
  • Syntax rules you’ll want to know

Calculating data

  • Aggregate functions
  • Column aliases
  • Performing calculations
  • Date functions

Selecting specific rows

  • The WHERE clause
  • The ORDER BY clause

Working with other operators

  • Searching for text
  • Logical operators
  • NULLs

Grouping data

  • The GROUP BY clause
  • The HAVING clause
  • Comparing the WHERE and HAVING clauses

Multi-table queries

  • Joins
  • Joining tables
  • Outer joins

Querying a database using Access

  • Connecting to a database
  • Querying a database
  • Generating a report of the data