79209038

Date: 2024-11-20 21:43:42
Score: 2
Natty:
Report link

You will need to use it as an implicit temp table try:

DELETE FROM myTable WHERE id IN (SELECT t.id from (select id FROM myTable GROUP BY memorialId,soldierId HAVING COUNT(*) > 1 AND min(source) = '') t )

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: CaveTroll