以下のSQLを実行したら
You can't specify target table 'address' for update in FROM clauseのエラーが出力されました。
解消方法がわからないです。
ご確認お願いします。
delete from
address
where temp_no
between (
select temp_no from address limit 1
) and (
select temp_no from address where acsess_date< now() order by temp_no desc limit 1
);
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。