SQL Programming Language Introduction

Course

Online

£ 1,295 + VAT

Description

  • Type

    Course

  • Methodology

    Online

This is an introductory level course which focuses on standard SQL. Whenever features outside of the standard are required, this course covers these features in two of the most commonly used database products, Oracle Database and Microsoft SQL Server. This comprehensive course provides a good foundation for the product specific Learning Tree courses covering Oracle and SQL Server. What is SQL? Structured Query Language, or SQL, is the language used by all relational database management systems to build, manipulate and access database contents. The name is somewhat misleading - while "queries" are the most extensive and complex part of the language, SQL is also used for updating and building databases. SQL is standardised through various versions of the ANSI/ISO SQL standard. However, none of the database products follow the standard 100%. They all have dialectic variations to the language. In order to work with a particular database, the programmer will need to be aware of product-specific features for that particular database system, in addition to the common functionality provided in the standard. Who will benefit from this course? This course is valuable for a wide range of professionals including: Developers, analysts, administrators, managers, programmers, consultants and others who design and write applications using relational databasesExperienced data processing professionals working with traditional database systems (hierarchical or network), who are now moving to relational databasesIT managers and project leaders who need a general overview of the features and functionality of SQL Which database system is used for the course exercises? The exercises in this course use two database management systems: Oracle Database 12c and Microsoft SQL Server 2014. The examples and exercises in the course will also work on earlier versions of the two products. Attendees have a choice between these two systems for the hands-on exercises. All examples and...

About this course

Experience working with a relational database and a familiarity with basic programming concepts are helpful but not required. Familiarity with fundamentals of database concepts is useful but not strictly required. Prior SQL knowledge is not required. If you have a background in one particular dialect of SQL, you may be interested in learning how that dialect differs from the standard and from other dialects.

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

Subjects

  • Programming
  • Systems
  • ISO
  • Database training
  • SQL
  • Database
  • Database Management
  • Server

Course programme

SQL Overview

  • Outlining SQL as the cornerstone of database activity
  • Applying the ANSI/ISO standards
  • Describing the fundamental building blocks: tables, columns, primary keys and foreign keys
Building the Database SchemaCreating tables and columns
  • Building tables with CREATE TABLE
  • Modifying table structure with ALTER TABLE
  • Adding columns to an existing table
  • Removing tables with DROP TABLE
Protecting data integrity with constraints
  • Guaranteeing uniqueness with primary key constraints
  • Enforcing integrity with foreign key constraints
  • Imposing business rules with check constraints
Improving performance with indexes
  • Expediting data retrieval with indexes
  • Recommending guidelines for index creation
Manipulating DataModifying table contents
  • Adding table rows with INSERT
  • Changing row content with UPDATE
  • Removing rows with DELETE
Applying transactions
  • Controlling transactions with COMMIT and ROLLBACK
  • Deploying BEGIN TRANSACTION in SQL Server
Working with the SELECT StatementWriting Single Table queries
  • Retrieving data with SELECT
  • Specifying column expressions
  • Sorting the result with ORDER BY
  • Handling NULL values in expressions
Restricting rows with the WHERE filter
  • Testing for equality or inequality
  • Applying wildcard characters
  • Avoiding NULL value pitfalls
Querying Multiple TablesApplying 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
Combining results with set operators
  • Stacking results with UNION
  • Identifying matching rows with INTERSECT
  • Utilising EXCEPT to find nonmatching rows
Employing Functions in Data RetrievalProcessing data with row functions
  • Conditional formatting with the CASE expression
  • Utilising the CASE expression to simulate IF tests
  • Dealing with NULL values
Performing analysis with aggregate functions
  • Summarising data using SUM, AVG and COUNT
  • Finding the highest/lowest values with MAX and MIN
  • Defining the summary level with GROUP BY
  • Applying filter conditions with HAVING
Constructing Nested QueriesApplying subqueries in filter conditions
  • Correlated vs. noncorrelated subqueries
  • Testing the existence of rows
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 ViewsBreaking down complex problems
  • Selecting data from a query result set
  • Subqueries in the FROM clause
Creating views in a database
  • Building reusable code
  • Updateable vs. non-updateable views

SQL Programming Language Introduction

£ 1,295 + VAT