MySQL Cookbook

Front Cover
"O'Reilly Media, Inc.", 2014 - Database management - 866 pages
MySQL's popularity has brought a flood of questions about how to solve specific problems, and that's where this cookbook is essential. When you need quick solutions or techniques, this handy resource provides scores of short, focused pieces of code, hundreds of worked-out examples, and clear, concise explanations. Ideal for beginners and professional database and web developers, this updated third edition covers powerful features in MySQL 5.6 (and some in 5.7).
 

Contents

Chapter 1 Using the mysql Client Program
1
Chapter 2 Writing MySQLBased Programs
25
Chapter 3 Selecting Data from Tables
105
Chapter 4 Table Management
127
Chapter 5 Working with Strings
139
Chapter 6 Working with Dates and Times
179
Chapter 7 Sorting Query Results
233
Chapter 8 Generating Summaries
271
Chapter 14 Using Joins and Subqueries
473
Chapter 15 Statistical Techniques
511
Chapter 16 Handling Duplicates
549
Chapter 17 Performing Transactions
565
Chapter 18 Introduction to MySQL on the Web
577
Chapter 19 Generating Web Content from Query Results
605
Chapter 20 Processing Web Input with MySQL
647
Chapter 21 Using MySQLBased Web Session Management
725

Chapter 9 Using Stored Routines Triggers and Scheduled Events
307
Chapter 10 Working with Metadata
335
Chapter 11 Importing and Exporting Data
367
Chapter 12 Validating and Reformatting Data
409
Chapter 13 Generating and Using Sequences
445
Chapter 22 Server Administration
757
Chapter 23 Security
783
Index
805
About the Author
838
Copyright

Common terms and phrases

Bibliographic information