Google


   


You are here: CodeIdol.com > Sql > SQL Performance Tuning > Subqueries

SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

SQL Performance Tuning



Chapter 6. Subqueries There seems to be a Law of DBMS Development that states—In version 1.0 the subquery support will be bad or nonexistent, and it will slowly get better. Witness the IBM texts that tell you how bad subqueries were in the ...



Refresher A subquery is a SELECT statement with another SELECT inside it. It looks like this: SELECT /* outer or parent query */ (SELECT ) /* subquery, inner query or subselect */ There are three possib...

read more: Refresher


Join versus Subquery When you write a join, you're letting the DBMS optimizer decide among a variety of plans, such as merge-sort, nested-loop, or hash; see Chapter 5, "Joins." But when you write a subquery, you are strongly hinting that you...



Syntax Choices You can make several syntax choices when writing subqueries. The major subquery predicates are IN and EXISTS, but we'll also look at negation, duplicate elimination, double subqueries, and set operation alternatives. IN I...

read more: Syntax Choices


Parting Shots When you use subqueries, you are giving the DBMS a weak "hint" about processing plans, but the DBMS still has plenty of scope for decision making. Each of the possible plans may be best for certain situations so a blanket state...

read more: Parting Shots

SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

You are here: CodeIdol.com > Sql > SQL Performance Tuning > Subqueries


ADBRITE ads links
   
Related tags







Popular Categories
Unix books and guides

AJAX popular information
C# language guides
Windows books and cookbooks

.......








Business Key Top Sites

be number one
rate your site




    С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.

    Русский Polski Francais Deutsch
    support sitemap terms

© CodeIdol Labs, 2007 - 2009