Course Overview
In this training you will learn everything you need to know and be able to query your database on the basis of standard SQL-3.
Who should attend
Developers, analysts, businesspeople and other interested persons who want to work with an SQL-capable database or create applications using the SQL possibilities of the database system. People who want to get well-founded information about SQL, its possibilities, limitations and meaning.
Prerequisites
General practical experience with computers, analytical thinking as well as abstraction and imagination. Basic knowledge of relational databases is advantageous
Course Objectives
After this training you will be able to query and modify all common relational databases with the standard tools.
Course Content
1. Basic terms of relational databases
- Database
- Table (entities, attributes)
- Data types (value ranges)
- Primary, foreign key
- Relations
- Data consistency, referential integrity
- View
- Index
2. Basics of SQL
- History
- Application (basic concept)
- SQL Properties
- SQL Syntaxdiagram
- Naming conventions for objects
3. Data retrieval, data evaluation and manipulation (DML)
- SELECT
- Simple queries
- Constant columns, calculated columns, aliases
- DISTINCT
- ORDER BY
- TOP
- WHERE
- Aggregate functions
- GROUP BY / HAVING
- JOIN (INNER, OUTER, FULL, Self, Cross)
- Subqueries
- UNION
- SELECT INTO
4. Add data
- INSERT (VALUES, SELECT)
- UPDATE
- DELETE
5. Data definition language (DDL)
- CREATE DATABASE
- CREATE TABLE
- Constraints (PRIMARY- , FOREIGN KEY, UNIQUE )
- DROP TABLE
- CREATE VIEW
- ALTER VIEW
- DROP VIEW
- CREATE PROCEDURE
6. Data control language (DCL)
- Transaction Management
- COMMIT & ROLLBACK
- GRANT & REVOKE