Posts by Akhim Guly • 41 points
1 post
-
2
votes1
answer1352
viewsQ: Error: subquery returning more than one result
Given the sql: DELETE FROM wgcartarmazens WHERE ( SELECT artigo FROM wgcartarmazens as T INNER JOIN wgcartigos as A ON A.CODIGO=T.ARTIGO WHERE T.lote='' AND A.TEMLOTE<>0 ); The above query…