[quote author=Crayon Violent link=topic=107478.msg431285#msg431285 date=1157827712] so what are you really trying to output here, each individual warning, or just a list of people who have been warned, regardless of how many times they have been warned? because it seems to me that you are somehow trying to do both, in a manner that can't be done. It seems to me that you are trying to make a query that will somehow list all the warnings with each timestamp, but at the same time, only pull the username once. It seems to me that if you: query without distinct, you get this: [code] bob time1 bob time2 bob time3 john time1 matt time1 matt time2 kelly time1 joe time1 greg time1 greg time2 [/code] query with distinct, you get this: [code] bob time1 john time1 matt time1 kelly time1 joe time1 greg time1 [/code] but what you are trying to query and get, is this: [code] bob time1 time2 time3 john time1 matt time1 time2 kelly time1 joe time1 greg time1 time2 [/code] is this right? if not, then give an example of what you want the output to look like. [/quote] Im doing the one in the middle there..and that works fine:) its the timestamp that is the error.. well the timestamp wont cooperate with the DISTNICT