BrenoAguiar
IS-IT--Management
HI folks,
I have this query that I want it to bring ONLY DISTINCT folio numbers and the SQL viw is like this:
SELECT DISTINCT guesttrack_clean.Folio, brochure.type
FROM brochure INNER JOIN guesttrack_clean ON brochure.homephone = guesttrack_clean.HomePhone
WHERE ((([BookingDate]-[datesubmit])>0))
ORDER BY brochure.lastname;
But this is still giving me duplicate values in the guesttrack_clean.folio .
Any help?
Thanks a lot
I have this query that I want it to bring ONLY DISTINCT folio numbers and the SQL viw is like this:
SELECT DISTINCT guesttrack_clean.Folio, brochure.type
FROM brochure INNER JOIN guesttrack_clean ON brochure.homephone = guesttrack_clean.HomePhone
WHERE ((([BookingDate]-[datesubmit])>0))
ORDER BY brochure.lastname;
But this is still giving me duplicate values in the guesttrack_clean.folio .
Any help?
Thanks a lot