Note: This video was shot on SQL Server 2000's Query Analyzer but the same logic applies for SQL Server 2005
Highlights from this video: