You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My guess is that DISTINCT needs to sort by all columns combined before any ORDER BY sorting if it should give really distinct results. Will have to check with the standards documents if this is actually what DISTINCT does. @Buchhold any quick knowledge?
The text was updated successfully, but these errors were encountered:
This was found by Tobias Matysiak: For queries with multiple columns adding an
ORDER BY
clause can change the result set.See for example the following query with and without ORDER BY
My guess is that DISTINCT needs to sort by all columns combined before any ORDER BY sorting if it should give really distinct results. Will have to check with the standards documents if this is actually what DISTINCT does. @Buchhold any quick knowledge?
The text was updated successfully, but these errors were encountered: