Added doubleQuery() and sqlDateQuery() methods