-- Back to Unterlagen: internal documents not sent for preparation and not -- imported (which is what an own document of Unterlagen was). UPDATE documents SET area = NULL WHERE area = 'internal' AND own_document AND processing_status = 'none' AND external_id = '';