: Lex deHaan, Karen Morton, Tim Gorman, Inger Jorgensen, Daniel Fink, Andrew Morton
: Beginning Oracle SQL
: Apress
: 9781430271963
: 1
: CHF 35.80
:
: Allgemeines, Lexika
: English
: 459
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF

Beginning Oracle SQL is your introduction to the interactive query tools and specific dialect of SQL used with Oracle Database. The book is a revision of the classicMastering Oracle SQL and SQL*Plus byLex de Haan, and has been updated to cover developments in Oracle's version of the SQL query language. Written in an easygoing and example-based style,Beginning Oracle SQL is the book that will get you started down the path to successfully writing SQL statements and getting results from Oracle database.

  • Takes an example-based approach, with clear and authoritative explanations
  • Introduc s both SQL and the query tools used to execute SQL statements
  • Shows how to create tables, populate them with data, and then query that data to generate business results


Lex de Haan studied applied mathematics at the University of Technology in Delft, the Netherlands. His experience with Oracle goes back to the mid-1980s, version 4. He worked for Oracle Corporation from 1990 to 2004 in various education-related roles, ending up in Server Technologies (product development) as senior curriculum manager for the advanced database administration curriculum. In that role, he was involved in the development of Oracle9i and Oracle Database 10g. In March 2004, he decided to go independent and founded Natural Join B.V. (http://www.naturaljoin.nl). From 1999 until his passing in 2006, he was involved in the ISO SQL language standardization process, as a member of the Dutch national body. He was also one of the founding members of the OakTable network (http://www.oaktable.net).
Titlte Page 1
Copyright Page2
Contents at a Glance3
Table of Contents4
About the Authors17
Acknowledgments19
Introduction21
About this Book21
About the Chapters of this Book22
About the Case Tables23
Chapter 1: Relational Database Systems and Oracle24
1.1 Information Needs and Information Systems24
1.2 Database Design25
Entities and Attributes25
Generic vs. Specific26
Redundancy27
Consistency, Integrity, and Integrity Constraints28
Data Modeling Approach, Methods, and Techniques29
Semantics30
Information Systems Terms Review30
1.3 Database Management Systems30
DBMS Components31
Kernel31
Data Dictionary31
Query Languages31
DBMS Tools32
Database Applications32
DBMS Terms Review32
1.4 Relational Database Management Systems33
1.5 Relational Data Structures33
Tables, Columns, and Rows34
The Information Principle35
Datatypes35
Keys35
Missing Information and Null Values36
Constraint Checking37
Predicates and Propositions37
Relational Data Structure Terms Review37
1.6 Relational Operators38
1.7 How Relational Is My DBMS?39
1.8 The Oracle Software Environment40
1.9 Case Tables42
The ERM Diagram of the Case42
Table Descriptions44
Chapter 2: Introduction to SQL, AQL*Plus, and SQL Developer48
2.1 Overview of SQL48
Data Definition49
Data Manipulation and Transactions49
Retrieval50
Security52
Privileges and Roles52
GRANT and REVOKE54
2.2 Basic SQL Concepts and Terminology55
Constants (Literals)55
Variables57
Operators, Operands, Conditions, and Expressions57
Arithmetic Operators58
The Alphanumeric Operator: Concatenation58
Comparison Operators58
Logical Operators59
Expressions59
Functions60
Database Object Naming61
Comments62
Reserved Words62
2.3 Introduction to SQL*Plus62
Entering Commands63
Using the SQL Buffer64
Using an External Editor65
Using the SQL*Plus Editor66
Using SQL Buffer Line Numbers69
Using the Ellipsis71
SQL*Plus Editor Command Review71
Saving Commands72
Running SQL*Plus Scripts74
Specifying Directory Path Specifications75
Adjusting SQL*Plus Settings76
Spooling a SQL*Plus Session79
Describing Database Objects80
Executing Commands from the Operating System80
Clearing the Buffer and the Screen80
SQL*Plus Command Review80
2.4 Introduction to SQL Developer81
Installing and Configuring SQL Developer81
Connecting to a Database84
Exploring Objects85
Entering Commands86
Run Statement87
Run Script88
Saving Commands to a Script89
Running a Script90
Chapter 3: Data Definition, Part I93
3.1 Schemas and Users93
3.2 Table Creation94
3.3 Datatypes95
3.4 Commands for Creating the Case Tables97
3.5 The Data Dictionary99
Chapter 4: Retrieval: The Basics104
4.1 Overview of the SELECT Command104
4.2 The SELECT Clause106
Column Aliases107
The DISTINCT Keyword108
Column Expressions108
The DUAL Table109
Null Values in Expressions111
4.3 The WHERE Clause111
4.4 The ORDER BY Clause112
4.5 AND, OR, and NOT115
The OR Operator115
The AND Operator and Operator Precedence Issues116