select * from foo where bar = ? and baz || '' like ? and some_number + 0 = ?