SQL is a standard language for querying and manipulating databases. It has two main types: DML for data manipulation using SELECT statements, and DDL for data definition using CREATE statements. SQL can be used with many database programs and platforms. It allows flexible querying of data through the use of SELECT, FROM, WHERE, ORDER BY, and other clauses. Joining multiple tables allows querying data that spans different but related tables through primary and foreign keys.