5. Introduction to SQL

The preceding chapter provided a quick introduction to MySQL. That chapter focused on two topics: using MySQL’s rules and data types to define a database, and how to interact with the MySQL server. This chapter moves on to the lingua franca of databases: SQL.

SQL, short for Structured Query Language, is a group of special words used exclusively for interacting with databases. SQL is surprisingly easy to learn and use, and yet it’s amazingly powerful. In fact, the hardest thing to do in SQL is ...

Get PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.