stray paren in sql