SlideShare a Scribd company logo
1 of 2
Download to read offline
CERTYOU, 37 rue des Mathurins, 75008 PARIS - SAS au capital de 10 000 Euros
Tél : 01 42 93 52 72 - Fax : 01 70 72 02 72 - contact@certyou.com - www.certyou.com
RCS de Paris n° 804 509 461- TVA intracommunautaire FR03 804509461 - APE 8559A
Déclaration d’activité enregistrée sous le N° 11 75 52524 75 auprès du préfet de région d’Ile-de-France
SQL - Compléments
Formation Informatique / SGBD et Aide à la décision / IBM SGBD Administration
This course teaches you how to make use of advanced SQL techniques to access DB2 databases in different environments.
This course is appropriate for customers working in all DB2 environments, that is OS/390, z/OS, VM/VSE, iSeries, Linux,
UNIX, and Windows.
OBJECTIFS
• Discuss basic relational database concepts
• Use some of the OLAP features of DB2, such as GROUPing and RANKing functions
• Create tables, views and indexes
• Use referential integrity, check constraints and triggers
• Use outer joins, and join tables to themselves
• Use CASE expressions, and the CAST function
• Identify the impact of Summary Tables, Materialized Query Tables, and temporary tables
• Use complex subqueries
• Use a greater number of scalar SQL functions
• Use advanced SQL constructs, such as recursive SQL and table expressions
• Define User-Defined Distinct Types and User-Defined Functions
• Avoid several of the most common causes for poorly-performing SQL
PUBLIC
Experienced SQL end users, application programmers, database administrators, and user support staff who need more
advanced knowledge of SQL.
PRE-REQUIS
You should have experience with:
coding and executing basic SQL statements.
These skills can be developed by attending SQL Workshop (CE12), or equivalent experience.
PROGRAMME
Introduction
Identify the purpose of the clauses in the SELECT statement
Describe the key differences among the IBM DB2 platforms
Describe and use some of the OLAP features of DB2, such as GROUPING functions like CUBE and ROLLUP, and the RANK,
DENSE_RANK and ROW_NUMBER functions
Create Objects
Code statements to: Create tables and views, Alter tables, Create indexes, Implement referential integrity (RI), and Define
triggers and check constraints
Identify impacts and advantages of referential integrity, including impacts of delete rules
Identify considerations when using triggers and check constraints
Join
Retrieve data from more than one table via inner and outer joins
Use outer joins
CASE, CAST, Summary Tables, and Materialized Query Tables
Identify when CASE expressions can be used
Code CASE expressions in SELECT list and in the WHERE clause
Identify when CAST specifications can be used
Identify the advantages of using Summary (Materialized Query) Tables and Temporary tables
Using Subqueries
Code subqueries using the ALL, ANY/SOME, and EXISTS keywords
Code correlated subqueries
Choose the proper type of subquery to use in each case
Scalar Functions
Extend your knowledge of scalar functions which: Manipulate arithmetic data, Manipulate date values, and Manipulate
character data
Table Expressions and Recursive SQL
Identify reasons for using table expressions and recursive SQL
A retenir
Durée : 2 jours soit 14h.
Réf. CE130G
Dates des sessions
Cette
formation est
également
proposée en
formule
INTRA-ENTREPRISE.
Inclus dans cette formation
Coaching Après-COURS
Pendant 30 jours, votre formateur
sera disponible pour vous aider.
CERTyou s'engage dans la réalisation
de vos objectifs.
Votre garantie 100%
SATISFACTION
Notre engagement 100% satisfaction
vous garantit la plus grande qualité
de formation.
CERTYOU, 37 rue des Mathurins, 75008 PARIS - SAS au capital de 10 000 Euros
Tél : 01 42 93 52 72 - Fax : 01 70 72 02 72 - contact@certyou.com - www.certyou.com
RCS de Paris n° 804 509 461- TVA intracommunautaire FR03 804509461 - APE 8559A
Déclaration d’activité enregistrée sous le N° 11 75 52524 75 auprès du préfet de région d’Ile-de-France
SQL - Compléments
Formation Informatique / SGBD et Aide à la décision / IBM SGBD Administration
Use nested and common table expressions
Identify the difference between views and table expressions
Code recursive SQL
Control the depth of recursion when coding recursive SQL
UDTs/UDFs and Performance
Describe the concepts behind User-Defined Types, User-Defined Functions and Stored Procedures
Predict when queries will use indexes to get better performance
Agenda
Day 1
Welcome
Unit 1 - Introduction (SQL Basics review, and OLAP features)
Exercise 1
Unit 2 - Create Objects
Exercise 2
Unit 3 - Join
Exercise 3
Day 2
Unit 4 - CASE, CAST, Summary Tables, and MQTs
Exercise 4
Unit 5 - Using Subqueries
Exercise 5
Unit 6 - Scalar Functions
Exercise 6
Day 3
Unit 7 - Table Expressions and Recursive SQL
Exercise 7
Unit 8 - UDTs/UDFs and Performance
Exercise 8

