Guest User

Untitled

a guest
Jul 18th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. DELETE FROM buchdurchschnittspreis2
  2. WHERE id in
  3. (SELECT buchdurchschnittspreis2.id FROM buchdurchschnittspreis2
  4. LEFT OUTER JOIN (select min(id) as id from buchdurchschnittspreis2
  5. GROUP BY (artnr, datum) as KeepRows
  6. ON buchdurchschnittspreis2.id=KeepRows.id
  7. WHERE KeepRows.id IS NULL);
Add Comment
Please, Sign In to add comment