How to run SQL queries on the Derby Database for WCC