More Related Content

Similar to Ce130 g formation-sql-complements

Od47 g formation-ibm-i-db2-and-sql-school
Od47 g formation-ibm-i-db2-and-sql-schoolOd47 g formation-ibm-i-db2-and-sql-school
Od47 g formation-ibm-i-db2-and-sql-schoolCERTyou Formation
 
Cv722 g formation-db2-11-for-z-os-application-programming-workshop
Cv722 g formation-db2-11-for-z-os-application-programming-workshopCv722 g formation-db2-11-for-z-os-application-programming-workshop
Cv722 g formation-db2-11-for-z-os-application-programming-workshopCERTyou Formation
 
Dw503 g formation-ibm-puredata-system-for-analytics-usage
Dw503 g formation-ibm-puredata-system-for-analytics-usageDw503 g formation-ibm-puredata-system-for-analytics-usage
Dw503 g formation-ibm-puredata-system-for-analytics-usageCERTyou Formation
 
Dw512 g formation-ibm-puredata-system-for-analytics-advanced-concepts
Dw512 g formation-ibm-puredata-system-for-analytics-advanced-conceptsDw512 g formation-ibm-puredata-system-for-analytics-advanced-concepts
Dw512 g formation-ibm-puredata-system-for-analytics-advanced-conceptsCERTyou Formation
 
Wb390 g formation-ibm-websphere-operational-decision-management-8-6-developpe...
Wb390 g formation-ibm-websphere-operational-decision-management-8-6-developpe...Wb390 g formation-ibm-websphere-operational-decision-management-8-6-developpe...
Wb390 g formation-ibm-websphere-operational-decision-management-8-6-developpe...CERTyou Formation
 
M10962 formation-automatiser-l-administration-windows-avec-powershell-fonctio...
M10962 formation-automatiser-l-administration-windows-avec-powershell-fonctio...M10962 formation-automatiser-l-administration-windows-avec-powershell-fonctio...
M10962 formation-automatiser-l-administration-windows-avec-powershell-fonctio...CERTyou Formation
 
1 r029g formation-ibm-cognos-icm-building-reports-v-8-1
1 r029g formation-ibm-cognos-icm-building-reports-v-8-11 r029g formation-ibm-cognos-icm-building-reports-v-8-1
1 r029g formation-ibm-cognos-icm-building-reports-v-8-1CERTyou Formation
 
H032 g formation-ibm-platform-analytics-lsf-9-1-end-user
H032 g formation-ibm-platform-analytics-lsf-9-1-end-userH032 g formation-ibm-platform-analytics-lsf-9-1-end-user
H032 g formation-ibm-platform-analytics-lsf-9-1-end-userCERTyou Formation
 
Nishant_Saurabh_MS_SQL_SERVER_DBA
Nishant_Saurabh_MS_SQL_SERVER_DBANishant_Saurabh_MS_SQL_SERVER_DBA
Nishant_Saurabh_MS_SQL_SERVER_DBANishant Saurabh
 
Rs641 g formation-mastering-rational-clearquest-multisite-administration
Rs641 g formation-mastering-rational-clearquest-multisite-administrationRs641 g formation-mastering-rational-clearquest-multisite-administration
Rs641 g formation-mastering-rational-clearquest-multisite-administrationCERTyou Formation
 
