List:General Discussion« Previous MessageNext Message »
From:(Hal Date:October 25 2011 1:18am
Subject:RE: Within-group aggregate query help please - customers and
latest subscription row
View as plain text  
>>>> 2011/10/24 16:31 -0700, Daevid Vincent >>>>
		  WHERE cs.customer_id = 7                
                GROUP BY customer_id
<<<<<<<<
Well, the latter line is now redundant.

How will you make the '7' into a parameter?

Thread
Within-group aggregate query help please - customers and latest subscription rowDaevid Vincent24 Oct
  • RE: Within-group aggregate query help please - customers and latest subscription rowDaevid Vincent25 Oct
    • RE: Within-group aggregate query help please - customers and latest subscription rowDaevid Vincent25 Oct
      • RE: Within-group aggregate query help please - customers andlatest subscription rowhsv25 Oct