Does including DISTINCT in a SELECT query mean that the result set should be sorted?
I do not think so, but I am looking for an authoritative answer (web link).
I have a query like this:
Select Distinct foo From Bar
In oracle, the results are different, but not sorted in order. Jet / MS-Access seems to be doing some extra work to sort the results. I assume that the oracle follows the specification in this case, and MS Access goes beyond.
Also, is there a way I can give the table a hint that it should be sorted by foo (unless otherwise specified)?
sql oracle sqlplus
S ennis
source share