Chapter III.5. Searching for Information

AdventureWorks2008 is a robust database created by Microsoft to demonstrate many features and examples within SQL Server. However, Adventure Works2008 isn't very useful unless it's installed; therefore, the first order of business in this chapter is to install AdventureWorks2008.

With AdventureWorks2008 installed, you can start writing SELECT statements against it to retrieve data. You can use the Query Designer to make the creation of your SELECT statements easier, and then fine-tune them within the Query Editor to retrieve exactly what you want.

By using this combination of tools, creating queries against one or more tables is easy — even when you're using sophisticated filtering techniques with the WHERE clause.

Get Microsoft® SQL Server™ 2008 All-In-One Desk Reference For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.