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
What is built-in function?
What is history table in sql server?
Is profiler the only tool that has the ability to audit and identify ddl events? : sql server security
What are the differences between having and where clause.
1. Tell me your daily activities 2. If sql server installation fails at time installation what will do 3. Where does the sql server installation log details are stored 4. After the installation what will you do for memory configuration 5. What is the difference between SQL max maximum memory and AWE memory 6. How will you configure AWE memory 7. How will setup an email alert for the backup job 8. After the SQL installation what are the jobs will you configure 9. What does –g mean in the sql startup parameter 10. What is the difference between Bulked log and Full recovery model 11. What is the difference between mirroring and log shipping 12. What are the steps to be followed before in-place up gradation 13. After installing the patch the sql server does not start and application team tells to rollback the changes .In this scenario what will you do
What is the recursive stored procedure in sql server?
What are the difference between primary keys and foreign keys?
What is the simplest way to create a new database in ms sql server?
How to find table changes in sql server?
Do you know how to send email from database?
write an SQL query to list the employees who joined in the month of January?
How to drop an existing table?
Are all views updatable ?
What are the 7 disadvantages to a manual system?
How to achieve Paging of records in SQL SERVER?