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
Which operator do you use to return all of the rows from one query except rows are returned in a second query?
Do you know what are acid properties of transaction?
What are the different types of data sources in ssrs?
What are the basic functions for master, msdb, model, tempdb and resource databases?
What is the difference between value type and reference type?
Why are sql functions used?
How do you open a cluster administrator?
What happens if time-only values are provided as date and time literals?
Can we use trigger new in before insert?
what types of replication are supported in sql server? : Sql server database administration
Why truncate is ddl?
what are different types of raid configurations? : Sql server database administration
What are logical database components? : SQL Server Architecture
What are partitioned views?
Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration