Course : SQL databases and language for non-IT people

SQL databases and language for non-IT people

Download in PDF format Share this course by email 2


This "discovery" course will enable you to understand so-called relational databases and how they operate. You'll work with the SQL language to query the data in a base. You'll also become familiar with more advanced queries to analyze information.


Inter
In-house
Custom

Practical course in person or remote class

Ref. SIF
Price : 1760 CHF E.T.
  3d - 21h00




This "discovery" course will enable you to understand so-called relational databases and how they operate. You'll work with the SQL language to query the data in a base. You'll also become familiar with more advanced queries to analyze information.

Teaching objectives
At the end of the training, the participant will be able to:
  • Understand the principle and contents of a relational database
  • Create queries to extract data based on different criteria
  • Produce queries with joins in order to get information from multiple tables
  • Use simple calculations and data aggregation
  • Combine results from multiple queries

Intended audience
People in charge of reporting or analysis, assistants, anyone who needs to carry out simple queries on a database with SQL language

Prerequisites
No particular knowledge.

Course schedule

Introduction to databases

  • What are a database and a database server?
  • Reading a relational model.
  • Creating a table. Notions of columns and types
  • Primary key and uniqueness.
  • Notion of referential integrity.
  • Tool for querying a database.
Exercise
Investigating the database by searching for tables, columns, and keys.

Extracting data from a table

  • What is an extraction query?
  • List the values to be returned.
  • The WHERE clause for filtering data.
  • The absence of a value (NULL marker).
  • Returning unduplicated rows (DISTINCT).
  • Restriction operators (BETWEEN, IN, LIKE, etc.).
Exercise
Querying multiple tables on different criteria.

Querying data from multiple tables

  • Concept of joins: Returning information from multiple tables.
  • Inner join and outer join.
  • The “natural” join... and its difficulties.
  • Assembly operators (UNION, INTERSECT...).
  • Introduction to views: principle and benefits
Exercise
Creating queries with joins and assembly operators.

Ranking and statistics

  • Finding aggregate values (MIN, MAX, AVG, SUM, etc.).
  • Calculating relative aggregates with GROUP BY.
  • Filtering aggregate values with HAVING.
  • Mixing aggregates and details with OVER.
  • Ranking results with RANK, ROW_NUMBER.
Exercise
Creating queries using simple and aggregate calculations. Subtotals and numbering.

Presenting and sorting data

  • Presenting data from columns with aliases
  • Converting from one type to another.
  • Making choices using the CASE operator.
  • Sorting data with ORDER BY.
  • Operations on character strings and dates.
Exercise
Using functions to improve the presentation of the query result.

Using subqueries

  • What is a subquery?
  • Different types of results.
  • Subqueries of lists and IN, ANY/SOME and ALL operators.
  • Correlated subqueries.
Exercise
Writing queries that include subqueries of different forms.


Practical details
Hands-on work
Alternating presentations of example queries, demonstrations and hands-on exercises.
Teaching methods;
Many sequential exercises for extracting data from an example database. Education common to all relational databases (Oracle, SQL Server, DB2, PostGreSQL, MySQL, Access, SQL Lite, etc.)

Customer reviews
4,5 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.


Dates and locations
From 22 to 24 May 2024 *
FR
Remote class
Guaranteed session
Registration
From 22 to 24 May 2024 *
FR
Remote class
Guaranteed session
Registration
From 10 to 12 June 2024 *
FR
Remote class
Guaranteed session
Registration
From 3 to 5 July 2024
FR
Remote class
Registration
From 15 to 17 July 2024
FR
Remote class
Registration
From 16 to 18 September 2024
FR
Remote class
Registration
From 7 to 9 October 2024 *
FR
Remote class
Guaranteed session
Registration
From 23 to 25 October 2024
FR
Remote class
Registration
From 20 to 22 November 2024 *
FR
Remote class
Guaranteed session
Registration
From 2 to 4 December 2024
FR
Remote class
Registration
From 16 to 18 December 2024 *
FR
Remote class
Guaranteed session
Registration