{"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdogison.hatenadiary.org%2Fentry%2F20090918%2Fp1\" title=\"mysql\u3067\u91cd\u8907\u30ec\u30b3\u30fc\u30c9\u3092\u4e00\u62ec\u524a\u9664\u3059\u308b\u65b9\u6cd5 - \u597d\u5947\u5fc3\u306e\u8d74\u304f\u307e\u307e\u306b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://dogison.hatenadiary.org/entry/20090918/p1","blog_url":"https://dogison.hatenadiary.org/","description":"primary key\u3067\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u305ftable\u3092\u4f5c\u6210(\u4e0b\u8a18\u306f\u8907\u6570\u306e\u30ab\u30e9\u30e0\u304cprimary key\u306e\u5834\u5408) CREATE TABLE temp_table as SELECT * FROM hoge GROUP BY hoge_id,hoge2_id; \u5bfe\u8c61table\u3092\u524a\u9664 DROP TABLE hoge; \u5148\u7a0b\u4f5c\u6210\u3057\u305ftable\u306b\u7f6e\u304d\u63db\u3048\u308b ALTER TABLE temp_table RENAME TO hoge; \u91cd\u8907\u30ec\u30b3\u30fc\u30c9\u3092SQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u4e00\u62ec\u524a\u9664","width":"100%","type":"rich","author_name":"Dogison","author_url":"https://blog.hatena.ne.jp/Dogison/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","published":"2009-09-18 00:00:00","title":"mysql\u3067\u91cd\u8907\u30ec\u30b3\u30fc\u30c9\u3092\u4e00\u62ec\u524a\u9664\u3059\u308b\u65b9\u6cd5","blog_title":"\u597d\u5947\u5fc3\u306e\u8d74\u304f\u307e\u307e\u306b","version":"1.0","image_url":null,"categories":["mysql","\u30de\u30cb\u30e5\u30a2\u30eb"]}