Course Code: sqladvals
Duration: 21 hours
Prerequisites:

There are no specific requirements needed to attend this course.

Overview:

The aim of this course is to provide a clear understanding of the use of SQL for different
databases (Oracle, SQL Server, MS Access...). Understanding of analytic functions and the
way how to join different tables in a database will help delegates to move data analysis
operations to the database side, instead of doing this in MS Excel application. This can also
help in creating any IT system, which uses any relational database.

Course Outline:

Selecting data from database

  • Syntax rules
  • Selecting all columns
  • Projection
  • Arithmetical operations in SQL
  • Columns aliases
  • Literals
  • Concatenation

Filtering outcome tables

  • WHERE clause
  • Comparison operators
  • Condition LIKE
  • Condition BETWEEN...AND
  • Condition IS NULL
  • Condition IN
  • AND, OR, NOT operators
  • Several conditions in WHERE clause
  • Operators order
  • DISTINCT clause

Sorting outcome tables

  • ORDER BY clause
  • Sort by multiple columns or expressions

SQL Functions

  • Differences between single-row and multi-row functions
  • Character, numeric, DateTime functions
  • Explicit and implicit conversion
  • Conversion functions
  • Nested functions
  • Dual table (Oracle vs other databases)
  • Getting current date and time with different functions

Aggregate data using aggregate functions

  • Aggregate functions
  • Aggregate functions vs NULL value
  • GROUP BY clause
  • Grouping using different columns
  • Filtering aggregated data - HAVING clause
  • Multidimensional Data Grouping - ROLLUP and CUBE operators
  • Identifying summaries - GROUPING
  • GROUPING SETS operator

Retrieving data from multiple tables

  • Different types of joints
  • NATURAL JOIN
  • Table aliases
  • Oracle syntax - join conditions in WHERE clause
  • SQL99 syntax - INNER JOIN
  • SQL99 syntax - LEFT, RIGHT, FULL OUTER JOINS
  • Cartesian product - Oracle and SQL99 syntax

subqueries

  • When and where subquery can be done
  • Single-row and multi-row subqueries
  • Single-row subquery operators
  • Aggregate functions in subqueries
  • Multi-row subquery operators - IN, ALL, ANY

Set operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • COMMIT, ROLLBACK SAVEPOINT statements

Other schema objects

  • Sequences
  • Synonyms
  • Views

Hierarchical queries and samples

  • Tree construction (CONNECT BY PRIOR and START WITH clauses)
  • SYS_CONNECT_BY_PATH function

Conditional expressions

  • CASE expression
  • DECODE expression

Data management in different time zones

  • Time zones
  • TIMESTAMP data types
  • Differences between DATE and TIMESTAMP
  • Conversion operations

Analytic functions

  • Use of
  • Partitions
  • Windows
  • Rank functions
  • Reporting functions
  • LAG/LEAD functions
  • FIRST/LAST functions
  • Reverse percentile functions
  • hypothetical rank functions
  • WIDTH_BUCKET functions
  • Statistical functions
Sites Published:

United Arab Emirates - SQL Advanced level for Analysts

Qatar - SQL Advanced level for Analysts

Egypt - SQL Advanced level for Analysts

Saudi Arabia - SQL Advanced level for Analysts

South Africa - SQL Advanced level for Analysts

Brasil - SQL Advanced level for Analysts

Canada - SQL Advanced level for Analysts

中国 - SQL Advanced level for Analysts

香港 - SQL Advanced level for Analysts

澳門 - SQL Advanced level for Analysts

台灣 - SQL Advanced level for Analysts

USA - SQL Advanced level for Analysts

Österreich - SQL Advanced level for Analysts

Schweiz - SQL Advanced level for Analysts

Deutschland - SQL Advanced level for Analysts

Czech Republic - SQL Advanced level for Analysts

Denmark - SQL Advanced level for Analysts

Estonia - SQL Advanced level for Analysts

Finland - SQL Advanced level for Analysts

Greece - SQL Advanced level for Analysts

Magyarország - SQL Advanced level for Analysts

Ireland - SQL Advanced level for Analysts

Luxembourg - SQL Advanced level for Analysts

Latvia - SQL Advanced level for Analysts

España - Nivel Avanzado de SQL para Analistas

Italia - SQL Advanced level for Analysts

Lithuania - SQL Advanced level for Analysts

Nederland - SQL Advanced level for Analysts

Norway - SQL Advanced level for Analysts

Portugal - SQL Advanced level for Analysts

România - SQL Advanced level for Analysts

Sverige - SQL Advanced level for Analysts

Türkiye - SQL Advanced level for Analysts

Malta - SQL Advanced level for Analysts

Belgique - SQL Advanced level for Analysts

France - SQL Advanced level for Analysts

日本 - SQL Advanced level for Analysts

Australia - SQL Advanced level for Analysts

Malaysia - SQL Advanced level for Analysts

New Zealand - SQL Advanced level for Analysts

Philippines - SQL Advanced level for Analysts

Singapore - SQL Advanced level for Analysts

Thailand - SQL Advanced level for Analysts

Vietnam - SQL Advanced level for Analysts

India - SQL Advanced level for Analysts

Argentina - Nivel Avanzado de SQL para Analistas

Chile - Nivel Avanzado de SQL para Analistas

Costa Rica - Nivel Avanzado de SQL para Analistas

Ecuador - Nivel Avanzado de SQL para Analistas

Guatemala - Nivel Avanzado de SQL para Analistas

Colombia - Nivel Avanzado de SQL para Analistas

México - Nivel Avanzado de SQL para Analistas

Panama - Nivel Avanzado de SQL para Analistas

Peru - Nivel Avanzado de SQL para Analistas

Uruguay - Nivel Avanzado de SQL para Analistas

Venezuela - Nivel Avanzado de SQL para Analistas

Polska - SQL Advanced level for Analysts

United Kingdom - SQL Advanced level for Analysts

South Korea - SQL Advanced level for Analysts

Pakistan - SQL Advanced level for Analysts

Sri Lanka - SQL Advanced level for Analysts

Bulgaria - SQL Advanced level for Analysts

Bolivia - Nivel Avanzado de SQL para Analistas

Indonesia - SQL Advanced level for Analysts

Kazakhstan - SQL Advanced level for Analysts

Moldova - SQL Advanced level for Analysts

Morocco - SQL Advanced level for Analysts

Tunisia - SQL Advanced level for Analysts

Kuwait - SQL Advanced level for Analysts

Oman - SQL Advanced level for Analysts

Slovakia - SQL Advanced level for Analysts

Kenya - SQL Advanced level for Analysts

Nigeria - SQL Advanced level for Analysts

Botswana - SQL Advanced level for Analysts

Slovenia - SQL Advanced level for Analysts

Croatia - SQL Advanced level for Analysts

Serbia - SQL Advanced level for Analysts

Bhutan - SQL Advanced level for Analysts

Nepal - SQL Advanced level for Analysts

Uzbekistan - SQL Advanced level for Analysts