Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: DBI: select distinct returns same values

by erix (Prior)
on Sep 21, 2019 at 14:02 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11106489]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-19 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found