جزییات کتاب
The Most Complete and Practical Guide to MySQL Version 5’s Powerful SQL Dialect В MySQL 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 catalog All of the book’s sample programs are available for download from www.r20.nl. В About the Author Rick 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. В Contents About 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 В В В