title: SQL for MySQL Developers: A Comprehensive Tutorial and Reference
author:  Rick F. van der Lans 
description: 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 <BR> Preface <BR> PART I Introduction <BR> CHAPTER 1 Introduction to MySQL <BR> CHAPTER 2 The Tennis Club Sample Database <BR> CHAPTER 3 Installing the Software <BR> CHAPTER 4 SQL in a Nutshell <BR> PART II Querying and Updating Data CHAPTER 5 SELECT Statement: Common Elements <BR> CHAPTER 6 SELECT Statements, Table Expressions, and Subqueries <BR> CHAPTER 7 SELECT Statement: The FROM Clause <BR> CHAPTER 8 SELECT Statement: The WHERE Clause <BR> CHAPTER 9 SELECT Statement: SELECT Clause and Aggregation Functions <BR> CHAPTER 10 SELECT Statement: The GROUP BY Clause <BR> CHAPTER 11 SELECT Statement: The HAVING Clause <BR> CHAPTER 12 SELECT Statement: The ORDER BY Clause <BR> CHAPTER 13 SELECT Statement: The LIMIT Clause <BR> CHAPTER 14 Combining Table Expressions <BR> CHAPTER 15 The User Variable and the SET Statement <BR> CHAPTER 16 The HANDLER Statement <BR> CHAPTER 17 Updating Tables <BR> CHAPTER 18 Loading and Unloading Data <BR> CHAPTER 19 Working with XML Documents <BR> PART III Creating Database Objects CHAPTER 20 Creating Tables <BR> CHAPTER 21 Specifying Integrity Constraints <BR> CHAPTER 22 Character Sets and Collations <BR> CHAPTER 23 The ENUM and SET Types <BR> CHAPTER 24 Changing and Dropping Tables <BR> CHAPTER 25 Using Indexes <BR> CHAPTER 26 Views <BR> CHAPTER 27 Creating Databases <BR> CHAPTER 28 Users and Data Security <BR> CHAPTER 29 Statements for Table Maintenance <BR> CHAPTER 30 The SHOW, DESCRIBE, and HELP Statements <BR> PART IV Procedural Database Objects CHAPTER 31 Stored Procedures <BR> CHAPTER 32 Stored Functions <BR> CHAPTER 33 Triggers <BR> CHAPTER 34 Events <BR> PART V Programming with SQL CHAPTER 35 MySQL and PHP <BR> CHAPTER 36 Dynamic SQL with Prepared Statement <BR> CHAPTER 37 Transactions and Multiuser Usage <BR> APPENDIX A Syntax of SQL <BR> APPENDIX B Scalar Functions <BR> APPENDIX C System Variables <BR> APPENDIX D Bibliography <BR> Index <BR>
zlib_text: MySQL        
   
   
   
  i 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
  
  MySQL        
   
   
   
  i 
   
  About the Tutorial 
  MySQL is the most popular Open Source Relational SQL Database Management System. 
  MySQL is one of the best RDBMS being used for developing various web-based software 
  applications. MySQL is developed, marketed and supported by MySQL AB, which is a 
  Swedish company. 
  This tutorial will give you a quick start to MySQL and make you comfortable with MySQL 
  programming. 
     
  Audience 
  This tutorial is prepared for the beginners to help them understand the basics-to-advanced 
  concepts related to MySQL languages. 
   
  Prerequisites 
  Before you start doing practice with various types of examples given in this tutorial, it is 
  being assumed that you are already aware about what a database is, especially an RDBMS 
  and what is a computer programming language. 
   
  Copyright & Disclaimer 
   Copyright 2016 by Tutorials Point (I) Pvt. Ltd.  
  All the content and graphics publishe