Archive of SQL examples
Home SQL simple SQL advanced TSQL MySQL/PHP Links

Welcome to my archive of SQL examples.

SQL (Structured Query Language) is a widely used language for quering relational databases. The code in this archive is addressing real life tasks like generating sales statistics, calculating next birthday of employee and so on, using Transact-SQL, MySQL and Jet-SQL syntax. Most of the scripts reference the "Colombo Ltd" database. This is a sample database with some business data in it. As for the standards, most of the features discussed are part of the SQL-89, SQL-92 specifications and few are from those introduced in SQL-99.

Latest Adds:

   SQL Browser: Write query and test it using MySQL demo database
Query that finds two latest invoices of the sales person
Using Tally table to split sentence to words

This archive stores a lot of sql samples usefull for learning sql programming technique, but is not a systematic SQL tutorial for beginners. If you need one, go to: www.w3schools.com/sql.

/*
  
Be aware of making proper checks when using the scripts and samples from this site, cause I do not warrant their correctness.
*/

Have a (: time.

amper102 AT hotmail.com


Powered by WebRing.