Oracle Sql Comparison Operators In Python