PHP select distinct
Hi all. having a little trouble with select distinct - I need to list the cheapest unique products based on the product name - easy peasy, that's just:
"select distinct productname from wherever order by price"
but I need the contents of the rest of the row as well and you can't do that with just select distinct. Anyone know how?
Thanks in advance,
Steve
__________________
I'm on the AF Affiliate team but I'll always be a grubby affiliate at heart...
Last edited by lowndsy; 06-02-05 at 02:09 PM..
|