Hi, I have an Access table with two columns:
Column 1: Id (Primary key auto-number)
Column 2: RandomWords (Text field not sorted in any particular order)
All I want to do is select all DISTINCT random words without them being sorted alphabetically.
If I do:
It returns all rows - not just distinct random words.
If I do:
It does select only distinct values but returns them alphabetically sorted. I want to keep the non-alphabetised sorting as in the original table.
Any help would be much appreciated, thanks!
Column 1: Id (Primary key auto-number)
Column 2: RandomWords (Text field not sorted in any particular order)
All I want to do is select all DISTINCT random words without them being sorted alphabetically.
If I do:
Code:
SELECT DISTINCT RandomWords, Id FROM tblRandomWords ORDER BY Id;
It returns all rows - not just distinct random words.
If I do:
Code:
SELECT DISTINCT RandomWords FROM tblRandomWords;
It does select only distinct values but returns them alphabetically sorted. I want to keep the non-alphabetised sorting as in the original table.
Any help would be much appreciated, thanks!
Last edited: