SQL IN Statement

The SQL IN clause is used to pass on multiple values to the WHERE clause in the statement.

SELECT * FROM Territories WHERE RegionID IN (SELECT RegionID FROM Region)

Comments

Popular posts from this blog

jQuery Basics

What is the difference between a Page Layout and Master Page in SharePoint?

Accessing data from SharePoint 2010 to an ASP.NET application