Duplicates in a query

B

Bill Stanton

I'm experiencing some discrepancies between two
selects that lead me to suspect that one of the
queries is not allowing duplicate records. Case in
point is a Union Select involving like fields from
three different tables. It is the nature of the data
within the selected fields that legitimate duplicates
are likely to occur. So, my question is simply this:
Is there some SQL command I've not yet
encountered that specifies that duplicates are OK?

Thanks,
Bill
 
P

Phobos

UNION SELECT ALL

Will return all records, by default dupes are not included in union queries.

P
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top