Skip to content

Tag: ms-access

SQL Distinct on One Column with NO ID

I have a problem where I need to select three columns from a table in Access to populate another table but it needs to be distinct on one column ONLY. I tried the GROUP BY as follows But when I use above with a SELECT INTO and check for duplicates there are some. I have looking at this post –

Query ORDER with UNION

I have to do punt an “*” in a list of dates, like this: So, with my low knowledge, I created something like this code: where “*” is present in the table Union. But, the command ORDER doesn’t work and I’ve a sort system just by number, like the follow: How can avoid this? Th…