Tp370 g formation-ibm-smartcloud-control-desk-7-5-configuration-change-and-re...
Tp370 g formation-ibm-smartcloud-control-desk-7-5-configuration-change-and-re...Tp370 g formation-ibm-smartcloud-control-desk-7-5-configuration-change-and-re...
Tp370 g formation-ibm-smartcloud-control-desk-7-5-configuration-change-and-re...CERTyou Formation
 
Wm864 g formation-cics-v4-command-level-coding
Wm864 g formation-cics-v4-command-level-codingWm864 g formation-cics-v4-command-level-coding
Wm864 g formation-cics-v4-command-level-codingCERTyou Formation
 
Tp361 g formation-ibm-smartcloud-control-desk-7-5-1-service-request-managemen...
Tp361 g formation-ibm-smartcloud-control-desk-7-5-1-service-request-managemen...Tp361 g formation-ibm-smartcloud-control-desk-7-5-1-service-request-managemen...
Tp361 g formation-ibm-smartcloud-control-desk-7-5-1-service-request-managemen...CERTyou Formation
 
1 sx5g formation-solutions-cloud-avancees-avec-smartcloud-orchestrator-sur-la...
1 sx5g formation-solutions-cloud-avancees-avec-smartcloud-orchestrator-sur-la...1 sx5g formation-solutions-cloud-avancees-avec-smartcloud-orchestrator-sur-la...
1 sx5g formation-solutions-cloud-avancees-avec-smartcloud-orchestrator-sur-la...CERTyou Formation
 
SQL Server 2008 certification
SQL Server 2008 certificationSQL Server 2008 certification
SQL Server 2008 certificationVskills
 
Dw520 g formation-ibm-netezza-appliance-usage-and-advanced-concepts
Dw520 g formation-ibm-netezza-appliance-usage-and-advanced-conceptsDw520 g formation-ibm-netezza-appliance-usage-and-advanced-concepts
Dw520 g formation-ibm-netezza-appliance-usage-and-advanced-conceptsCERTyou Formation
 
Industrializing Machine Learning on an Enterprise Azure Platform with Databri...
Industrializing Machine Learning on an Enterprise Azure Platform with Databri...Industrializing Machine Learning on an Enterprise Azure Platform with Databri...
Industrializing Machine Learning on an Enterprise Azure Platform with Databri...Databricks
 
Tz243 g formation-ibm-tivoli-netview-for-z-os-6-1-fundamentals-automation-rex...
Tz243 g formation-ibm-tivoli-netview-for-z-os-6-1-fundamentals-automation-rex...Tz243 g formation-ibm-tivoli-netview-for-z-os-6-1-fundamentals-automation-rex...
Tz243 g formation-ibm-tivoli-netview-for-z-os-6-1-fundamentals-automation-rex...CERTyou Formation
 
Master MCSA Administración de SQL Server 2012
Master MCSA Administración de SQL Server 2012Master MCSA Administración de SQL Server 2012
Master MCSA Administración de SQL Server 2012Cas Trainining
 

Similar to Ce130 g formation-sql-complements (20)

Od47 g formation-ibm-i-db2-and-sql-school
Od47 g formation-ibm-i-db2-and-sql-schoolOd47 g formation-ibm-i-db2-and-sql-school
Od47 g formation-ibm-i-db2-and-sql-school
 
Cv722 g formation-db2-11-for-z-os-application-programming-workshop
Cv722 g formation-db2-11-for-z-os-application-programming-workshopCv722 g formation-db2-11-for-z-os-application-programming-workshop
Cv722 g formation-db2-11-for-z-os-application-programming-workshop
 
Dw503 g formation-ibm-puredata-system-for-analytics-usage
Dw503 g formation-ibm-puredata-system-for-analytics-usageDw503 g formation-ibm-puredata-system-for-analytics-usage
Dw503 g formation-ibm-puredata-system-for-analytics-usage
 
Dw512 g formation-ibm-puredata-system-for-analytics-advanced-concepts
Dw512 g formation-ibm-puredata-system-for-analytics-advanced-conceptsDw512 g formation-ibm-puredata-system-for-analytics-advanced-concepts
Dw512 g formation-ibm-puredata-system-for-analytics-advanced-concepts
 
