Home
Programming
AspectJ   Basic   C   C++   C#   Eiffel   Java   JavaScript   Pascal   PHP   Python   Rexx   Ruby   Scriptol   Tcl
Markup
HTML   XML   XAML   XUL
Query
SQL

SQL  -  Database Management

This is the most used language for building and using relational databases. The original name was SEQUEL that is a short for "Structured English QUEry Language", but was condensed to SQL and the full name "Structured Query Language", come then. Must be pronounced S-Q-L.
The authors are Donald D. Chamberlin and Raymond F. Boyce at IBM. The System/38 implemention was sold by IBM in 1979, and Oracle by Relational Software in the same year. In 1982 IBM implemented SQL in DB2.
SQL becomes ANSI standard in 1986, ISO standard in 1987 but actual implementations are far to be standardized.
SQL 2003 added XML features to the language.

What is a relational database management system?

In the relational model, queries are expressed declaratively as relations between categories of data (and, or, mainly).

Variants and procedural extensions

Main free software

SQL 2003 features

Why to use SQL?

SQL is convenient for managing large collections of data with a predefined list of components. The classical activity of an enterprise, transactions and resources are perfectly managed by a such tool while intelligent information processing requires another format as XML.

Sites and tools

Sample code

Hello world
CREATE TABLE message (text char(15));
INSERT INTO message (text) 
  VALUES ('Hello, World!');
SELECT text 
  FROM message;
DROP TABLE message;
Choose articles that cost less than 50 $
SELECT * 
FROM article 
WHERE price < 50 
Home