MySQL Forums
Forum List  »  German

DELETE BEFEHL
Posted by: Martin Kohler
Date: December 17, 2015 06:45AM

Hallo zusammen,

ich habe mir eine Abfrage gebastelt, mit der ich auf meinen korrekten Datensatz komme. Jetzt muss ich nur noch diesen Satz mit einem Delete-Befehl löschen, aber leider funktioniert es nicht. Kann mir Jemand helfen, bitte?

Select min(concat(WormNr, Dateinr)) as ID from schussen.hdgrs030
where barcode in (
Select basis.barcode
from
(SELECT 1 as Zaehler, barcode FROM schussen.hdgrs030
where belart = '142') basis
group by barcode
having count(basis.zaehler) > 1)

Options: ReplyQuote


Subject
Views
Written By
Posted
DELETE BEFEHL
1575
December 17, 2015 06:45AM
640
December 17, 2015 10:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.