{"categories":["mysql"],"height":"190","url":"https://helen.hatenablog.com/entry/2016/05/02/175125","title":"\u3064\u3044\u306b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3067\u304d\u305f\u306e\u306bYou can't specify target table\u3055\u308c\u305f","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhelen.hatenablog.com%2Fentry%2F2016%2F05%2F02%2F175125\" title=\"\u3064\u3044\u306b\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3067\u304d\u305f\u306e\u306bYou can&#39;t specify target table\u3055\u308c\u305f - helen&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"blog_title":"helen's blog","published":"2016-05-02 17:51:25","version":"1.0","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","author_name":"heleeen","description":"You can't specify target table You can't specify target table 'x' for update in FROM clause UPDATE t1 SET column2 = (SELECT MAX(column1) FROM t1);update\u306e\u5bfe\u8c61\u3068\u30b5\u30d6\u30af\u30a8\u30ea\u306efrom\u306b\u540c\u3058\u30c6\u30fc\u30d6\u30eb\u304c\u5165\u3063\u3066\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3089\u3057\u3044 MySQL :: MySQL 5.6 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30de\u30cb\u30e5\u30a2\u30eb :: 13.2.10.9 \u30b5\u30d6\u30af\u30a8\u30ea\u30fc\u306e\u30a8\u30e9\u30fc mysql\u306e-e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u64cd\u4f5c\u524d\u5f8c\u3092\u7c21\u5358\u306b\u6bd4\u8f03\u3059\u308b -e\u30aa\u30d7\u30b7\u30e7\u30f3\uff1a\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089SQL\u3092\u5b9f\u884c\u3067\u304d\u308b $ my\u2026","width":"100%","blog_url":"https://helen.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/heleeen/"}