The articles in this section are aimed at giving a quick but thorough introduction to SQL, what it is, how it can be used and an introduction to the main 'bread and butter' commands.
Introduction to SQL
SQL stands for Structured Query Language. Structured Query Language is a standard computer language that is used to communicate with databases.
Using the SQL SELECT Statement
In this multi part series on the SQL SELECT statement we will start off demonstrating the SELECT statement in its simplest form and then building on this we will demonstrate additional aspects of the SELECT statement.
The SQL WHERE Clause
In this article we will see how the WHERE clause can be used to select specific rows from the table that match certain specified criteria or conditions.
Using the SELECT INTO statement to create backup and archive copies of data
This article identifies common uses for the SELECT INTO statement and gives syntax definition and code examples to demonstrate the statements potential uses.
SQL UNION and UNION ALL
The SQL UNION command can be used to combine the output from 2 or more SELECT statements into 1 resultset. This article explains the syntax and rules of the UNION command and gives real world examples of it in use.
SQL LIKE - flexible string matching
The SQL LIKE operator is often used in the WHERE clause to find string matches on part of a column value by using a wildcard character. Article include examples, syntax and tips.
Using SQL DISTINCT
Find out how to use the SQL DISTINCT command to return only unique rows. Article includes the syntax and real world example of it in use.
SQL Inner Join - examples and explanations
The SQL Inner Join statement enables us to retrieve data from two or more related tables in one SQL query.
The SQL Outer Join - return all specified rows from one of the two tables in the join
The SQL Outer Join can be used to define a relationship between columns in two different tables and will return all rows from one of the tables whether a related record in the other table exists or not.