SQL queries written in qSQL as well as java code written using a driver to query and update the database.