Union Query Removing records

  • Thread starter Thread starter Emma Aumack
  • Start date Start date
E

Emma Aumack

Does anyone know why a union query would remove records?

I have three data tables that I combine to get total sales and for some
reason when I use the union query records go missing.
 
Does anyone know why a union query would remove records?

I have three data tables that I combine to get total sales and for some
reason when I use the union query records go missing.

Records that are duplicates (in the fields selected in the queries) will
indeed be removed. UNION ALL instead of UNION causes all records to be
retrieved, duplicates or not.
 

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

Back
Top