SELECT with date range

suggest change
SELECT ... WHERE dt >= '2017-02-01'
             AND dt  < '2017-02-01' + INTERVAL 1 MONTH

Sure, this could be done with BETWEEN and inclusion of 23:59:59. But, the pattern has this benefits:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents