Using DB adapter to execute a custom SQL statement against the database