This is the classic SQL tutorial: fully updated for today's standards and today's top databases for twenty years.
Rick van der Lans' introduction to SQL has been the definitive SQL tutorial for every database professional, regardless of experience or platform.
Now, van der Lans has systematically updated this classic guide to reflect the latest SQL standards, and the newest versions of today's leading RDBMSs: Oracle, Microsoft SQL Server, DB2, and MySQL.
Using case study examples and hands-on exercises, van der Lans illuminates every key SQL concept, technique, and statement.
Drawing on decades of experience as an SQL standards team member and enterprise consultant, he reveals exactly why SQL works as it does - and how to get the most out of it.
You'll gain powerful insight into everything from basic queries to stored procedures, transactions to data security.Whether you're a programmer or DBA, this book can take you from "apprentice" to true SQL master: writing queries and updating data: all you need to know about SELECT; working with joins, functions, and subqueries; creating database objects: tables, indexes, views, and more; specifying keys and other integrity constraints; using indexes to improve efficiency; enforcing security via passwords and privileges; building stored procedures and triggers; developing with embedded SQL and ODBC; working with transactions, including rollbacks, savepoints, isolation levels, and more; optimizing performance by reformulating SQL statements; using object-relational features: subtables, references, sets, and user-defined data types; and reference section: SQL statement definitions and SQL function lists.