Finished worker.sql queries.