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

Answer Posted / sathish

The 10 tables can be joined as,

select table1.columnname,table2.columnname,.....
from table1,table2,.......

It displays 10 fields from 10 different tables.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain multiserver query

553


What are views used for?

617


What is a heap?

615


Explain about extended stored procedure?

486


What is a with(nolock)?

575






You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

651


Explain the database you used in your final year project?

535


Explain the architecture of ms sql reporting service?

526


what are questions asked in TCS for database tester (sqlserver)for 2-3 exp?

5495


How to get a list of columns in a view using the "sp_help" stored procedure?

568


What is Federation Root Database?

90


This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?

2012


Write a query to find 5th highest amount paid from the customer table.

530


How do I start sql server 2017?

528


What is best institute to Learn DotNET And SQL in chennai?

1688