Hi,
I HAVE 3 fields, CUSTOMER_ID, COLOUR and price
CUSTOMER_ID COLOUR price
1 RED 13
1 BLUE 23
2 YELLOW 4
2 BLUE 54
2 RED 35
ETC.
I have a group by cutomer_id and want to return for that customer a flag to say if they chose a particular colour (say RED)
I can do max(colour) as an aggregate...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.