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.
|
---|
In Section
Seekers of Perl Wisdom