Beginning Oracle SQL is your introduction to the interactive query tools and specific dialect of SQL used with Oracle Database. These tools include SQL*Plus and SQL Developer. SQL*Plus is the one tool any Oracle developer or database administrator can always count on, and it is widely used in creating scripts to automate routine tasks. SQL Developer is a powerful, graphical environment for developing and debugging queries.
Oracle's is possibly the most valuable dialect of SQL from a career standpoint. Oracle's database engine is widely used in corporate environments worldwide. It is also found in many government applications. Oracle SQL implements many features not found in competing products. No developer or DBA working with Oracle can afford to be without knowledge of these features and how they work, because of the performance and expressiveness they bring to the table.
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
Introduces 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
What you'll learn
Create database tables and define their relationships.
Add data to your tables. Then change and delete that data.
Write database queries that generate accurate results.
Avoid common traps and pitfalls in writing SQL queries, especially from nulls.
Reap the performance and expressiveness of analytic and window functions.
Make use of Oracle Database's support for object types.
Write recursive queries to query hierarchical data.
Who this book is for
Beginning Oracle SQL is aimed at developers and database administrators who must write SQL statements to execute against an Oracle database. No prior knowledge of SQL is assumed.
Table of Contents
- Title Page
- Contents at a Glance
- About the Authors
- About the Technical Reviewer
- CHAPTER 1: Relational Database Systems and Oracle
- CHAPTER 2: Introduction to SQL and SQL Developer
- CHAPTER 3: Data Definition, Part I
- CHAPTER 4: Retrieval: The Basics
- CHAPTER 5: Retrieval: Functions
- CHAPTER 6: Data Manipulation
CHAPTER 7: Data Definition, Part II
- 7.1 The CREATE TABLE Command
- 7.2 More on Datatypes
- 7.3 The ALTER TABLE and RENAME Commands
- 7.4 Constraints
- 7.5 Indexes
- 7.6 Performance Monitoring with SQL Developer AUTOTRACE
- 7.7 Sequences
- 7.8 Synonyms
- 7.9 The CURRENT_SCHEMA Setting
- 7.10 The DROP TABLE Command
- 7.11 The TRUNCATE Command
- 7.12 The COMMENT Command
- 7.13 Exercises
- CHAPTER 8: Retrieval: Multiple Tables and Aggregation
- CHAPTER 9: Retrieval: Some Advanced Features
- CHAPTER 10: Views
- CHAPTER 11: SQL*Plus Basics and Scripting
- CHAPTER 12: Object-Relational Features
- APPENDIX A: The Seven Case Tables
- APPENDIX B: Answers to the Exercises
- Title: Beginning Oracle SQL: for Oracle Database 12c, Third Edition
- Release date: March 2014
- Publisher(s): Apress
- ISBN: 9781430265566