made class to test sql, base clearAll