Book description
This fully revised, self-paced learning tool lays out all the necessary steps to quickly and easily start writing SQL programs
Thoroughly updated to reflect the most recent ANSI/ISO standard, SQL: A Beginner's Guide, Fourth Edition will get you up-and-running with SQL programming right away. Clear tutorials, annotated code, and proven instructional tools guide you to easily performing queries and modifications, building databases, creating and reviewing embedded statements, troubleshooting system- and data-related problems, and much more.
You will learn how to retrieve, insert, update, and delete database data, and perform management and administrative functions. The book also covers new features, including SQL/XML and the long-awaited temporal support. Code examples are provided throughout along with notes on using them with the latest RDBMS software versions such as MySQL 5.7, SQL Server 2014, and Oracle Database 12c.
- Platform-neutral coverage; all skills can be applied to any database product, and any SQL version
- Features hands-on exercises and self-tests that reinforce basic knowledge
- ”Ask the Expert” sections throughout are filled with bonus information and useful tips
Table of contents
- Cover
- Title Page
- Copyright Page
- Dedication
- Contents at a Glance
- Contents
- Acknowledgments
- Introduction
-
PART I Relational Databases and SQL
- 1 Introduction to Relational Databases and SQL
- 2 Working with the SQL Environment
-
3 Creating and Altering Tables
- Create SQL Tables
- Specify Column Data Types
- Create User-Defined Types
- Specify Column Default Values
- Specify Identity Column and Generation Options
- Try This 3-1: Creating SQL Tables
- Alter SQL Tables
- Drop SQL Tables
- Truncate SQL Tables
- Try This 3-2: Altering and Deleting SQL Tables
- Chapter 3 Self Test
- 4 Enforcing Data Integrity
- 5 Creating SQL Views
- 6 Managing Database Security
-
PART II Data Access and Modification
- 7 Querying SQL Data
- 8 Modifying SQL Data
- 9 Using Predicates
- 10 Working with Functions and Value Expressions
- 11 Accessing Multiple Tables
- 12 Using Subqueries to Access and Modify Data
- 13 Working with Temporal Data
-
PART III Advanced Data Access
-
14 Creating SQL-Invoked Routines
- Understand SQL-Invoked Routines
- Create SQL-Invoked Procedures
- Add Input Parameters to Your Procedures
- Add Local Variables to Your Procedures
- Work with Control Statements
- Try This 14-1: Creating SQL-Invoked Procedures
- Add Output Parameters to Your Procedures
- Create SQL-Invoked Functions
- Try This 14-2: Creating SQL-Invoked Functions
- Chapter 14 Self Test
- 15 Creating SQL Triggers
- 16 Using SQL Cursors
- 17 Managing SQL Transactions
- 18 Accessing SQL Data from Your Host Program
- 19 Working with XML Data
-
14 Creating SQL-Invoked Routines
- PART IV Appendices
- Index
Product information
- Title: SQL: A Beginner's Guide, Fourth Edition, 4th Edition
- Author(s):
- Release date: November 2015
- Publisher(s): McGraw-Hill
- ISBN: 9780071842570
You might also like
book
Data Analysis with Microsoft Power BI
Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, …
book
The Art of Communication
Bring nuance, depth, and meaning to every conversation you have The Art of Communication is for …
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
Inclusive Design for a Digital World: Designing with Accessibility in Mind
What is inclusive design? It is simple. It means that your product has been created with …