<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moritamorie</author_name>
  <author_url>https://blog.hatena.ne.jp/moritamorie/</author_url>
  <blog_title>Composable Life</blog_title>
  <blog_url>https://blog.moritamori.net/</blog_url>
  <categories>
    <anon>sql</anon>
    <anon>MySQL</anon>
  </categories>
  <description>グループ毎に先頭N件を取得したいとき、MySQLやAuroraなどWindow関数が使えない場合のGROUP_CONCAT, FIND_IN_SETを使った書き方を紹介します。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.moritamori.net%2Fentry%2Fgroup-by-limit-sql&quot; title=&quot;【SQL】limitを使わずグループ毎に先頭N件を取得する - Composable Life&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>2020-07-09 02:12:25</published>
  <title>【SQL】limitを使わずグループ毎に先頭N件を取得する</title>
  <type>rich</type>
  <url>https://blog.moritamori.net/entry/group-by-limit-sql</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
