I have to display ten columns values from diffrent ten
tables.
how many joins are require?

Answer Posted / nitin

there are 3 answeres
1. No joins are required if do not want to display related
data
2. 9 joins are requred if all tables are related
3. no joins reuquired we can use union if condition is
like following
select cola from a
union
select colb from b
union
select colc from c
.
.
.
like wise ten statements

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?

569


How ssrs maintain security?

577


Which is faster statement or preparedstatement?

526


List out the differences between global and local temp tables in sql server?

569


What is side by side migration in sql server?

532






How to create a simple stored procedure in ms sql server?

519


What are sql server functions?

512


What is the use of keyword with encryption.

576


what is a traditional network library for sql servers? : Sql server database administration

462


Is it true that rules do not apply to data already existing in a database at the time the rule is created?

557


How efficient you are in oracle and SQL server?

635


Can coalesce return null?

543


Explain what is the use of custom fields in report?

496


Explain datetime2 data type in sal server 2008?

545


What is coalesce and check constraint in sql server?

542