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 the fillfactor concept in indexes?

980


Do you know what is similarity and difference between truncate and delete in sql?

1005


How does normalization work?

915


What is etl - extraction, transformation, and loading?

917


Tell about MOM Tool(Microsoft Operator Manager)?

1909


What are the disadvantages of merge replication?

1410


How to verify the port number of the sql server?

1147


Does any body please help me what question's have asked for SSRS in the interview?

2148


What is page in sql server?

943


What happens if the update subquery returns no rows in ms sql server?

1122


How to recompile stored procedure at run time?

1068


What is checkpoint process in the sql server?

1027


List all the types of user-defined functions?

1094


What are different type of Collation Sensitivity?

998


What is raiseerror? What is raiseerror?

1131