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 deals with real life tasks like generating sales statistics, calculating next birthday of employee and so on, using Transact-SQL, MySQL and Jet-SQL syntax. One section of the archive is devoted to Simple SQL Queries sutable for beginners, others are adressing specific issues including procedures syntax, functions, Spatial Queries and client scripting like ASP. Some 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.
This archive includes more than 190 sql examples (and solutions) usefull for learning sql programming technique, but is not a systematic SQL tutorial. If you need one, go to: www.w3schools.com/sql Or: www.1keydata.com/sql/sql.html.
Have a :) time!