User:Kelti/sandbox
Structured Query Language (SQL) is a widely-used programming language for working with relational databases. This Wikibook provides a short description of SQL, its origins, basic concepts and components, and a lot of examples. The book follows the specifications of the SQL:2011 standard, which is developed by a common committee of ISO and IEC. Their publications are not freely available. But you may want to refer to a working draft of SQL:2008, which you can download from Whitemarsh Information Systems Corporation.
For a thorough look at special SQL implementations, see MySQL or Oracle Programming/SQL Cheatsheet.
For a comparision of SQL dialects/implementations, see SQL Dialects Reference.
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
The Basics
- Create a Table
- Elementary Examples
- Type System
- Operators, Functions
- Design your Data
The SQL Language
Old pages whose content will be moved to new pages below:
-
Relational Databases (The content should be devided into two pages: one explaining fundamentals of relational databases and another presenting our example database.)Data Query Language (The term DQL is unusual and should be eliminated. The content should be integrated within DML.)Data Manipulation LanguageData Definition LanguageData Control LanguagePerformance (Should be moved to CREATE INDEX page)
New pages to be developed:
DML 1
- Simple Queries
DML 2
- INSERT: Insert new Rows
- UPDATE: Change existing Data
- DELETE: Delete Rows
- Transactions: Atomic Changes, Concurrent Processes, ACID postulate
DML 3
- Extended Queries
- Three Value Logic
DDL
- Predefined Data Types
- Define Tables
- Define Functions and Procedures
DCL
- Managing Rights
Appendices
- The Example Database
- Glossary
- List of Keywords
- Style Guide for Creating Tables
- Style Guide for Naming Objects
- Bibliographie
- Return Codes (switch from DB2 to standard-compliant codes ???)