Page 1 of 1

DB2 Interview Question

PostPosted: Tue Mar 08, 2011 4:27 pm
by chanchal1412
I'm really sorry and please excuse me if it turns out to be either a stupid question or a poorly framed one. But recently somebody in some interview had asked me what the differnces were between the union and union all clauses. All I knew about the same is that a union clause would filter duplicates whereas a 'union all' clause wouldn't. I was told that there are some more differences. Does somebody know of other differences that may probably exist? Later I asked the interviewer what the answer was to that question and she answered she'd get back to me on the same and she hasn't gotten back to me yet. I'm trying to find answer to that question still. Wondering if any of you guys know it if there really is a difference..

Re: DB2 Interview Question

PostPosted: Mon Apr 16, 2012 5:56 pm
by sarankumar
I think what ever u've answered is enough ..

Re: DB2 Interview Question

PostPosted: Fri Nov 09, 2012 5:02 pm
by raghuvanshi
chanchal1412 wrote:I'm really sorry and please excuse me if it turns out to be either a stupid question or a poorly framed one. But recently somebody in some interview had asked me what the differnces were between the union and union all clauses. All I knew about the same is that a union clause would filter duplicates whereas a 'union all' clause wouldn't. I was told that there are some more differences. Does somebody know of other differences that may probably exist? Later I asked the interviewer what the answer was to that question and she answered she'd get back to me on the same and she hasn't gotten back to me yet. I'm trying to find answer to that question still. Wondering if any of you guys know it if there really is a difference..


There is no other difference unless given a particular scenario.