<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fskkoba</author_name>
  <author_url>https://blog.hatena.ne.jp/fskkoba/</author_url>
  <blog_title>Kobarin's Development Blog</blog_title>
  <blog_url>https://kobarin.hateblo.jp/</blog_url>
  <categories>
    <anon>SQLserver</anon>
  </categories>
  <description>「私の服」テーブルの中で、最も多い色を求める。 select 色, count(*) as 枚数 from 私の服 group by 色 having count(*) &gt;= (select max(CNT) from (select count(*) AS CNT from 私の服 group by 色 ) as C ) 色 枚数 赤 23 ↓ 「”私の服”の中で一番多い色は”赤”で、計23枚でした」 追記。簡略化版。 select 色 from 私の服 group by 色 having count(*) &gt;= all(select count(*) AS CNT from 私の服 gro…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkobarin.hateblo.jp%2Fentry%2F20091023%2F1256281038&quot; title=&quot;SQLで最頻値を求める - Kobarin&amp;#39;s Development Blog&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>2009-10-23 15:57:18</published>
  <title>SQLで最頻値を求める</title>
  <type>rich</type>
  <url>https://kobarin.hateblo.jp/entry/20091023/1256281038</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
