Monday, July 29, 2013

Don't show field used in query

I have a query that's basically like this:


SELECT DISTINCT Column1, Column2, Column3, Column4


FROM TableName


Column4 is just an id field. I need Column4 to get the correct number of records, but I do want Column4 to appear in the results. Is there a way to do that?


tod


No comments:

Post a Comment