remove ; in SQL statement to fix error with oracle DB