Contact Us 978.250.4983

SQL Programming

Duration: 21 hours

Prerequisites: None.


Students Will Learn:

  • Introduction to Relational Databases and SQL
  • Designing Relational Databases
  • Creating Databases and Tables
  • Working with Records
  • JOIN Statements
  • Advanced SELECT Statements
  • Understanding Subqueries
  • SQL Procedural Programming
  • Views and Triggers
  • Database Security and Transactions

Course Description:

This SQL programming course teaches students relational database fundamentals and SQL programming skills. Topics covered include relational database architecture, database design techniques, and simple and complex query skills. This class is intended for analysts, developers, designers, administrators, and managers who need to harness the power of the SQL programming language. Upon completion, participants will understand SQL functions, join techniques, database objects and constraints, and will be able to write advanced SELECT, INSERT, UPDATE and DELETE statements. Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency.


Course Overview:

Relational Database Fundamentals
  • Overview of Relational Database Concepts
  • Relational Databases and Relational Database Management Systems
  • Data Normalization
  • DDL Syntax
Writing Basic SQL Queries
  • Displaying Table Structures
  • Retrieving Column Data From a Table or View
  • Selecting Unique Values
  • Filtering Rows Using the WHERE Clause
  • Sorting Results Using ORDER BY
  • Joining Multiple Tables
  • Using Column and Table Aliases
Creating a Database
  • Database Development Methodology Overview
  • Building a Logical Data Model
    • Identifying Entities and Attributes
    • Isolating Keys
    • Relationships Between Entities
    • Creating Entity-Relationship Diagrams
  • Transforming to Physical Design
    • Migrating Entities to Tables
    • Selecting Primary Keys
    • Defining Columns
    • Enforcing Relationships with Foreign Keys
  • Constructing the Database Using DDL
    • Creating Tables, Indexes, Constraints and Views
    • Dropping Tables, Indexes, Constraints and Views
    • Modifying Tables, Indexes, Constraints and Views
Manipulating Query Results
  • Using Row Functions
    • Character
    • Numeric
    • Date and Time
    • Data Conversion (CAST and CONVERT)
  • Using the CASE Function
  • Handling Null Values
Advanced Query Techniques
  • Inner Joins
  • Outer Joins (Left, Right, Full)
  • Performing Self-Joins
  • Subqueries
    • Simple
    • Correlated
  • Using the EXISTS Operator
  • Tips for Developing Complex SQL Queries
  • Using Aggregate Functions
    • AVG
    • COUNT
    • SUM
    • MIN
    • MAX
  • Performing Set Operations
    • UNION
    • INTERSECT
    • EXCEPT/MINUS
  • Aggregating Results Using GROUP BY
  • Restricting Groups with the HAVING Clause
  • Creating Temporary Tables
Manipulating Table Data Using SQL's Data Manipulation Language (DML)
  • Inserting Data into Tables
  • Updating Existing Data
  • Deleting Records
  • Truncating Tables
  • Implementing Data Integrity with Transactions
    • Beginning Explicit Transactions
    • Committing Transactions
    • Rolling Back Transactions
User-Defined Functions
  • Definition and Benefits of Use
  • CREATE FUNCTION
    • Syntax
    • RETURN Clause and the RETURNS Statement
    • Scalar vs. Table Functions
  • Comparison with Stored Procedures
  • Returning Scalar Values and Tables
  • ALTER and DROP FUNCTION
Stored Procedures
  • Definition and Benefits of Use
  • CREATE PROCEDURE
    • Syntax
    • Variables and Parameters
  • Control of Program Flow
  • ALTER and DROP PROCEDURE
  • Implementation Differences
Triggers
  • Definition and Benefits of Use
  • Alternatives (e.g., Constraints)
  • CREATE TRIGGER
    • Syntax
    • Trigger Types
  • "Inserted" (or "NEW") and "Deleted" (or "OLD") Tables
  • Event Handling and Trigger Execution
  • ALTER and DROP TRIGGER
Working with Table Expressions
  • Overview of Table Expressions
  • Working with Views
  • Using Derived Tables
  • Common Table Expressions
  • Table-Valued Functions

Related Bootcamps:

Track Duration Price
SQL Programmer 1-course track $1,495
Microsoft .NET Developer: C# 5-course track
6-course track
7-course track
8-course track
9-course track
10-course track
$6,000
$7,200
$8,400
$9,600
$10,800
$12,000
Microsoft .NET Developer: VB.NET 5-course track
6-course track
7-course track
8-course track
9-course track
$6,000
$7,200
$8,400
$9,600
$10,800
Java Programmer 2-course track
3-course track
4-course track
5-course track
$2,400
$3,600
$4,800
$6,000
Advanced Java Developer 4-course track
5-course track
6-course track
7-course track
8-course track
$4,800
$6,000
$7,200
$8,400
$9,600
C/C++ Programmer 2-course track
3-course track
4-course track
$2,400
$3,600
$4,800
Copyright© Developer Bootcamp