STIQ has extended Selenium with the ability to run SQL commands on your database. This has great added benefit to test setup and tear down. A test may now "inject" data into the DB execute the web application and then remove the data from the DB.
Note: There is a wish list item on the STIQ backlog to allow STIQ to do a proper SetUP() and TearDown() like in xUnit.
SQL Command within STIQ CI environment
See Continuous Integration for configuration of a STIQ server and Selenium RC for SQL execution within the CI environment.