Microsoft training courses | Wise Owl - home page

Phone (01457) 858877 or email

CTEs and subqueries in SQL blogs

Derived Tables in SQL

Posted by Andrew Gould on 08 April 2013 | no comments
A derived table is a technique for creating a temporary set of records which can be used within another query in SQL. You can use derived tables to shorten long queries, or even just to break a complex process into logical steps.
Tags:   SQL / CTEs, subqueries

SQL subqueries (including correlated subqueries)

Posted by Andrew Gould on 28 January 2013 | no comments
If you’ve been writing SQL queries for a while you’re probably fairly confident with writing single SELECT statements to return a set of records. If you’re ready for a bit more of a challenge, this blog will teach you how to nest one SELECT statement inside another in order to create a subquery. If you’re thinking “that sounds simple enough” then you might want to read to the end of this series, where we’ll attempt to melt your brain by explaining correlated subqueries!
Tags:   SQL / CTEs, subqueries

Free SQL training course | SQL tutorial

Posted by Andrew Gould on 13 February 2012 | 1 comment
This article provides a comprehensive tutorial in Microsoft SQL Server, taking you from the basics of writing SELECT statements all the way through to creating complex stored procedures.
Tags:   SQL / Selecting data   |   SQL / WHERE criteria   |   SQL / Calculations   |   SQL / Joins   |   SQL / Grouping   |   SQL / Stored procedures   |   SQL / Transactions   |   SQL / CTEs, subqueries

Common Table Expressions (CTEs) - SQL Training

Posted by Andy Brown on 20 October 2011 | no comments
This blog gives training on writing CTEs in SQL, or Common Table Expressions to give them their full title. The blog also includes a section on creating recursive CTEs.
Tags:   SQL / CTEs, subqueries

All content copyright Wise Owl Business Solutions Ltd 2013. All rights reserved.