COURSE OUTLINE: BASIC QUERIES
Course Description
This course introduces learners to the fundamentals of database queries
and how to retrieve, filter, sort, and manage information stored in
databases. Learners will understand basic SQL commands and how to use
them to interact with databases.
The course is suitable for beginners, aspiring data analysts,
database administrators, software developers, and anyone interested
in learning how databases work.
Course Objectives
By the end of this course, learners should be able to:
- Understand what database queries are.
- Explain the purpose of SQL.
- Write basic SQL queries.
- Retrieve information from database tables.
- Filter records using conditions.
- Sort and limit query results.
- Use basic aggregate functions.
- Combine information from multiple tables.
Course Modules
Module 1: Introduction to Database Queries
- What Is a Database Query?
- Understanding Databases and Tables
- What Is SQL?
- Why Database Queries Are Important
- Types of Database Queries
- Introduction to Relational Databases
Module 2: Understanding SQL Fundamentals
- Introduction to SQL Syntax
- Understanding SQL Statements
- SQL Keywords and Commands
- Database Names and Table Names
- Understanding Rows and Columns
- Writing Your First SQL Query
Module 3: Retrieving Data with SELECT
- Introduction to the SELECT Statement
- Retrieving All Records Using SELECT *
- Selecting Specific Columns
- Understanding the FROM Clause
- Using Column Aliases
- Practical SELECT Query Exercises
Module 4: Filtering Data with WHERE
- Introduction to the WHERE Clause
- Using Comparison Operators
- Using AND and OR Operators
- Using the NOT Operator
- Filtering Text and Numeric Data
- Using BETWEEN, IN and LIKE
Module 5: Sorting and Limiting Query Results
- Introduction to the ORDER BY Clause
- Sorting Records in Ascending Order
- Sorting Records in Descending Order
- Sorting by Multiple Columns
- Introduction to the LIMIT Clause
- Retrieving Specific Numbers of Records
Module 6: Basic SQL Functions
- Introduction to SQL Functions
- COUNT() Function
- SUM() Function
- AVG() Function
- MIN() and MAX() Functions
- Introduction to GROUP BY and HAVING
Module 7: Combining and Managing Query Results
- Introduction to DISTINCT
- Removing Duplicate Records
- Understanding SQL Joins
- Introduction to INNER JOIN
- Introduction to LEFT JOIN
- Understanding NULL Values
Module 8: Practical SQL Query Projects
- Creating a Sample Database Scenario
- Writing Queries to Retrieve Customer Information
- Filtering Employee Records
- Analysing Sales Transactions
- Generating Simple Database Reports
- Final Practical Assessment
Learning Outcomes
Upon completing this course, learners will be able to write basic
SQL queries, retrieve useful information from databases, filter
and organise records, perform simple calculations, and generate
basic database reports.
Recommended Learning Requirements
- Basic computer literacy.
- Access to a computer.
- Internet connection for online SQL practice.
- A beginner-friendly SQL environment such as MySQL, SQLite,
or an online SQL editor.
Course Information
- Course Level: Beginner
- Learning Method: Online Lessons and Practical Exercises
- Platform: CRMNuggets LMS
CRMNuggets โ Learn. Practice. Get Certified.