Wb390 g formation-ibm-websphere-operational-decision-management-8-6-developpe...
Wb390 g formation-ibm-websphere-operational-decision-management-8-6-developpe...Wb390 g formation-ibm-websphere-operational-decision-management-8-6-developpe...
Wb390 g formation-ibm-websphere-operational-decision-management-8-6-developpe...
 
M10962 formation-automatiser-l-administration-windows-avec-powershell-fonctio...
M10962 formation-automatiser-l-administration-windows-avec-powershell-fonctio...M10962 formation-automatiser-l-administration-windows-avec-powershell-fonctio...
M10962 formation-automatiser-l-administration-windows-avec-powershell-fonctio...
 
1 r029g formation-ibm-cognos-icm-building-reports-v-8-1
1 r029g formation-ibm-cognos-icm-building-reports-v-8-11 r029g formation-ibm-cognos-icm-building-reports-v-8-1
1 r029g formation-ibm-cognos-icm-building-reports-v-8-1
 
Patrudu m sql (1)
Patrudu m sql (1)Patrudu m sql (1)
Patrudu m sql (1)
 
H032 g formation-ibm-platform-analytics-lsf-9-1-end-user
H032 g formation-ibm-platform-analytics-lsf-9-1-end-userH032 g formation-ibm-platform-analytics-lsf-9-1-end-user
H032 g formation-ibm-platform-analytics-lsf-9-1-end-user
 
Nishant_Saurabh_MS_SQL_SERVER_DBA
Nishant_Saurabh_MS_SQL_SERVER_DBANishant_Saurabh_MS_SQL_SERVER_DBA
Nishant_Saurabh_MS_SQL_SERVER_DBA
 
Rs641 g formation-mastering-rational-clearquest-multisite-administration
Rs641 g formation-mastering-rational-clearquest-multisite-administrationRs641 g formation-mastering-rational-clearquest-multisite-administration
Rs641 g formation-mastering-rational-clearquest-multisite-administration
 
Tp370 g formation-ibm-smartcloud-control-desk-7-5-configuration-change-and-re...
Tp370 g formation-ibm-smartcloud-control-desk-7-5-configuration-change-and-re...Tp370 g formation-ibm-smartcloud-control-desk-7-5-configuration-change-and-re...
Tp370 g formation-ibm-smartcloud-control-desk-7-5-configuration-change-and-re...
 
Wm864 g formation-cics-v4-command-level-coding
Wm864 g formation-cics-v4-command-level-codingWm864 g formation-cics-v4-command-level-coding
Wm864 g formation-cics-v4-command-level-coding
 
Tp361 g formation-ibm-smartcloud-control-desk-7-5-1-service-request-managemen...
Tp361 g formation-ibm-smartcloud-control-desk-7-5-1-service-request-managemen...Tp361 g formation-ibm-smartcloud-control-desk-7-5-1-service-request-managemen...
Tp361 g formation-ibm-smartcloud-control-desk-7-5-1-service-request-managemen...
 
1 sx5g formation-solutions-cloud-avancees-avec-smartcloud-orchestrator-sur-la...
1 sx5g formation-solutions-cloud-avancees-avec-smartcloud-orchestrator-sur-la...1 sx5g formation-solutions-cloud-avancees-avec-smartcloud-orchestrator-sur-la...
1 sx5g formation-solutions-cloud-avancees-avec-smartcloud-orchestrator-sur-la...
 
SQL Server 2008 certification
SQL Server 2008 certificationSQL Server 2008 certification
SQL Server 2008 certification
 
Dw520 g formation-ibm-netezza-appliance-usage-and-advanced-concepts
Dw520 g formation-ibm-netezza-appliance-usage-and-advanced-conceptsDw520 g formation-ibm-netezza-appliance-usage-and-advanced-concepts
Dw520 g formation-ibm-netezza-appliance-usage-and-advanced-concepts
 
Industrializing Machine Learning on an Enterprise Azure Platform with Databri...
Industrializing Machine Learning on an Enterprise Azure Platform with Databri...Industrializing Machine Learning on an Enterprise Azure Platform with Databri...
Industrializing Machine Learning on an Enterprise Azure Platform with Databri...
 
Tz243 g formation-ibm-tivoli-netview-for-z-os-6-1-fundamentals-automation-rex...
Tz243 g formation-ibm-tivoli-netview-for-z-os-6-1-fundamentals-automation-rex...Tz243 g formation-ibm-tivoli-netview-for-z-os-6-1-fundamentals-automation-rex...
Tz243 g formation-ibm-tivoli-netview-for-z-os-6-1-fundamentals-automation-rex...
 
Master MCSA Administración de SQL Server 2012
Master MCSA Administración de SQL Server 2012Master MCSA Administración de SQL Server 2012
Master MCSA Administración de SQL Server 2012
 

More from CERTyou Formation

Zz670 g formation-ibm-infosphere-mdm-reference-data-management-v10
Zz670 g formation-ibm-infosphere-mdm-reference-data-management-v10Zz670 g formation-ibm-infosphere-mdm-reference-data-management-v10
Zz670 g formation-ibm-infosphere-mdm-reference-data-management-v10CERTyou Formation
 
Zz640 g formation-ibm-personnaliser-infosphere-mdm-advanced-edition
Zz640 g formation-ibm-personnaliser-infosphere-mdm-advanced-editionZz640 g formation-ibm-personnaliser-infosphere-mdm-advanced-edition
Zz640 g formation-ibm-personnaliser-infosphere-mdm-advanced-editionCERTyou Formation
 
Zz620 g formation-ibm-concepts-d-architecture-et-modele-de-donnees-pour-infos...
Zz620 g formation-ibm-concepts-d-architecture-et-modele-de-donnees-pour-infos...Zz620 g formation-ibm-concepts-d-architecture-et-modele-de-donnees-pour-infos...
Zz620 g formation-ibm-concepts-d-architecture-et-modele-de-donnees-pour-infos...CERTyou Formation
 
Zv10 g formation-ibm-z-vm-et-linux-pour-zseries-connectivite-et-gestion-du-sy...
Zv10 g formation-ibm-z-vm-et-linux-pour-zseries-connectivite-et-gestion-du-sy...Zv10 g formation-ibm-z-vm-et-linux-pour-zseries-connectivite-et-gestion-du-sy...
Zv10 g formation-ibm-z-vm-et-linux-pour-zseries-connectivite-et-gestion-du-sy...CERTyou Formation
 
Zv06 g formation-ibm-z-vm-et-linux-pour-zseries-bases-vm-pour-linux
Zv06 g formation-ibm-z-vm-et-linux-pour-zseries-bases-vm-pour-linuxZv06 g formation-ibm-z-vm-et-linux-pour-zseries-bases-vm-pour-linux
Zv06 g formation-ibm-z-vm-et-linux-pour-zseries-bases-vm-pour-linuxCERTyou Formation
 
Zv02 g formation-z-vm-introduction-et-concepts
Zv02 g formation-z-vm-introduction-et-conceptsZv02 g formation-z-vm-introduction-et-concepts
Zv02 g formation-z-vm-introduction-et-conceptsCERTyou Formation
 
Zop04 formation-zope-les-bases-et-perfectionnement
Zop04 formation-zope-les-bases-et-perfectionnementZop04 formation-zope-les-bases-et-perfectionnement
Zop04 formation-zope-les-bases-et-perfectionnementCERTyou Formation
 
Zop03 formation-zope-les-bases
Zop03 formation-zope-les-basesZop03 formation-zope-les-bases
Zop03 formation-zope-les-basesCERTyou Formation
 
Zop01 formation-zope-perfectionnement
Zop01 formation-zope-perfectionnementZop01 formation-zope-perfectionnement
Zop01 formation-zope-perfectionnementCERTyou Formation
 
Zl10 g formation-implementation-linux-pour-system-z-suse
Zl10 g formation-implementation-linux-pour-system-z-suseZl10 g formation-implementation-linux-pour-system-z-suse
Zl10 g formation-implementation-linux-pour-system-z-suseCERTyou Formation
 
