select distinct() and select count(), when used by themselves, work fine. When they are combined together as in my example is when I get the error. I did take the full qualification out of the column ... error is:
>[Error] Script lines: 1-3 --------------------------
[DataDirect][ODBC...