O'Reilly logo

SQL: Visual QuickStart Guide by Chris Fehily

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MySQL

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.

To use the mysql command-line utility interactively:

1.
At a command prompt, type:
mysql dbname
							
dbname is the name of the database to use.
2.
Type an SQL statement. The statement may span multiple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required