Thanks PHV. That is very useful.Out of interest, I am use to working with standard SQL within an Oracle database. What does Access use? It seems to be a strange flavour of SQL.
Also, what does AnyCol2 do in the example you gave?
Kind of. I need the distinct values from col1, and any value from col2 i.e.
10 orange
20 grapes
I am happy with any combination as long as I only get 1 distinct value for col1.
Also, both columns are coming from diferent tables. I dont know if this complicates things in access.
I'm an Oracle developer who is trying to get to grips with Access!
I need to select records in a multi table query where it only checks that one field is unique i.e.
col1 col2
10 apple
10 orange
20 grapes
20 pears
I need it to return just 2 records, 1 for value for 10 and 1 for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.