MySQL Cookbook, 2nd Second Edition (CHM英文版)
(CHM 英文版)
By Paul DuBois
Publisher: O'Reilly
Pub Date: November 01, 2006
ISBN-10: 0-596-52708-X
ISBN-13: 978-0-596-52708-2
Pages: 1000
The new edition covers MySQL 5.0 and its powerful new features, as well as the older but still widespread MySQL 4.1. One major emphasis of this book is how to use SQL to formulate queries for particular kinds of questions, using the mysql client program included in MySQL distributions. The other major emphasis is how to write programs that interact with the MySQL server through an API. You'll find plenty of examples using several language APIs in multiple scenarios and situations, including the use of Ruby to retrieve and format data. There are also many new examples for using Perl, PHP, Python, and Java as well.
Access data from multiple tables at the same time
Use SQL to select, sort, and summarize rows
Find matches or mismatches between rows in two tables
Determine intervals between dates or times, including age calculations
Store images into MySQL and retrieve them for display in web pages
Get LOAD DATA to read your data files properly or find which values in the file are invalid
Use strict mode to prevent entry of bad data into your database
Copy a table or a database to another server
Generate sequence numbers to use as unique row identifiers
Create database events that execute according to a schedule
And a lot more
详细介绍,源码在此:http://oreilly.com/catalog/9780596527082/index.html
(源码在页面中的Examples链接)