{"width":"100%","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51xZAvjwB2L._SL160_.jpg","title":"MySQL GROUP BY\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f","published":"2019-02-19 12:00:00","height":"190","author_name":"kikiki-kiki","provider_name":"Hatena Blog","type":"rich","description":"\u304a\u4e45\u3057\u3076\u308a\u306eMySQL\u3002 MySQL\u3067\u91cd\u8907\u3057\u3066\u308b\u30c7\u30fc\u30bf\u3092\u53d6\u308d\u3046\u3068\u3057\u307e\u3057\u305f\u3002 SELECT * FROM table_a GROUP BY name HAVING COUNT(*) >= 2; Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'test.table_a.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_\u2026","url":"https://chaika.hatenablog.com/entry/2019/02/19/120000","blog_title":"\u304b\u3082\u30e1\u30e2","author_url":"https://blog.hatena.ne.jp/kikiki-kiki/","categories":["MySQL"],"blog_url":"https://chaika.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2019%2F02%2F19%2F120000\" title=\"MySQL GROUP BY\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f - \u304b\u3082\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","provider_url":"https://hatena.blog"}