gpt4 book ai didi

php - #1093 - 您不能在 FROM 子句中指定要更新的目标表 'installments'

转载 作者:行者123 更新时间:2023-11-29 03:26:15 25 4
gpt4 key购买 nike

<分区>

我试过了

DELETE FROM installments
WHERE EXISTS (SELECT * FROM `installments`
JOIN student
ON installments.s_id=student.s_id
WHERE installments.curr_sem=3
AND student.bat_id=10 AND student.p_id=170 AND student.DeleteStatus=0);

但显示错误

#1093 - You can't specify target table 'installments' for update in FROM clause

请帮帮我

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com