<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pospome</author_name>
  <author_url>https://blog.hatena.ne.jp/pospome/</author_url>
  <blog_title>pospomeのプログラミング日記</blog_title>
  <blog_url>https://www.pospome.work/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>単なるメモ。 ---【2013/11/21 追記】--- 確か IN + サブクエリ は EXISTS に置き換わるんじゃなかったっけ? JOIN とかでやったほうがいいかもね。 - SELECT t1.user_id, MAX(t1.point) AS m FROM tb_test AS t1 WHERE t1.user_id IN (SELECT t2.user_id FROM tb_test AS t2 GROUP BY t2.user_id HAVING COUNT(t2.id) &gt; 100) GROUP BY t1.user_id ORDER BY m DESC;</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pospome.work%2Fentry%2F20131120%2F1384930973&quot; title=&quot;【MySQL】Group By を使用した 一時テーブルを where in で利用する - pospomeのプログラミング日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-11-20 16:02:53</published>
  <title>【MySQL】Group By を使用した 一時テーブルを where in で利用する</title>
  <type>rich</type>
  <url>https://www.pospome.work/entry/20131120/1384930973</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
