Database Clause implementation