SELECT DISTINCT nonIndexedCol FROM HugeTable SELECT * FROM HugeTable ORDER BY nonIndexedColumn
See Prevent the user from issuing expensive queries.
Scripting on this page tracks web page traffic, but does not change the content in any way.