Zl00 g formation-bootcamp-z-vm-et-linux
Zl00 g formation-bootcamp-z-vm-et-linuxZl00 g formation-bootcamp-z-vm-et-linux
Zl00 g formation-bootcamp-z-vm-et-linuxCERTyou Formation
 
Zen06 formation-zend-framework-2-les-bases-et-perfectionnement
Zen06 formation-zend-framework-2-les-bases-et-perfectionnementZen06 formation-zend-framework-2-les-bases-et-perfectionnement
Zen06 formation-zend-framework-2-les-bases-et-perfectionnementCERTyou Formation
 
Zen05 formation-zend-framework-2-les-bases
Zen05 formation-zend-framework-2-les-basesZen05 formation-zend-framework-2-les-bases
Zen05 formation-zend-framework-2-les-basesCERTyou Formation
 
Zen04 formation-zend-framework-2-perfectionnement
Zen04 formation-zend-framework-2-perfectionnementZen04 formation-zend-framework-2-perfectionnement
Zen04 formation-zend-framework-2-perfectionnementCERTyou Formation
 
Zen03 formation-zend-framework-1-les-bases-et-perfectionnement
Zen03 formation-zend-framework-1-les-bases-et-perfectionnementZen03 formation-zend-framework-1-les-bases-et-perfectionnement
Zen03 formation-zend-framework-1-les-bases-et-perfectionnementCERTyou Formation
 
Zen02 formation-zend-framework-1-les-bases
Zen02 formation-zend-framework-1-les-basesZen02 formation-zend-framework-1-les-bases
Zen02 formation-zend-framework-1-les-basesCERTyou Formation
 
Zen01 formation-zend-framework-1-perfectionnement
Zen01 formation-zend-framework-1-perfectionnementZen01 formation-zend-framework-1-perfectionnement
Zen01 formation-zend-framework-1-perfectionnementCERTyou Formation
 
Zabix formation-zabbix-supervision-d-infrastructure
Zabix formation-zabbix-supervision-d-infrastructureZabix formation-zabbix-supervision-d-infrastructure
Zabix formation-zabbix-supervision-d-infrastructureCERTyou Formation
 

More from CERTyou Formation (20)

Zz670 g formation-ibm-infosphere-mdm-reference-data-management-v10
Zz670 g formation-ibm-infosphere-mdm-reference-data-management-v10Zz670 g formation-ibm-infosphere-mdm-reference-data-management-v10
Zz670 g formation-ibm-infosphere-mdm-reference-data-management-v10
 
Zz640 g formation-ibm-personnaliser-infosphere-mdm-advanced-edition
Zz640 g formation-ibm-personnaliser-infosphere-mdm-advanced-editionZz640 g formation-ibm-personnaliser-infosphere-mdm-advanced-edition
Zz640 g formation-ibm-personnaliser-infosphere-mdm-advanced-edition
 
Zz620 g formation-ibm-concepts-d-architecture-et-modele-de-donnees-pour-infos...
Zz620 g formation-ibm-concepts-d-architecture-et-modele-de-donnees-pour-infos...Zz620 g formation-ibm-concepts-d-architecture-et-modele-de-donnees-pour-infos...
Zz620 g formation-ibm-concepts-d-architecture-et-modele-de-donnees-pour-infos...
 
Zv10 g formation-ibm-z-vm-et-linux-pour-zseries-connectivite-et-gestion-du-sy...
Zv10 g formation-ibm-z-vm-et-linux-pour-zseries-connectivite-et-gestion-du-sy...Zv10 g formation-ibm-z-vm-et-linux-pour-zseries-connectivite-et-gestion-du-sy...
Zv10 g formation-ibm-z-vm-et-linux-pour-zseries-connectivite-et-gestion-du-sy...
 
Zv06 g formation-ibm-z-vm-et-linux-pour-zseries-bases-vm-pour-linux
Zv06 g formation-ibm-z-vm-et-linux-pour-zseries-bases-vm-pour-linuxZv06 g formation-ibm-z-vm-et-linux-pour-zseries-bases-vm-pour-linux
Zv06 g formation-ibm-z-vm-et-linux-pour-zseries-bases-vm-pour-linux
 
