Oracle database rejects query
PocketQuery automatically appends a semicolon to the end of your query. Most databases don't have a problems with this, but Oracle rejects your query if there's a dangling semicolon.
Simply remove the semicolon at the end of your query and you should be good to go.