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 difference between for trigger and after trigger?

1157


What are the types of table?

1028


What is report snapshot?

163


how do you test proper tcp/ip configuration windows machine? : Sql server database administration

1115


Why normalization is used?

1066


what is database replicaion? What are the different types of replication you can set up in sql server? : Sql server database administration

1047


whats new about truncate in sql server 2008?

2550


What is the purpose of self join?

1035


What is replication with database mirroring? : sql server database administration

1148


Explain what is row_number function?

1081


How to disconnect from a sql server using mssql_close()?

1165


How can you insert null values in a column while inserting the data?

1340


What does Master database contains?

1180


How to bind a view to the schema of the underlying tables?

1046


Explain transaction server auto commit?

1088