Zv02 g formation-z-vm-introduction-et-concepts
Zv02 g formation-z-vm-introduction-et-conceptsZv02 g formation-z-vm-introduction-et-concepts
Zv02 g formation-z-vm-introduction-et-concepts
 
Zop05 formation-zope-plone
Zop05 formation-zope-ploneZop05 formation-zope-plone
Zop05 formation-zope-plone
 
Zop04 formation-zope-les-bases-et-perfectionnement
Zop04 formation-zope-les-bases-et-perfectionnementZop04 formation-zope-les-bases-et-perfectionnement
Zop04 formation-zope-les-bases-et-perfectionnement
 
Zop03 formation-zope-les-bases
Zop03 formation-zope-les-basesZop03 formation-zope-les-bases
Zop03 formation-zope-les-bases
 
Zop02 formation-zope-cps
Zop02 formation-zope-cpsZop02 formation-zope-cps
Zop02 formation-zope-cps
 
Zop01 formation-zope-perfectionnement
Zop01 formation-zope-perfectionnementZop01 formation-zope-perfectionnement
Zop01 formation-zope-perfectionnement
 
Zl10 g formation-implementation-linux-pour-system-z-suse
Zl10 g formation-implementation-linux-pour-system-z-suseZl10 g formation-implementation-linux-pour-system-z-suse
Zl10 g formation-implementation-linux-pour-system-z-suse
 
Zl00 g formation-bootcamp-z-vm-et-linux
Zl00 g formation-bootcamp-z-vm-et-linuxZl00 g formation-bootcamp-z-vm-et-linux
Zl00 g formation-bootcamp-z-vm-et-linux
 
Zen06 formation-zend-framework-2-les-bases-et-perfectionnement
Zen06 formation-zend-framework-2-les-bases-et-perfectionnementZen06 formation-zend-framework-2-les-bases-et-perfectionnement
Zen06 formation-zend-framework-2-les-bases-et-perfectionnement
 
Zen05 formation-zend-framework-2-les-bases
Zen05 formation-zend-framework-2-les-basesZen05 formation-zend-framework-2-les-bases
Zen05 formation-zend-framework-2-les-bases
 
Zen04 formation-zend-framework-2-perfectionnement
Zen04 formation-zend-framework-2-perfectionnementZen04 formation-zend-framework-2-perfectionnement
Zen04 formation-zend-framework-2-perfectionnement
 
Zen03 formation-zend-framework-1-les-bases-et-perfectionnement
Zen03 formation-zend-framework-1-les-bases-et-perfectionnementZen03 formation-zend-framework-1-les-bases-et-perfectionnement
Zen03 formation-zend-framework-1-les-bases-et-perfectionnement
 
Zen02 formation-zend-framework-1-les-bases
Zen02 formation-zend-framework-1-les-basesZen02 formation-zend-framework-1-les-bases
Zen02 formation-zend-framework-1-les-bases
 
Zen01 formation-zend-framework-1-perfectionnement
Zen01 formation-zend-framework-1-perfectionnementZen01 formation-zend-framework-1-perfectionnement
Zen01 formation-zend-framework-1-perfectionnement
 
Zabix formation-zabbix-supervision-d-infrastructure
Zabix formation-zabbix-supervision-d-infrastructureZabix formation-zabbix-supervision-d-infrastructure
Zabix formation-zabbix-supervision-d-infrastructure
 

