Request Info

Salutation

First Name

Last Name

Job Title

Department

Mailstop

Company

Address

P.O. Box

City

Province

Postal Code

Country
List

Work Telephone

Ext.

E-mail Address

Information provided will be used to communicate with you about our products.
Privacy Statement

A representative will contact you to follow up your request.

 
Special offer: Free Courses with Training Vouchers.

 

SQL Programming Language:
A Comprehensive Hands-On Introduction


Course 9253 Days

 E-mail E-mail  Print Print  Q&A Q&A  PDF PDF  Facebook Facebook  Twitter Twitter

Quick Enrol

You Will Learn How To

  • Write SQL code based on ANSI/ISO standards to build and maintain database structures
  • Update database content with SQL and transaction handling
  • Retrieve data from single or multiple tables
  • Process data with row and aggregate functions
  • Manipulate data with correlated and noncorrelated subqueries
  • Apply views to break down problems and enhance security

Course Benefits

SQL forms the cornerstone of all relational database operations. The ability to write the SQL language is essential for those who develop database applications. This course provides a solid foundation of the SQL programming language that enables you to build, query and manipulate databases. Working in Oracle or SQL Server databases throughout this course, you compare the ANSI/ISO standard with the SQL implementations of these two common database products.

Who Should Attend

This course is valuable for anyone who needs to learn SQL programming. An understanding of relational database and basic programming concepts is helpful.

Hands-On Training

In this course, you gain hands-on experience programming with SQL in Oracle databases and Microsoft SQL Server environments. Exercises include:
  • Creating and modifying tables, constraints and indexes
  • Modifying table contents
  • Retrieving data from tables
  • Joining multiple tables
  • Applying row and aggregate functions
  • Embedding subqueries within statements

Course 925 Content

SQL Overview

  • Outlining the importance of SQL as the cornerstone of all database activity
  • Applying the ANSI/ISO standards
  • Describing the fundamental building blocks: tables, columns, primary keys and foreign keys
  • Defining terminology

Building the Database Schema

Creating tables and columns

  • Comparing data types across platforms
  • Building tables with CREATE TABLE
  • Modifying table structure with ALTER TABLE
  • Adding columns to an existing table
  • Increasing column size
  • Removing tables with DROP TABLE

Protecting data integrity with constraints

  • Defining constraint types
  • Guaranteeing uniqueness with primary key constraints
  • Enforcing referential integrity with foreign key constraints
  • Imposing business rules with check constraints
  • Enabling and disabling constraints
  • Removing constraints with ALTER TABLE

Improving performance with indexes

  • Expediting data retrieval with indexes
  • Recommending guidelines for index creation

Manipulating Data

Modifying table contents

  • Adding table rows with INSERT
  • Changing row content with UPDATE
  • Removing rows with DELETE

Applying transactions

  • Atomic Consistent Isolated Durable (ACID) rules
  • Controlling transactions with COMMIT and ROLLBACK

Writing Single Table Queries

  • Retrieving data with SELECT
  • Including columns and expressions in query results
  • Restricting rows with the WHERE filter
  • Sorting the result with ORDER BY
  • Handling NULL values in expressions
  • Avoiding NULL value pitfalls in filter conditions

Querying Multiple Tables

Applying the ANSI/ISO standard join syntax

  • Matching related rows with INNER JOIN
  • Including nonmatched rows with OUTER JOIN
  • Creating a Cartesian product with CROSS JOIN
  • Joining a table to itself

Combining results with set operators

  • Stacking results with UNION
  • Identifying matching rows with INTERSECT
  • Utilizing EXCEPT to find nonmatching rows

Employing Functions in Data Retrieval

Processing data with row functions

  • Solving mathematical problems with functions
  • Manipulating text strings
  • Converting date/time presentation
  • Conditional formatting with the CASE expression
  • Utilizing the CASE expression to simulate IF tests
  • Dealing with NULL values

Performing analysis with aggregate functions

  • Summarizing data using SUM, AVG and COUNT
  • Finding the highest and lowest values with MAX and MIN
  • Defining the summary level with GROUP BY
  • Applying filter conditions with HAVING

Constructing Nested Queries

Applying subqueries in filter conditions

  • Correlated vs. noncorrelated subqueries
  • Embedding subqueries in several levels
  • Testing the existence of rows
  • Single row vs. multirow subqueries

Including subqueries in expressions

  • Placing subqueries in the column list
  • Creating complex expressions containing subqueries
  • Handling subqueries that return no rows

Developing In-Line and Stored Views

Breaking down complex problems

  • Selecting data from a query result set
  • Subqueries in the FROM clause

Creating views in a database

  • Building reusable code
  • Refining user access privileges

<< Back to Java Course List
 

Related Courses

 
SQL Programming Language: A Comprehensive Hands-On Introduction

Training Dates

Live online classroom training. Participate in person or in live, online events (highlighted) via Learning Tree AnyWareTM.
Mar 21 - 23Ottawa enrol
Apr 3 - 5Toronto enrol
Jun 20 - 22Ottawa enrol
Jul 4 - 6Toronto enrol
Sep 19 - 21Ottawa enrol
Oct 3 - 5Toronto enrol
Dec 12 - 14Ottawa enrol

US Dates

Feb 8 - 10Rockville, MD enrol
Feb 22 - 24New York enrol
Mar 14 - 16Chicago (Schaumburg) enrol
Mar 21 - 23Alexandria, VA enrol
Mar 28 - 30Philadelphia enrol
Apr 11 - 13Atlanta enrol
Apr 18 - 20Rockville, MD enrol

For AnyWare enrolments, please register at least 10 days prior to the start of the course.

More Dates and Locations.

Tuition

$ 2,695Standard Tuition
Tuition with a Savings Plan
$ 2,2952-Course Passport
$ 1,8353-Course Passport
$ 1,7604-Course Passport
$ 2,950Voucher 5-Pack
$ 2,370Government Discount

On-Site &
Custom Training

Bring this or any Learning Tree course to your location or have it customized for your organization.

SQL Programming Language: A Comprehensive Hands-On Introduction

Course participants writing an ANSI/ISO SELECT statement.


Average Attendee Evaluation

Evaluations in the last 12 months

5 stars:
80%
4 stars:
18%
3 stars:
2%
2 stars:
0%
1 star:
0%

 
"This was my first experience with Learning Tree and I was very impressed. The course was well laid out and the instructor was very good at presenting relevant examples from her own experience. Even though some of the material was more advanced than expected, she was able to tailor the course to meet everyone's needs."

– T. Bolton
Direct Energy

 
What's in It for You: Exploring the Benefits of the SQL Server 2008 Database Engine
 
An Introduction to Oracle 11g