hi i am trying to run this query of query:
<cfquery name="newQuery" dbtype="query"> select * from query1 group by column1, column2; </cfquery> but it gives me the following error: The column query.column3 is invalid in the SELECT list clause because it is not contained in either an aggregate function or the GROUP BY clause. it doesnt say this if i query in mysql, it appears as if all columns in the query need to be in the group by clause - but if that is the case then it goes against the purpose of the group by clause does anyone understand why this error is occuring and how i can get around it thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306436 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

