All,
I have 2 tables in Access. Let's call them RepQ1 and Des. There are 2 fields in these 2 tables which I am trying to match and get matching records. These 2 fields are of TEXT data type. Following is the query that I am using.
SELECT * FROM RepQ1 LEFT JOIN Des ON Rep.Mat=Des.MatD;
When I run this, I get no result displayed. Please advise.
答案 0 :(得分:0)
检查此查询
SELECT * FROM RepQ1 WHERE RepQ1.Mat IN (SELECT DISTINCT MatD FROM Des);