Background to Structured Query Language (SQL): The language of relational databases

SQL has a long history, it is one of the oldest, longest lasting and most widely used of all computer languages. Developed by IBM in the 1970s and founded on complex mathematical and algebra SQL captures the key facets of Edgar Codd’s original "database rules".

SQL is not a single unified language, rather is it a set of language standards (with names like ISOSQL1988 or ISOSQL2003). Each language standard defines a different set of SQL Key-words. Different commercial database products use different standards, and all have their own special additions and variations from the core of SQL.

SQL is one of the world’s most widely used computer languages. There are vast quantities of information about SQL including on-line tutorials, help-guides etc. available on the internet. Wikipedia alone has hundreds of pages dedicated to SQL, starting from:

https://en.wikipedia.org/wiki/SQL including pages dedicated to individual keywords, how to write SQL and how to structure and design SQL databases.

The Orixa Back-end database: ElevateDB

Orixa uses Elevate Software’s database. Details of this database and its features can also be found in detail on-line.

http://www.elevatesoft.com/products?category=edb.

ElevateDB is a well-featured database. It has been chosen as the backend for Orixa for the following reasons:

ElevateDB as well as having a full set of core SQL capabilities has several key features which really mark it out as a powerful and special product including:

In this primer we will only dip into the surface of the language to review SQL language elements which can be used to retrieve data from a database. These simple language elements are mostly the same across all databases, so learning these elements of SQL are very valuable for work with any SQL compliant database. Once you have read this document you should be able to go forward yourself and develop skills in writing SQL queries. As a logical language everything in SQL is built on these basic foundations.