1. Introduction
The PDF of this document is available |HERE|.
This document is based on a similar document written in 1991 for Oracle and adapts it for the Firebird DBMS. In 1991, the core content of the document was drawn from Oracle’s official 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 DBMS used. While the examples in this document were written using the Firebird DBMS, most of them can be reproduced with any relational DBMS. Under Windows, there are various DBMSs available: open-source products such as MySQL, Postgres, Firebird, and SQL Server 2005, as well as commercial products: Access, SQL Server, and Oracle. These DBMSs all support the SQL language, though sometimes with proprietary variations—often extensions to the standard SQL language.
The Firebird DBMS was chosen because it has the feature of encapsulating a database into a single file. This makes it convenient for students to save 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. Programming concepts (stored procedures, SQL programming, SQL API), for example, are not covered, nor are those related to DBMS administration.
Serge Tahé, January 2006