Sql Server Express

The recommended work space setup is to use Sql Server Express(some says Sequel Server Express).


How do you practice the Sql lessons from this site? Or what do you do if you want to experiment with the some of the Sql commands? The answer is to install an RDBMS on your system.

On windows operating system, other possible choice, besides MS Sql Server Express, is to install MS Access that is bundled in MS Office Suite Pro version. On Linux operating system, you have the options to install MySql or PostgreSQL or both.

If your computer is a Pentium III or higher with at least 500MHz speed and 512 MB RAM, then you have a good news. You can download 'Microsoft SQL Server Express 2005 Edition' for free.

The installation process is relatively painless and you can get yourself up and running in no time at all. Just follow the instructions from that site.

If you prefer a more recent database system, you can alternatively download Sql Server Express 2008. Check the system requirements first before you download.

Publisher Database

The Publisher database that is often used in this site can be created using the following Sql Server Script. Download sqlinstpubs.sql and copy/paste into a New Query in Sql Server Express. Execute the code and it will create PUBS database.

Some Sql Server Scripts to populate databases or sample tables in Sql Server Express will be presented throughout the lessons.

Alternative System

MySQL


Another popular free RDBMS is MySQL, it runs as a server providing multi-user access to a number of databases. You can learn how to download and install from this link.

PostgreSQL

PostgreSQL is another powerful, open source object-relational database system. You can download the windows version here.

Jump to the lessons using the following quick links:

Data Creation

Sql Create Database
Use this to create a database.

Sql Create Table
This Sql Create Table will be used very often throughout the tutorial. It is used to create a table, in our case, mainly to create sample tables.

Sql Alter Table
Used less often, but it is very handy to know this command. With this you can basically edit a table structure.

Sql Drop Table
Used to delete a table, not just the content. This command is also used very often during the tutorial. So, you need to master this too.

Data Manipulation

Sql Insert
To add rows to a table, you use Sql Insert command. There are two methods, one is with the VALUES keyword and second is with a SELECT statement.

Sql Update
To change existing rows, you use Sql Update command. You can use it to change values in a single row, groups of rows or all rows. You can also update a table based on values in other tables.

Sql Delete
To remove rows, you use Sql Delete command. You can delete one rows, group of rows or all rows. You can also delete rows based on values in other tables.

Data Retrieval

Sql Select
The core of Sql, selecting data from table.

Sql Distinct
Eliminating duplicate values in the output.

Sql Where
Conditionally selecting rows from table.

Sql Like
Pattern searching for conditions in Where or Having clause

Sql Between
Added to conditions to show results between two values.

Sql In
It enables us to specify multiple values, either as a list or a subquery.

Sql And Or
Connecting two or more conditions in the Where or Having clause.

Sql Count
Counting number of rows.

Sql Sum
Getting the sum of a field

Sql Max
This function will return the highest value.

Sql Min
This function will return the lowest value.

Sql Avg
This function will return the average value.

Sql Order By
Sorting the output

Sql Group By
Grouping rows into sets.

Sql Having
To filter the result of aggregation

Advanced Sql Tutorial

Sql Inner Join
Use Sql Join to retrieve data from more than one table in just one Select statement.

Sql Outer Join
An Sql outer join shows the join, and all the rows that do not qualify.

Sql Self Join
A join that compares values within a single table.

Sql Subquery
A nested Sql Select inside the WHERE clause of another Sql Select statement.

Sql Union
Merging two or more queries into one result. Rows are appended from one queries to the other.

Journey
Buy at AllPosters.com
A bend in the road is not the end of the road... unless you fail to make the turn

Positive Resources

All of us have at least two or three things that excite us. We could talk about these subjects for hours. Good news!. Did you know that Site Built It! can turn this type of deep interest and enthusiasm into a revenue-generating business?

Review some of the Site Build It! case studies and you'll absolutely discover something that ignites more positive ideas into your mind.

SBI! Video Tour


Invest the most
important 30 minutes
you will spend online.

Click, sit back, and
understand why SBI!
makes you succeed.