<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tack41tu</author_name>
  <author_url>https://blog.hatena.ne.jp/tack41tu/</author_url>
  <blog_title>一人情シスのつぶやき</blog_title>
  <blog_url>https://tack41tu.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>MariaDB 10.4 にて SQLでSELECT句に集計関数のみを指定する場合、GROUP BYは指定しなくても実行できる。 が、ヒットするレコードがない場合に全データnullのデータが1件返されてしまう。 GROUP BYに指定すれば0件が返されるので、明らかにヒットする場合を除いてGROUP BYは明示的に指定したほうがよさそう。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftack41tu.hatenablog.com%2Fentry%2F2020%2F05%2F25%2F163946&quot; title=&quot;GROUP BY省略時の弊害(MariaDB) - 一人情シスのつぶやき&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-05-25 16:39:46</published>
  <title>GROUP BY省略時の弊害(MariaDB)</title>
  <type>rich</type>
  <url>https://tack41tu.hatenablog.com/entry/2020/05/25/163946</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
