Structured Query Language
Appearance
Structured Query Language (SQL) is a widely-used programming language for working with relational databases. The name of the language is generally pronounced as the three letters of its abbreviation ˈɛs kjuː ˈɛl or, in some people's usage, as ˈsiːkwəl.
This Wikibook provides a short description of SQL, its origins, basic concepts and components, and many examples. The book follows the specifications of the SQL:2011 standard developed by a common committee of ISO and IEC. Their publications are not freely available but can be ordered online.[1] Or you may want to refer to a working draft that you can download from Whitemarsh Information Systems Corporation.
Introduction
- About the Book
- Database Management Systems (DBMS)
- Relational DBMS (rDBMS)
- SQL: A Language for Working with rDBMS
- SQL: The Standard ISO IEC 9075 and various Implementations
- Language Elements
- Learning by Doing
Foundation
Data Query Language
Data Manipulation Language
- INSERT
- INSERT, using Subqueries
- UPDATE
- UPDATE, using Subqueries
- DELETE
- DELETE, using Subqueries
- MERGE
- TRUNCATE
- COMMIT and ROLLBACK
Data Definition Language
Data Control Language
Advanced Topics
- Additional SELECT features
- Transactions / Isolation Levels
- Some Notes on typical SQL (non-trivial) Tasks
Appendices
References
See also
- Wikibook Microsoft SQL Server
- Wikibook MySQL
- Wikibook Oracle Database
- Wikibook PostgreSQL
- Wikibook SQLite
- Wikipedia: SQL Key Words