Keith,
If you´re the Admin or the person who implemented the system, you should know the database engine which your osTicket system is running on. As ntozier told, it could be phpMyAdmin, Mysql WorkBench, MySQLAdmin..etc and can be accessed via web browser (e.g: http://yourdomain.com/phpmyadmin(http://yourdomain.com/phpmyadmin))
The credentials for this access should be at your server which is hosting the website. Take a look at osTicket folder>ost-config.php
Once you´re logged on the database engine, you should be able to execute SQL statements.
But.. doh! I should not being explaining this. Are you really the person who implemented the system?