SQL for MySQL Developers: A Comprehensive Tutorial and Reference
Authors: Rick F. van der Lans
Venue:  (2007)

The Most Complete and Practical Guide to MySQL Version 5's Powerful SQL DialectMySQL version 5 offers a SQL dialect with immense power. In SQL for MySQL Developers, Rick F. van der Lans helps you master this version ofSQL and take advantage of its full potential. Using case study examplesand hands-on exercises, van der Lans illuminates every key concept,technique, and statementï¾including advanced features that make iteasier to create even the most complex statements and programs.Drawing on decades of experience as an SQL standards team member and enterprise consultant, he reveals exactly why MySQL's dialect 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, Web developer, analyst, DBA, or database user, this book can take you from “apprentice” to true SQL expert. If you've used SQL in older versions of MySQL, you'll become dramatically more effectiveï¾and if you're migrating from other database platforms, you'll gain practical mastery fast.Coverage includes Writing queries, including joins, functions, and subqueries Updating data Creating tables, views, and other database objects Specifying keys and other integrity constraints Improving efficiency with indexes Enforcing security via passwords and privileges Embedding SQL statements within PHP programs Building stored procedures and triggers Using transactions, locking, rollback, and isolation levels Utilizing MySQL's catalogAll of the book's sample programs are available for download from www.r20.nl.About the AuthorRick F. van der Lans is author of the classic Introduction to SQL, the definitive SQL guide that database developers have relied on for more than 20 years. He is a consultant, author, and lecturer specializing in database technology, development tools, data warehousing, and XML. As managing director of the Netherlands-based R20/Consultancy, he has advised many large companies on defining their IT architectures. He chairs the European Meta Data Conference, and writes columns for several magazines.ContentsAbout the Authorï¾ ï¾ Prefaceï¾ ï¾ ï¾ ï¾ PART I Introduction ï¾ ï¾ ï¾ CHAPTER 1 Introduction to MySQL ï¾ ï¾ ï¾ CHAPTER 2 The Tennis Club Sample Database ï¾ ï¾ ï¾ CHAPTER 3 Installing the Software ï¾ ï¾ ï¾ CHAPTER 4 SQL in a Nutshell ï¾ ï¾ ï¾ PART II Querying and Updating Data ï¾ ï¾ ï¾ ï¾ CHAPTER 5 SELECT Statement: Common Elements ï¾ ï¾ ï¾ CHAPTER 6 SELECT Statements, Table Expressions, and Subqueries ï¾ ï¾ ï¾ CHAPTER 7 SELECT Statement:The FROM Clause ï¾ ï¾ ï¾ CHAPTER 8 SELECT Statement: The WHERE Clause ï¾ ï¾ ï¾ CHAPTER 9 SELECT Statement: SELECT Clause and Aggregation Functions ï¾ ï¾ ï¾ CHAPTER 10 SELECT Statement: The GROUP BY Clause ï¾ ï¾ ï¾ CHAPTER 11 SELECT Statement: The HAVING Clause ï¾ ï¾ ï¾ CHAPTER 12 SELECT Statement: The ORDER BY Clause ï¾ ï¾ ï¾ CHAPTER 13 SELECT Statement: The LIMIT Clause ï¾ ï¾ ï¾ CHAPTER 14 Combining Table Expressions ï¾ ï¾ ï¾ CHAPTER 15 The User Variable and the SET Statement ï¾ ï¾ ï¾ CHAPTER 16 The HANDLER Statement ï¾ ï¾ ï¾ CHAPTER 17 Updating Tables ï¾ ï¾ ï¾ CHAPTER 18 Loading and Unloading Data ï¾ ï¾ ï¾ CHAPTER 19 Working with XML Documents ï¾ ï¾ ï¾ PART III Creating Database Objects ï¾ ï¾ ï¾ ï¾ CHAPTER 20 Creating Tables ï¾ ï¾ ï¾ CHAPTER 21 Specifying Integrity Constraints ï¾ ï¾ ï¾ CHAPTER 22 Character Sets and Collations ï¾ ï¾ ï¾ CHAPTER 23 The ENUM and SET Types ï¾ ï¾ ï¾ CHAPTER 24 Changing and Dropping Tables ï¾ ï¾ ï¾ CHAPTER 25 Using Indexes ï¾ ï¾ ï¾ CHAPTER 26 Views ï¾ ï¾ ï¾ CHAPTER 27 Creating Databases ï¾ ï¾ ï¾ CHAPTER 28 Users and Data Security ï¾ ï¾ ï¾ CHAPTER 29 Statements for Table Maintenance ï¾ ï¾ ï¾ CHAPTER 30 The SHOW, DESCRIBE, and HELP Statements ï¾ ï¾ ï¾ PART IV Procedural Database Objects ï¾ ï¾ ï¾ ï¾ CHAPTER 31 Stored Procedures ï¾ ï¾ ï¾ CHAPTER 32 Stored Functions ï¾ ï¾ ï¾ CHAPTER 33 Triggers ï¾ ï¾ ï¾ CHAPTER 34 Events ï¾ ï¾ ï¾ PART V Programming with SQL ï¾ ï¾ ï¾ ï¾ CHAPTER 35 MySQL and PHP ï¾ ï¾ ï¾ CHAPTER 36 Dynamic SQL with Prepared Statement ï¾ ï¾ ï¾ CHAPTER 37 Transactions and Multiuser Usage ï¾ ï¾ ï¾ APPENDIX A Syntax of SQL ï¾ ï¾ ï¾ APPENDIX B Scalar Functions ï¾ ï¾ ï¾ APPENDIX C System Variables ï¾ ï¾ ï¾ APPENDIX D Bibliography ï¾ ï¾ ï¾ Index ï¾ ï¾ ï¾ The ACM Portal is published by the Association for Computing Machinery. Copyright © 2010 ACM, Inc. Terms of Usage Privacy Policy Code of Ethics Contact Us Useful downloads: Adobe Acrobat QuickTime Windows Media Player Real Player