Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: DBI: select distinct returns same values

by erix (Parson)
on Sep 21, 2019 at 14:02 UTC ( #11106489=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11106489]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2020-10-22 20:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (230 votes). Check out past polls.

    Notices?