DELETE FROM {TableName} WHERE current_timestamp - interval '{RemovePeriod} days' > CreatedAt;