This document provides an introduction to SQL (Structured Query Language). It discusses:
1. SQL is the standard language for querying and manipulating data in relational databases. There are various SQL standards like ANSI SQL, SQL92, and SQL99. Vendors support different subsets.
2. SQL has three main components: DDL for defining schema, DML for manipulating data, and queries. Basic queries use SELECT, FROM, and WHERE clauses to retrieve data from one or more tables.
3. Tables have a schema defining attributes/columns. Tuples/rows store the data values. Keys uniquely identify rows. Data types define valid values for attributes.
4. Simple queries can select,