This flashcard is just one of a free flashcard set. See all flashcards!
19
In SQL:
Lösche alle Auftragspositionen, deren Aufträge weniger als 3 Positionen enthalten.
Lösche alle Auftragspositionen, deren Aufträge weniger als 3 Positionen enthalten.
delete from Position
where AuftragsNr in (select AuftragsNr
from Position
group by AuftragsNr
having count(*) < 3)
where AuftragsNr in (select AuftragsNr
from Position
group by AuftragsNr
having count(*) < 3)
Tags: sql
Source:
Source:

Flashcard info:
Author: Lorenzo van Matterho...
Main topic: Wirtschaftsinformatik
Topic: Datenbanken
Published: 10.03.2010