-------------Diff b/w Union and Unionall?

Answers were Sorted based on User's Feedback



-------------Diff b/w Union and Unionall?..

Answer / the_xxx

The main difference between UNION ALL and UNION is UNION
only selects distinct values, UNION ALL selects all values
(including duplicates).

Is This Answer Correct ?    11 Yes 0 No

-------------Diff b/w Union and Unionall?..

Answer / abd hfz

UNION gives result set of only distinct values from both
tables where as UNION ALL selects all values including
duplicates.

Is This Answer Correct ?    1 Yes 1 No

-------------Diff b/w Union and Unionall?..

Answer / sridevi

UNION will give only distinct values where as UNION ALL gives all the values including duplicates.Performance wise UNION ALL is faster than UNION because UNION needs to exclude duplicates.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Cognos Interview Questions

what is a query subjects item?

1 Answers   HCL,


how can create a report like if the salary>50,000 display balance,if salary<50,000 display green?

2 Answers   HCL,


----------------What is Surrogate Key?

1 Answers   Cap Gemini,


Define metrics studio?

0 Answers  


What are the different uses of a repository manager?

0 Answers  






What are the uses of query explorer? Give example for each use in detail. It is not given clearly in user guide so explain in detail.

1 Answers  


how to get the all values from a prompt using 'ALL' use and display value in prompt

3 Answers  


what is the different between primarykey and surrogated key.. why we are going for surrogatekey...

1 Answers  


what is view? types of views?

3 Answers   HCL,


What is defined as catalog and types of catalogs in Cognos?

0 Answers  


Types of Performance Tuning?

2 Answers   CGI,


10. In Report studio ,how to get the top 20 employees in using list report Row number – if only list  Rank  Running-count

1 Answers   Data Semantics,


Categories