|
|
|
|
The most common language used with relational databases is Structured Query Language (SQL, often pronounced "Sequel"), which was invented by IBM in the 1970s. It became an ANSI (Americal National Standards Institute) standard in 1986 (SQL-86), and this was followed by an updated standard in 1989 (SQL-89). In 1992, ANSI and ISO (International Standards Organization) published an updated standard for SQL, called SQL-92. SQL is rather an unwieldy language, and it is (especially as specified in more recent standards) an extremely large language. Unfortunately, despite the standardization efforts, and because of the dominance of a small number of database vendors who have proprietary implementations of the SQL language, with their own extensions and quirks, a true, practical, SQL standard is still not a reality. SQL is a Set-Oriented LanguageIt is important to realize that SQL is a set-oriented language. This means that most operations performed using SQL statements do not operate on a single row in a table, but instead operate on multiple rows in a table. Categories of SQL StatementsSQL statements may be categorized into the following groups:
Here are detailed discussions of each of these categories:
ReferencesSQL is a very complex language, and I cannot hope to give it more than introductory coverage here. There are quite a few books that do a much more comprehensive job of describing the SQL language, including the following:
For the classic book on databases, take a look at:
(but note that it's not exactly bedtime reading...) |
| The page was last updated February 19, 2008 |