Fix the interval (stupid mysqlism) and incorrect quotes
Merge pull request #6 from mbek/patch-5

Fix the interval (stupid mysqlism) and incorrect quotes