Ce130 g formation-sql-complements

  • 1. CERTYOU, 37 rue des Mathurins, 75008 PARIS - SAS au capital de 10 000 Euros Tél : 01 42 93 52 72 - Fax : 01 70 72 02 72 - contact@certyou.com - www.certyou.com RCS de Paris n° 804 509 461- TVA intracommunautaire FR03 804509461 - APE 8559A Déclaration d’activité enregistrée sous le N° 11 75 52524 75 auprès du préfet de région d’Ile-de-France SQL - Compléments Formation Informatique / SGBD et Aide à la décision / IBM SGBD Administration This course teaches you how to make use of advanced SQL techniques to access DB2 databases in different environments. This course is appropriate for customers working in all DB2 environments, that is OS/390, z/OS, VM/VSE, iSeries, Linux, UNIX, and Windows. OBJECTIFS • Discuss basic relational database concepts • Use some of the OLAP features of DB2, such as GROUPing and RANKing functions • Create tables, views and indexes • Use referential integrity, check constraints and triggers • Use outer joins, and join tables to themselves • Use CASE expressions, and the CAST function • Identify the impact of Summary Tables, Materialized Query Tables, and temporary tables • Use complex subqueries • Use a greater number of scalar SQL functions • Use advanced SQL constructs, such as recursive SQL and table expressions • Define User-Defined Distinct Types and User-Defined Functions • Avoid several of the most common causes for poorly-performing SQL PUBLIC Experienced SQL end users, application programmers, database administrators, and user support staff who need more advanced knowledge of SQL. PRE-REQUIS You should have experience with: coding and executing basic SQL statements. These skills can be developed by attending SQL Workshop (CE12), or equivalent experience. PROGRAMME Introduction Identify the purpose of the clauses in the SELECT statement Describe the key differences among the IBM DB2 platforms Describe and use some of the OLAP features of DB2, such as GROUPING functions like CUBE and ROLLUP, and the RANK, DENSE_RANK and ROW_NUMBER functions Create Objects Code statements to: Create tables and views, Alter tables, Create indexes, Implement referential integrity (RI), and Define triggers and check constraints Identify impacts and advantages of referential integrity, including impacts of delete rules Identify considerations when using triggers and check constraints Join Retrieve data from more than one table via inner and outer joins Use outer joins CASE, CAST, Summary Tables, and Materialized Query Tables Identify when CASE expressions can be used Code CASE expressions in SELECT list and in the WHERE clause Identify when CAST specifications can be used Identify the advantages of using Summary (Materialized Query) Tables and Temporary tables Using Subqueries Code subqueries using the ALL, ANY/SOME, and EXISTS keywords Code correlated subqueries Choose the proper type of subquery to use in each case Scalar Functions Extend your knowledge of scalar functions which: Manipulate arithmetic data, Manipulate date values, and Manipulate character data Table Expressions and Recursive SQL Identify reasons for using table expressions and recursive SQL A retenir Durée : 2 jours soit 14h. Réf. CE130G Dates des sessions Cette formation est également proposée en formule INTRA-ENTREPRISE. Inclus dans cette formation Coaching Après-COURS Pendant 30 jours, votre formateur sera disponible pour vous aider. CERTyou s'engage dans la réalisation de vos objectifs. Votre garantie 100% SATISFACTION Notre engagement 100% satisfaction vous garantit la plus grande qualité de formation.
  • 2. CERTYOU, 37 rue des Mathurins, 75008 PARIS - SAS au capital de 10 000 Euros Tél : 01 42 93 52 72 - Fax : 01 70 72 02 72 - contact@certyou.com - www.certyou.com RCS de Paris n° 804 509 461- TVA intracommunautaire FR03 804509461 - APE 8559A Déclaration d’activité enregistrée sous le N° 11 75 52524 75 auprès du préfet de région d’Ile-de-France SQL - Compléments Formation Informatique / SGBD et Aide à la décision / IBM SGBD Administration Use nested and common table expressions Identify the difference between views and table expressions Code recursive SQL Control the depth of recursion when coding recursive SQL UDTs/UDFs and Performance Describe the concepts behind User-Defined Types, User-Defined Functions and Stored Procedures Predict when queries will use indexes to get better performance Agenda Day 1 Welcome Unit 1 - Introduction (SQL Basics review, and OLAP features) Exercise 1 Unit 2 - Create Objects Exercise 2 Unit 3 - Join Exercise 3 Day 2 Unit 4 - CASE, CAST, Summary Tables, and MQTs Exercise 4 Unit 5 - Using Subqueries Exercise 5 Unit 6 - Scalar Functions Exercise 6 Day 3 Unit 7 - Table Expressions and Recursive SQL Exercise 7 Unit 8 - UDTs/UDFs and Performance Exercise 8