Please inform me about the difference between
SELECT *
FROM mytable
WHERE mydate BETWEEN mindate AND maxdate
and
SELECT *
FROM mytable
WHERE mydate >= mindate
AND mydate <= maxdate
I know it has some indexing implications but not exactly sure what, perhaps also other things?
Can you guys teach me the difference or give me some pointers? I did a quick search for this on SO, but couldn't find any answer, maybe I'm on the wrong StackExchange site?