Skip to content

1. Introduction

The PDF for this document is available |HERE|.

This document is based on a similar document written in 1991 for Oracle and adapts it to SGBD Firebird. In 1991, the core of the document was drawn from the official ORACLE documentation and, for certain points, from an excellent book of the time written by Christian MAREE and Guy LEDANT: SQL Introduction, Programming, and Mastery, published by EYROLLES. To my knowledge, this book is no longer in print. The authors have written a new book that I have not had the opportunity to read: SQL 2 Introduction / Programming.

SQL (Structured Query Language) is a standard language for creating, maintaining, and querying relational databases. It is largely independent of the specific database system used. While the examples in this document were written using the Firebird database system, most of them can be reproduced with any relational database system. On Windows, various SGBD are available: open-source products such as MySQL, Postgres, Firebird, and SQL Express 2005, as well as commercial products: Access, SQL Server, and Oracle. These databases all support the SQL language, though sometimes with proprietary variations, often extensions to the standard SQL language.

Firebird was chosen because it has the feature of encapsulating a database into a single file. This makes it convenient for students to place this file on a USB drive so they can use it on their personal computers or those at their school or university.

This document is intended for beginners or those wishing to refresh their knowledge of SQL. It does not claim to cover SQL in its entirety. For example, programming concepts (stored procedures, SQL programming, API, SQL) are not covered, nor are those related to the administration of a SGBD.

Serge Tahé, January 2006