Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^5: DBI INTERVAL Error

by poj (Abbot)
on Mar 20, 2016 at 20:35 UTC ( [id://1158377]=note: print w/replies, xml ) Need Help??


in reply to Re^4: DBI INTERVAL Error
in thread DBI INTERVAL Error

Where does it mention support for subselects ?

If you have 2 date ranges then try

my $sql = "SELECT name, city, COUNT(*) FROM file.csv WHERE ((mydate >= ?) AND (mydate < ?)) OR ((mydate >= ?) AND (mydate < ?)) GROUP BY name,city ";
poj

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found