AI Features

Introduction to SQL

In this lesson, we'll quickly introduce SQL.

SQL, which stands for Structured Query Language, is widely used in web applications to store and retrieve data from databases. SQL is a subtle and complex topic, so, for now, we’ll cover just enough to understand one of the most common database attacks, the SQL injection.

The examples in this chapter are written to work on MySQL, a widely used open-source database.

How SQL works

The first step in using SQL is to ...