mySQL queries

Got the queries working, but not with SQLObject. Hyphens in the column names of the stage table were causing issues that I could not resolve. I decided to use MySQL directly for the queries.