Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we rewrite subqueries into simple select statements or
with joins? Example?

Answer Posted / divya kalra

Subqueries can often be re-written to use a standard outer
join, resulting in faster performance. As we may know, an
outer join uses the plus sign (+) operator to tell the
database to return all non-matching rows with NULL values.
Hence we combine the outer join with a NULL test in the
WHERE clause to reproduce the result set without using a
sub-query.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is join and name different type of joins?

1051


What is merge?

1020


What is buffer cash and log cache in sql server?

1125


What is normalization 1nf 2nf 3nf?

1060


In one interview...interviewer ask me question pleas tell me sql server architecture.. can any body tell me the sql server architecture with digram

2010


What is snapshot replication?

1052


What is self contained scalar sub query?

974


What are the operating modes in which database mirroring runs?

1089


What is the difference between count () and rowcount ()?

1028


explain different types of cursors? : Sql server database administration

1090


How to create indexed view?

1046


what is the difference between a primary key and a unique key? : Sql server database administration

1003


Why are sql functions used?

1124


Explain use of expression builder.

1025


What happens on checkpoint?

1024