To register online click here, or call
800-413-0939
Our Registrars will be happy to assist you.

SQL Programming Course

Menu

SQL Programming

Duration: 3 days | Price: $1595

Class Dates:

Click here for information regarding remote access training.

Students Will Learn:

  • Design normalized table structures for relational databases
  • Create databases and tables
  • Using primary and foreign keys
  • Writing SQL queries
  • Using inner and outer joins
  • Using set operators (UNION, INTERSECT, EXCEPT)
  • Using DML for SELECT, INSERT, UPDATE, DELETE
  • Using subqueries
  • Using triggers and stored procedures
  • Using aggregate functions┬áto return totals and subtotals

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 new to the SQL programming language. Upon completion, participants will understand SQL functions, join techniques, database objects and constraints, and will be able to write useful SELECT, INSERT, UPDATE and DELETE statements. Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency.

Students who require coverage of Microsoft-specific features including T-SQL data types, stored procedure enhancements, intrinsic functions, XML data handling, indexed views, T-SQL cursors, table-valued functions and common table expressions, should attend the Microsoft Transact-SQL Programming course rather than this course.

Course Prerequisites: General computer knowledge. Familiarity with relational database concepts is helpful but not required.

Follow-up SQL 2012 Courses: Microsoft SQL Server 2012 Administration, SQL Server 2012 Reporting Services, SQL Server 2012 Business Intelligence Application Development (SSRS, SSIS, SSAS), SQL Server 2012 Business Intelligence: Integration Services and Analysis Services

Follow-up SQL 2014 Courses: Microsoft SQL Server 2014 Administration, SQL Server 2014 Reporting Services, SQL Server 2014 Business Intelligence Application Development (SSRS, SSIS, SSAS), SQL Server 2014 Business Intelligence: Integration Services and Analysis Services

SQL Programming Course Overview:

Relational Database Fundamentals
  • Overview of Relational Database Concepts
  • Relational Databases and Relational Database Management Systems
  • Data Normalization
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
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
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)
  • Joining a Table to Itself
  • Subqueries
  • Tips for Developing Complex SQL Queries
  • Using Aggregate Functions
    • AVG
    • COUNT
    • SUM
    • MIN
    • MAX
  • 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
    • Defining Save Points
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 Views
  • Benefits of Using Views
  • Creating Views
  • ALTER and DROP VIEW

Student Testimonials

"This was the best SQL class I have been to. The instructor did an excellent job. He presented the material in a way that ensured everyone in the class was following along. I thought the learning material was well designed. I would recommend this class to my peers."
– G.G., Kaplan University


"I want to first thank you for the training last week on SQL Programming. This was the most beneficial training I have ever received. I learned so much and have already been able to put a majority of it into use at my job. You did a great job explaining everything and answering all of my questions. I cannot thank you enough and express my gratitude on how valuable it was for me. I have already had experience in doing a self-join on a table, sub-queries, altering procedures, scalar and aggregate functions, and today I was able to use some of these to write a query that I put into a command in Crystal where I was able to create a report. Thanks!"
– C.W., HTRI


"As a beginner to programming and SQL, the instructor and course curriculum was well organized and extremely thorough. The instructor was engaging and helpful. I look forward to attending additional courses through HOTT and will highly recommend to peers."
– S.P., Buckeye Energy Services

Multiple Training Locations - Convenience and Cost Control

Regularly Scheduled Courses in more than 100 Cities Across North America and the United Kingdom