http://qs321.pair.com?node_id=11106489


in reply to Re: DBI: select distinct returns same values
in thread DBI: select distinct returns same values

select distinct cast(DATE as date) from myschema.mytable GROUP BY DATE

Sorry, but that GROUP BY really doesn't make sense. No point in using the GROUP BY clause here.