DELETE FROM FILL_CONTRACT_SUB_SUPPLY_CONTRACT_ACCOUNT WHERE CONTRACT_COUNTERPART IN ( SELECT CONTRACT_COUNTERPART FROM FILL_CONTRACT_SUB_SUPPLY_CONTRACT_ACCOUNT GROUP BY CONTRACT_COUNTERPART HAVING COUNT(*) > 1 ) and TOTAL_CONTRACT_PRICE IN ( SELECT TOTAL_CONTRACT_PRICE FROM FILL_CONTRACT_SUB_SUPPLY_CONTRACT_ACCOUNT GROUP BY TOTAL_CONTRACT_PRICE HAVING COUNT(*) > 1 ) and ym='2023-08' and BRANCH_ID = '50216' 这个报错有人知道为什么吗? |