# Informatica

Disponível somente no TrabalhosFeitos
• Páginas : 139 (34558 palavras )
• Publicado : 8 de novembro de 2012

Amostra do texto

Student Guide • Volume 1

40058GC11 Production 1.1 November 2001 D34074

Authors
Priya Nathan

Josephine Turner Martin Alvarez Anna Atkinson Don Bates Marco Berbeek Andrew Brannigan
Laszlo Czinkoczki

Michael Gerlach Sharon Gray Rosita Hanoman Mozhe Jalali Sarah Jones Charbel Khouri Christopher Lawless Diana Lorentz Nina Minchen Cuong Nguyen Daphne Nougier Patrick Odell Laura Pezzini Stacey Procter Maribel Renau Bryan Roberts Helen RobertsonSunshine Salmon Casa Sharif Bernard Soleillant Craig Spoonemore Ruediger Steffan Karla Villasenor Andree Wheeley Lachlan Williams

Publisher
Sheryl Domingue

Contents
I Introduction Course Objectives I-2 Course Overview I-3

1

Using SET Operators Objectives 1-2 The SET Operators 1-3 Tables Used in This Lesson 1-4 The UNION Operator 1-7 Using the UNION Operator 1-8 The UNION ALL Operator 1-10Using the UNION ALL Operator 1-11 The INTERSECT Operator 1-12 Using the INTERSECT Operator 1-13 The MINUS Operator 1-14 SET Operator Guidelines 1-16 The Oracle Server and SET Operators 1-17 Matching the SELECT Statements 1-18 Controlling the Order of Rows 1-20 Summary 1-21 Practice 1 Overview 1-22 Oracle9i Datetime Functions Objectives 2-2 TIME ZONES 2-3 Oracle9i Datetime Support 2-4 TZ_OFFSET 2-6CURRENT_DATE 2-8 CURRENT_TIMESTAMP 2-9 LOCALTIMESTAMP 2-10 DBTIMEZONE and SESSIONTIMEZONE 2-11 EXTRACT 2-12 TIMESTAMP Conversion Using FROM_TZ 2-13 STRING To TIMESTAMP Conversion Using TO_TIMESTAMP and TO_TIMESTAMP_TZ 2-14 Time Interval Conversion with TO_YMINTERVAL 2-15 Summary 2-16 Practice 2 Overview 2-17

2

iii

3

Enhancements to the GROUP BY Clause Objectives 3-2 Review of GroupFunctions 3-3 Review of the GROUP BY Clause 3-4 Review of the HAVING Clause 3-5 GROUP BY with ROLLUP and CUBE Operators ROLLUP Operator 3-7 ROLLUP Operator Example 3-8 CUBE Operator 3-9 CUBE Operator: Example 3-10 GROUPING Function 3-11 GROUPING Function: Example 3-12 GROUPING SETS 3-13 GROUPING SETS: Example 3-15 Composite Columns 3-17 Composite Columns: Example 3-19 Concatenated Groupings 3-21...