Introduction to SQL 2 day remote one on one training course - £450 plus VAT

Please note:

Due to the current coronovirus situation this course is currently only available as a live remote one on one course.

Once things are back to normal we will be running public dates in London, Manchester, Sheffield, Leeds, Nottingham and Birmingham, as well as in-person one on one courses and private (closed) courses.

Click here to register your interest in this course and we will keep you informed when any new dates are added.

Synopsis

This introductory SQL training course will introduce you to relational databases (RDBMSs), and SQL (Structured Query Language) - the language used to create, modify, manage and query them. Using real world examples you will use SQL to create tables, set permissions, insert, update and delete data. You'll also retrieve your data using standard SQL. You will also learn about the most common features of the proprietary extensions to the standard SQL language supported by the two most common databases - Microsoft SQL Server and Oracle.

Duration

2 days

Cost

£450 plus VAT (£540 inc VAT) for our remote live one on one course, accessed over the internet - click here for details

Dates

We can arrange dates to suit you - please contact us for further details or to book this course.

Prerequisites

There are no prerequsites for this course

Detailed course contents

Introduction

  • Databases and SQL
  • Types of databases that use SQL
  • Common applications of databases and SQL
  • Popular Databases
  • What is SQL?
  • Subsets of SQL

Tables

  • What is a table?
  • Creating a table using SQL
  • Column definitions
  • Common SQL data types
  • Putting it all together - first SQL statement!
  • Note on SQL syntax
  • Table and column name rules in SQL
  • More SQL DDL

Adding records to a table

  • The SQL INSERT Statement
  • Inserting into DATE columns
  • Inserting the current date

Primary keys and foreign keys

  • Primary keys in SQL
  • Choosing a primary key
  • Declaring a primary key
  • Surrogate primary keys
  • Support for surrogate primary keys – SQL Server
  • More on SQL Server Identity columns
  • Support for surrogate primary keys - Oracle
  • More on Oracle sequences
  • Foreign Keys in SQL
  • Declaring a foreign key
  • Handling deletions

Other types of constraint

  • Adding constraints to a column
  • Making table columns mandatory
  • The NOT NULL constraint
  • CHECK constraints
  • Declaring a check constraint at column level
  • Declaring a check constraint at table level
  • Creating constraints independently
  • Removing constraints

Selecting data from a table

  • The SQL SELECT statement
  • The WHERE clause
  • Conditional selections in SQL
  • More conditional selections
  • The LIKE condition
  • The IN condition
  • The BETWEEN condition
  • Case sensitivity in SQL
  • Combining conditions with AND and OR
  • Precedence of AND and OR
  • Negating a predicate with NOT
  • SELECT..INTO
  • Creating a table from an SQL query result
  • Sorting results with ORDER BY
  • More on the ORDER BY clause
  • Shortcuts with the ORDER BY clause

Selecting from multiple tables

  • Table Joins
  • Inner Joins
  • Outer Joins
  • Non standard table join SQL syntax
  • Non-equijoins
  • Table aliases
  • Column aliases in SQL
  • Linking multiple tables
  • Self joins

Doing more in the SELECT statement

  • The DISTINCT keyword
  • Mathematical operators in SQL
  • Mathematical operators can work on more than one column
  • Mathematical functions in SQL
  • Handling NULL values in SQL
  • Character functions in SQL
  • Tip: Overriding case sensitivity in Oracle
  • Concatenating character values in SQL
  • Character functions can be combined
  • Date functions in SQL
  • SQL Server date functions
  • Oracle date functions
  • Tip: Use TRUNC when comparing dates in Oracle
  • Converting datatypes: Oracle
  • Converting datatypes: SQL Server
  • Tip: Use CONVERT when comparing dates in SQL Server
  • Using functions in the WHERE and ORDER BY clauses

Aggregate Functions

  • The GROUP BY clause
  • The HAVING clause
  • Combining clauses

Subqueries,correlated subqueries, unions and inline views

  • Single row subqueries in SQL
  • Multi row subqueries in SQL
  • Correlated subqueries in SQL
  • UNIONs
  • UNION ALL
  • MINUS and EXCEPT
  • Inline views (derived tables) in SQL

Updating and deleting

  • The SQL UPDATE statement
  • The SQL DELETE statement
  • The SQL TRUNCATE statement

Views

  • Creating a view
  • Manipulating a view

Data access in SQL

  • Controlling access with SQL DCL
  • Users
  • Roles
  • The GRANT command in SQL
  • The REVOKE command in SQL
  • Accessing another user’s objects in SQL
  • Easier access with SYNONYM s

Transaction Control

  • Transactions in SQL
  • COMMIT ting changes
  • Rolling back changes



FAQs

  • What are the course times?
    • Most course days run from 9.30am to around 4pm, however as we are currently only offering one on one remote courses during the current crisis, we can be quite flexible if you would like to do different hours.

  • Do I need anything?
    • For our live remote one on one courses you only need a computer with the Chrome browser, and speakers or headphones to hear the instructor. When it comes time to do an exercises you can either connect to our computer to do them, or do them on your own computer. We will advise for your specific course what software you would need to do them on your own computer but don't worry, you can connect to ours if you prefer.

  • How can I pay?
    • Once you have booked you will receive a confirmation email, and shortly after that, an invoice. For online courses payment is required before the start of the course. Payment can be made by bank transfer (BACS etc), cheque or card.


Other courses