Definition
Structured Query Language lets you select rows, insert new data, update fields and delete records. A simple query might ask for all orders placed in the last week.
Writing queries that use parameters rather than joining user input into text protects against injection attacks. Indexes speed up searches on large tables.
Most database systems, including MySQL and MariaDB, use SQL with small variations.