Database Programming - Section 5 Student Guide
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page i
Table of Contents
Database Programming - Section 5................................................................................................................1 Lesson 1 - Practice Exercises ........................................................................................................................1 What Will I Learn? ........................................................................................................................................2 Why Learn It?................................................................................................................................................3 Tell Me / Show Me........................................................................................................................................4 Try It / Solve It ..............................................................................................................................................5 Lesson 2 - Exam 1 Review ............................................................................................................................13 What Will I Learn? ........................................................................................................................................14 Why Learn It?................................................................................................................................................15 Tell Me / Show Me........................................................................................................................................16 Try It / Solve It ..............................................................................................................................................17 Lesson 3 - Exam 1 Information .....................................................................................................................18 What Will I Learn? ........................................................................................................................................19 Why Learn It?................................................................................................................................................20 Tell Me / Show Me........................................................................................................................................21 Try It / Solve It ..............................................................................................................................................22 Lesson 4 - Group Functions...........................................................................................................................23 What Will I Learn? ........................................................................................................................................24 Why Learn It?................................................................................................................................................25 Tell Me / Show Me........................................................................................................................................26 Try It / Solve It ..............................................................................................................................................35 Lesson 5 - COUNT, DISTINCT, and NVL...................................................................................................38 What Will I Learn? ........................................................................................................................................39 Why Learn It?................................................................................................................................................40 Tell Me / Show Me........................................................................................................................................41 Try It / Solve It ..............................................................................................................................................48
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 1
Lesson 1 - Practice Exercises
Lesson 1 - Practice Exercises
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 2
What Will I Learn?
What Will I Learn?
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 3
Why Learn It?
Why Learn It?
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 4
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 5
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 6
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 7
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 8
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 9
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 10
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 11
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 12
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 13
Lesson 2 - Exam 1 Review
Lesson 2 - Exam 1 Review
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 14
What Will I Learn?
What Will I Learn?
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 15
Why Learn It?
Why Learn It?
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 16
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 17
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 18
Lesson 3 - Exam 1 Information
Lesson 3 - Exam 1 Information
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 19
What Will I Learn?
What Will I Learn?
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 20
Why Learn It?
Why Learn It?
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 21
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 22
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 23
Lesson 4 - Group Functions
Lesson 4 - Group Functions
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 24
What Will I Learn?
What Will I Learn?
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 25
Why Learn It?
Why Learn It?
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 26
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 27
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 28
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 29
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 30
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 31
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 32
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 33
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 34
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 35
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 36
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 37
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 38
Lesson 5 - COUNT, DISTINCT, and NVL
Lesson 5 - COUNT, DISTINCT, and NVL
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 39
What Will I Learn?
What Will I Learn?
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 40
Why Learn It?
Why Learn It?
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 41
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 42
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 43
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 44
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 45
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 46
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 47
Tell Me / Show Me
Tell Me / Show Me
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 48
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 49
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 50
Try It / Solve It
Try It / Solve It
Copyright © Oracle, 2004. All rights reserved.
Database Programming - Section 5 Page 51
Try It / Solve It
Try It / Solve It