SQL A Beginner’s Guide 3rd Edition by Andy Oppel, Robert Sheldon – Ebook PDF Instant Download/Delivery: 0071548645, 9780071548649
Full download SQL A Beginner’s Guide 3rd Edition after payment
Product details:
ISBN 10: 0071548645
ISBN 13: 9780071548649
Author: Andy Oppel, Robert Sheldon
Written to the SQL:2006 ANSI/ISO standard, this easy-to-follow guide will get you started programming in SQL right away. You will learn how to retrieve, insert, update, and delete database data, and perform management and administrative functions. SQL: A Beginner’s Guide, Third Edition covers new features, including SQL/XML, and is loaded with updated SQL examples along with notes on using them with the latest RDBMS software versions such as MySQL 5.0, SQL Server 2008, and Oracle Database 11g.
Designed for Easy Learning:
-
Key Skills & Concepts–Lists of specific skills covered in the chapter
-
Ask the Experts–Q&A sections filled with bonus information and helpful tips
-
Try This–Hands-on exercises that show how to apply your skills
-
Notes–Extra information related to the topic being covered
-
Self-Tests–Chapter-ending quizzes to test your knowledge
-
Annotated Syntax–Example code with commentary that describes the programming techniques being illustrated
SQL A Beginner’s Guide 3rd Table of contents:
PART I Relational Databases and SQL
1 Introduction to Relational Databases and SQL
Understand Relational Databases
The Relational Model
Learn About SQL
The SQL Evolution
Types of SQL Statements
Types of Execution
SQL Standard versus Product Implementations
2 Working with the SQL Environment
Understand the SQL Environment
Understand SQL Catalogs
Schemas
Schema Objects
Then What Is a Database?
Name Objects in an SQL Environment
Qualified Names
Create a Schema
Create a Database
3 Creating and Altering Tables
Create SQL Tables
Specify Column Data Types
String Data Types
Numeric Data Types
Datetime Data Types
Interval Data Type
Boolean Data Type
Using SQL Data Types
Create User-Defined Types
Specify Column Default Values
Delete SQL Tables
4 Enforcing Data Integrity
Understand Integrity Constraints
Use NOT NULL Constraints
Add UNIQUE Constraints
Add PRIMARY KEY Constraints
Add FOREIGN KEY Constraints
The MATCH Clause
The Clause
Define CHECK Constraints
Defining Assertions
Creating Domains and Domain Constraints
5 Creating SQL Views
Add Views to the Database
Defining SQL Views
Create Updateable Views
Using the WITH CHECK OPTION Clause
Drop Views from the Database
6 Managing Database Security
Understand the SQL Security Model
SQL Sessions
Accessing Database Objects
Create and Delete Roles
Grant and Revoke Privileges
Revoking Privileges
Grant and Revoke Roles
Revoking Roles
PART II Data Access and Modification
7 Querying SQL Data
Use a SELECT Statement to Retrieve Data
The SELECT Clause and FROM Clause
Use the WHERE Clause to Define Search Conditions
Defining the WHERE Clause
Use the GROUP BY Clause to Group Query Results
Use the HAVING Clause to Specify Group Search Conditions
Use the ORDER BY Clause to Sort Query Results
8 Modifying SQL Data
Insert SQL Data
Inserting Values from a SELECT Statement
Update SQL Data
Updating Values from a SELECT Statement
Delete SQL Data
9 Using Predicates
Compare SQL Data
Using the BETWEEN Predicate
Return Null Values
Return Similar Values
Reference Additional Sources of Data
Using the IN Predicate
Using the EXISTS Predicate
Quantify Comparison Predicates
Using the SOME and ANY Predicates
Using the ALL Predicate
10 Working with Functions and Value Expressions
Use Set Functions
Using the COUNT Function
Using the MAX and MIN Functions
Using the SUM Function
Using the AVG Function
Use Value Functions
Working with String Value Functions
Working with Datetime Value Functions
Use Value Expressions
Working with Numeric Value Expressions
Using the CASE Value Expression
Using the CAST Value Expression
Use Special Values
11 Accessing Multiple Tables
Perform Basic Join Operations
Using Correlation Names
Creating Joins with More than Two Tables
Creating the Cross Join
Creating the Self-Join
Join Tables with Shared Column Names
Creating the Natural Join
Creating the Named Column Join
Use the Condition Join
Creating the Inner Join
Creating the Outer Join
Perform Union Operations
12 Using Subqueries to Access and Modify Data
Create Subqueries That Return Multiple Rows
Using the IN Predicate
Using the EXISTS Predicate
Using Quantified Comparison Predicates
Create Subqueries That Return One Value
Work with Correlated Subqueries
Use Nested Subqueries
Use Subqueries to Modify Data
Using Subqueries to Insert Data
Using Subqueries to Update Data
Using Subqueries to Delete Data
PART III Advanced Data Access
13 Creating SQL-Invoked Routines
Understand SQL-Invoked Routines
SQL-Invoked Procedures and Functions
Working with the Basic Syntax
Create SQL-Invoked Procedures
Invoking SQL-Invoked Procedures
Add Input Parameters to Your Procedures
Using Procedures to Modify Data
Add Local Variables to Your Procedures
Work with Control Statements
Create Compound Statements
Create Conditional Statements
Create Looping Statements
Add Output Parameters to Your Procedures
Create SQL-Invoked Functions
14 Creating SQL Triggers
Understand SQL Triggers
Trigger Execution Context
Create SQL Triggers
Referencing Old and New Values
Dropping SQL Triggers
Create Insert Triggers
Create Update Triggers
Create Delete Triggers
15 Using SQL Cursors
Understand SQL Cursors
Declaring and Opening SQL Cursors
Declare a Cursor
Working with Optional Syntax Elements
Creating a Cursor Declaration
Open and Close a Cursor
Retrieve Data from a Cursor
Use Positioned UPDATE and DELETE Statements
Using the Positioned UPDATE Statement
Using the Positioned DELETE Statement
16 Managing SQL Transactions
Understand SQL Transactions
Set Transaction Properties
Specifying an Isolation Level
Specifying a Diagnostics Size
Creating a SET TRANSACTION Statement
Start a Transaction
Set Constraint Deferability
Create Savepoints in a Transaction
Releasing a Savepoint
Terminate a Transaction
Committing a Transaction
Rolling Back a Transaction
17 Accessing SQL Data from Your Host Program
Invoke SQL Directly
Embed SQL Statements in Your Program
Creating an Embedded SQL Statement
Using Host Variables in Your SQL Statements
Retrieving SQL Data
Error Handling
Create SQL Client Modules
Defining SQL Client Modules
Use an SQL Call-Level Interface
Allocating Handles
Executing SQL Statements
Working with Host Variables
Retrieving SQL Data
18 Working with XML Data
Learn the Basics of XML
Learn About SQL/XML
The XML Data Type
SQL/XML Functions
SQL/XML Mapping Rule
PART IV Appendices
A Answers to Self Test
B SQL:2006 Keywords
SQL Reserved Keywords
SQL Nonreserved Keywords
C SQL Code Used in Try This Exercises
SQL Code by Try This Exercise
The INVENTORY Database
People also search for SQL A Beginner’s Guide 3rd:
a guide to sql pdf
a guide to sql 9th edition pdf
a guide to sql 9th edition pdf free
beginning sql pdf
Tags: Andy Oppel, Robert Sheldon, Beginner’s, Guide