MySQL is a leading open-source DBMS. It is fast, stable, and supports large databases. MySQL is known for its speed but is missing some important SQL features. (Version 4.1 promises to add subqueries and foreign keys.) MySQL runs on many operating systems and hardware platforms and is free for personal use; you can download it from www.mysql.com.
This book covers MySQL 4.0. To determine which version of MySQL you are running, type SELECT VERSION(); at a mysql prompt and press Enter.
You can use the mysql command-line utility to run SQL programs.
At a command prompt, type:
dbname is the name of the database to use.
Type an SQL statement. The statement may span multiple ...