You can also interact with the database itself using normal ODBC SQLstatements. Plenty of examples available with a Google search.