Chapter 7 -- Querying Data

Chapter 7

You wouldn't have any reason to store data if you didn't want to retrieve it. Relational databases gained wide acceptance principally because they enabled users to query, or access, data easily, without using predefined, rigid navigational paths. Indeed, the acronym SQL stands for Structured Query Language. Microsoft SQL Server provides rich and powerful query capabilities.

In this chapter, I'll examine the SELECT statement and concentrate on features beyond the basics, including NULL, OUTER JOIN, correlated subqueries, aggregates, UNION, and the special CUBE operator. In Chapter 9, we'll see how to modify data. Then, in Chapter 10, I'll build on these topics and explore the constructs and techniques that make Transact-SQL more than simply a query language.



Inside Microsoft SQL Server 2000
Inside Microsoft SQL Server 2000
ISBN: 0735609985
EAN: 2147483647
Year: 2005
Pages: 179
Authors: Kalen Delaney

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net