Solved Need to marge 2 queries while removing duplicates (1 Viewer)

tihmir

Registered User.
Local time
Today, 01:10
Joined
May 1, 2018
Messages
257
Hi all, I need to marge 2 queries while removing duplicates
My first query "qry1" has 3 fields: "id", "name" "hm".
My second query "qry2" has the same fields as "qry1"
I need to marge these two queries while removing duplicate records in field "id"
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 16:10
Joined
May 7, 2009
Messages
19,232
use union query.
 

Isaac

Lifelong Learner
Local time
Today, 01:10
Joined
Mar 14, 2017
Messages
8,774
use union query - and be sure to structure it using the mere word UNION, not UNION ALL
 

Users who are viewing this thread

Top Bottom