Preface |
|
xvi | |
Introduction |
|
xx | |
|
1 Relational Database Design Using Oracle |
|
|
1 | (54) |
|
Position the Server Technologies |
|
|
3 | (8) |
|
The Oracle Server Architecture |
|
|
3 | (2) |
|
The Oracle WebLogic Server |
|
|
5 | (2) |
|
Oracle Enterprise Manager |
|
|
7 | (1) |
|
|
8 | (1) |
|
Exercise 1-1 Investigate Your Database and Application Environment |
|
|
9 | (1) |
|
Development Tools and Languages |
|
|
10 | (1) |
|
Understand Relational Structures |
|
|
11 | (15) |
|
|
11 | (1) |
|
|
12 | (1) |
|
|
12 | (8) |
|
Exercise 1-2 Design an Entity-Relationship Diagram for the Geological Cores Scenario |
|
|
20 | (2) |
|
|
22 | (4) |
|
Summarize the SQL Language |
|
|
26 | (3) |
|
|
27 | (1) |
|
|
27 | (1) |
|
|
28 | (1) |
|
|
29 | (13) |
|
|
30 | (7) |
|
|
37 | (5) |
|
Create the Demonstration Schemas |
|
|
42 | (8) |
|
|
42 | (1) |
|
|
43 | (3) |
|
Demonstration Schema Creation |
|
|
46 | (3) |
|
|
49 | (1) |
|
|
50 | (5) |
|
|
52 | (1) |
|
|
53 | (1) |
|
|
54 | (1) |
|
2 Data Retrieval Using the SQL SELECT Statement |
|
|
55 | (54) |
|
List the Capabilities of SQL SELECT Statements |
|
|
56 | (8) |
|
Introducing the SQL SELECT Statement |
|
|
56 | (1) |
|
The DESCRIBE Table Command |
|
|
57 | (3) |
|
Exercise 2-1 Describing the Human Resources Schema |
|
|
60 | (2) |
|
Capabilities of the SELECT Statement |
|
|
62 | (2) |
|
Execute a Basic SELECT Statement |
|
|
64 | (34) |
|
The Primitive SELECT Statement |
|
|
64 | (5) |
|
|
69 | (3) |
|
Exercise 2-2 Answering Our First Questions with SQL |
|
|
72 | (3) |
|
SQL Expressions and Operators |
|
|
75 | (12) |
|
|
87 | (5) |
|
Exercise 2-3 Experimenting with Expressions and the DUAL Table |
|
|
92 | (4) |
|
|
96 | (2) |
|
|
98 | (11) |
|
|
100 | (2) |
|
|
102 | (2) |
|
|
104 | (5) |
|
3 Restricting and Sorting Data |
|
|
109 | (66) |
|
Limit the Rows Retrieved by a Query |
|
|
110 | (33) |
|
|
110 | (9) |
|
|
119 | (12) |
|
Exercise 3-1 Using the LIKE Operator |
|
|
131 | (2) |
|
|
133 | (6) |
|
|
139 | (4) |
|
Sort the Rows Retrieved by a Query |
|
|
143 | (7) |
|
|
143 | (5) |
|
Exercise 3-2 Sorting Data Using the ORDER BY Clause |
|
|
148 | (2) |
|
|
150 | (18) |
|
|
150 | (7) |
|
|
157 | (6) |
|
Exercise 3-3 Using Ampersand Substitution |
|
|
163 | (3) |
|
|
166 | (2) |
|
|
168 | (7) |
|
|
170 | (1) |
|
|
171 | (2) |
|
|
173 | (2) |
|
|
175 | (58) |
|
Describe Various Types of Functions Available in SQL |
|
|
176 | (7) |
|
|
176 | (4) |
|
|
180 | (3) |
|
Use Character, Number, and Date Functions in SELECT Statements |
|
|
183 | (44) |
|
Using Character Case Conversion Functions |
|
|
183 | (5) |
|
Exercise 4-1 Using the Case Conversion Functions |
|
|
188 | (1) |
|
Using Character Manipulation Functions |
|
|
189 | (13) |
|
Exercise 4-2 Using the Character Manipulation Functions |
|
|
202 | (1) |
|
|
203 | (6) |
|
|
209 | (4) |
|
|
213 | (3) |
|
Exercise 4-3 Using the Date Functions |
|
|
216 | (9) |
|
|
225 | (2) |
|
|
227 | (6) |
|
|
229 | (1) |
|
|
230 | (1) |
|
|
231 | (2) |
|
5 Using Conversion Functions and Conditional Expressions |
|
|
233 | (44) |
|
Describe Various Types of Conversion Functions Available in SQL |
|
|
234 | (3) |
|
|
234 | (3) |
|
Use the TO_CHAR, TO_NUMBER, and TO_DATE Conversion Functions |
|
|
237 | (13) |
|
Using the Conversion Functions |
|
|
238 | (7) |
|
Exercise 5-1 Converting Dates into Characters Using the TO_CHAR Function |
|
|
245 | (5) |
|
Apply Conditional Expressions in a SELECT Statement |
|
|
250 | (21) |
|
|
250 | (2) |
|
|
252 | (5) |
|
Exercise 5-2 Using NULLIF and NVL2 for Simple Conditional Logic |
|
|
257 | (3) |
|
|
260 | (6) |
|
Exercise 5-3 Using the DECODE Function |
|
|
266 | (3) |
|
|
269 | (2) |
|
|
271 | (6) |
|
|
273 | (1) |
|
|
274 | (1) |
|
|
275 | (2) |
|
6 Reporting Aggregated Data Using the Group Functions |
|
|
277 | (38) |
|
Describe the Group Functions |
|
|
278 | (5) |
|
Definition of Group Functions |
|
|
278 | (2) |
|
Types and Syntax of Group Functions |
|
|
280 | (3) |
|
Identify the Available Group Functions |
|
|
283 | (9) |
|
Using the Group Functions |
|
|
283 | (6) |
|
Exercise 6-1 Using the Group Functions |
|
|
289 | (1) |
|
|
290 | (2) |
|
Group Data Using the GROUP BY Clause |
|
|
292 | (7) |
|
|
292 | (2) |
|
|
294 | (2) |
|
Grouping by Multiple Columns |
|
|
296 | (1) |
|
Exercise 6-2 Grouping Data Based on Multiple Columns |
|
|
297 | (2) |
|
Include or Exclude Grouped Rows Using the HAVING Clause |
|
|
299 | (10) |
|
Restricting Group Results |
|
|
300 | (1) |
|
|
301 | (3) |
|
Exercise 6-3 Using the HAVING Clause |
|
|
304 | (3) |
|
|
307 | (2) |
|
|
309 | (6) |
|
|
311 | (1) |
|
|
312 | (2) |
|
|
314 | (1) |
|
7 Displaying Data from Multiple Tables |
|
|
315 | (50) |
|
Write SELECT Statements to Access Data from More Than One Table Using Equijoins and Nonequijoins |
|
|
316 | (22) |
|
|
317 | (5) |
|
Joining Tables Using ANSI SQL Syntax |
|
|
322 | (1) |
|
Qualifying Ambiguous Column Names |
|
|
323 | (2) |
|
|
325 | (2) |
|
Exercise 7-1 Using the NATURAL JOIN |
|
|
327 | (1) |
|
|
328 | (2) |
|
|
330 | (2) |
|
Exercise 7-2 Using the NATURAL JOIN...ON Clause |
|
|
332 | (1) |
|
N-Way Joins and Additional Join Conditions |
|
|
333 | (3) |
|
|
336 | (2) |
|
Join a Table to Itself Using a Self-Join |
|
|
338 | (3) |
|
Joining a Table to Itself Using the JOIN...ON Clause |
|
|
338 | (2) |
|
Exercise 7-3 Performing a Self-Join |
|
|
340 | (1) |
|
View Data That Does Not Meet a Join Condition by Using Outer Joins |
|
|
341 | (8) |
|
|
342 | (1) |
|
|
343 | (2) |
|
|
345 | (1) |
|
|
346 | (1) |
|
Exercise 7-4 Performing an Outer-Join |
|
|
347 | (2) |
|
Generate a Cartesian Product of Two or More Tables |
|
|
349 | (9) |
|
Creating Cartesian Products Using Cross Joins |
|
|
350 | (1) |
|
Exercise 7-5 Performing a Cross-Join |
|
|
351 | (5) |
|
|
356 | (2) |
|
|
358 | (7) |
|
|
361 | (1) |
|
|
362 | (1) |
|
|
363 | (2) |
|
8 Using Subqueries to Solve Problems |
|
|
365 | (30) |
|
|
366 | (3) |
|
Exercise 8-1 Types of Subqueries |
|
|
367 | (2) |
|
Describe the Types of Problems That the Subqueries Can Solve |
|
|
369 | (7) |
|
Use of a Subquery Result Set for Comparison Purposes |
|
|
369 | (2) |
|
|
371 | (1) |
|
Generate a Table from Which to SELECT |
|
|
372 | (1) |
|
Generate Values for Projection |
|
|
373 | (1) |
|
Generate Rows to be Passed to a DML Statement |
|
|
373 | (1) |
|
Exercise 8-2 More Complex Subqueries |
|
|
374 | (2) |
|
List the Types of Subqueries |
|
|
376 | (6) |
|
Single- and Multiple-Row Subqueries |
|
|
376 | (1) |
|
|
377 | (2) |
|
Exercise 8-3 Investigate the Different Types of Subqueries |
|
|
379 | (3) |
|
Write Single-Row and Multiple-Row Subqueries |
|
|
382 | (6) |
|
Exercise 8-4 Write a Query That Is Reliable and User Friendly |
|
|
383 | (4) |
|
|
387 | (1) |
|
|
388 | (7) |
|
|
392 | (1) |
|
|
393 | (1) |
|
|
394 | (1) |
|
9 Using the Set Operators |
|
|
395 | (28) |
|
Describe the Set Operators |
|
|
396 | (4) |
|
|
396 | (2) |
|
Set Operator General Principles |
|
|
398 | (1) |
|
Exercise 9-1 Describe the Set Operators |
|
|
399 | (1) |
|
Use a Set Operator to Combine Multiple Queries into a Single Query |
|
|
400 | (10) |
|
|
401 | (1) |
|
|
401 | (2) |
|
|
403 | (1) |
|
|
403 | (2) |
|
|
405 | (2) |
|
Exercise 9-2 Using the Set Operators |
|
|
407 | (3) |
|
Control the Order of Rows Returned |
|
|
410 | (7) |
|
Exercise 9-3 Control the Order of Rows Returned |
|
|
411 | (5) |
|
|
416 | (1) |
|
|
417 | (6) |
|
|
419 | (1) |
|
|
420 | (1) |
|
|
421 | (2) |
|
|
423 | (52) |
|
Describe Each Data Manipulation Language (DML) Statement |
|
|
424 | (9) |
|
|
425 | (1) |
|
|
426 | (1) |
|
|
427 | (1) |
|
|
428 | (1) |
|
|
429 | (1) |
|
|
429 | (4) |
|
|
433 | (8) |
|
Exercise 10-1 Use the INSERT Command |
|
|
439 | (2) |
|
|
441 | (5) |
|
Exercise 10-2 Use the UPDATE Command |
|
|
444 | (2) |
|
|
446 | (5) |
|
Removing Rows with DELETE |
|
|
446 | (1) |
|
Exercise 10-3 Use the DELETE Command |
|
|
447 | (2) |
|
Removing Rows with TRUNCATE |
|
|
449 | (1) |
|
|
450 | (1) |
|
|
451 | (14) |
|
|
451 | (4) |
|
The Transaction Control Statements |
|
|
455 | (1) |
|
Exercise 10-4 Use the COMMIT and ROLLBACK Commands |
|
|
456 | (7) |
|
|
463 | (2) |
|
|
465 | (10) |
|
|
469 | (2) |
|
|
471 | (2) |
|
|
473 | (2) |
|
11 Using DDL Statements to Create and Manage Tables |
|
|
475 | (38) |
|
Categorize the Main Database Objects |
|
|
476 | (6) |
|
|
476 | (2) |
|
|
478 | (1) |
|
|
479 | (2) |
|
|
481 | (1) |
|
Exercise 11-1 Determine What Objects Are Accessible to Your Session |
|
|
482 | (1) |
|
Review the Table Structure |
|
|
482 | (2) |
|
Exercise 11-2 Investigate Table Structures |
|
|
483 | (1) |
|
List the Data Types That Are Available for Columns |
|
|
484 | (4) |
|
Exercise 11-3 Investigate the Data Types in the HR schema |
|
|
488 | (1) |
|
|
488 | (8) |
|
Creating Tables with Column Specifications |
|
|
489 | (1) |
|
Creating Tables from Subqueries |
|
|
490 | (2) |
|
Altering Table Definitions After Creation |
|
|
492 | (1) |
|
Dropping and Truncating Tables |
|
|
493 | (1) |
|
Exercise 11-4 Create Tables |
|
|
494 | (2) |
|
Explain How Constraints Are Created at the Time of Table Creation |
|
|
496 | (11) |
|
|
497 | (3) |
|
|
500 | (4) |
|
Exercise 11-5 Work with Constraints |
|
|
504 | (2) |
|
|
506 | (1) |
|
|
507 | (6) |
|
|
509 | (1) |
|
|
510 | (1) |
|
|
511 | (2) |
|
|
513 | (4) |
|
|
514 | (1) |
|
Total Tester Premium Practice Exam Software |
|
|
514 | (1) |
|
Installing and Running Total Tester Premium Practice Exam Software |
|
|
514 | (1) |
|
|
515 | (1) |
|
|
515 | (2) |
|
Total Seminars Technical Support |
|
|
515 | (1) |
|
McGraw-Hill Content Support |
|
|
515 | (2) |
Glossary |
|
517 | (16) |
Index |
|
533 | |