<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazuun_nabe0128</author_name>
  <author_url>https://blog.hatena.ne.jp/kazuun_nabe0128/</author_url>
  <blog_title>カワゴエ・ラボ技術者指南書</blog_title>
  <blog_url>https://kazuun-nabe0128.hatenadiary.com/</blog_url>
  <categories>
    <anon>技術</anon>
    <anon>ORACLE</anon>
  </categories>
  <description>どちらも重複行を排除する命令文である。 SELECT DISTINCT カラム名 FROM テーブル名 SELECT カラム名 FROM テーブル名 GROUP BY カラム名 GROUP BY句は集計する場合に使えます（MAXとかSUM)とか。 なので単純に重複行を無くしたい場合にはdistinctでもいいですが 集計などをする場合にはGROUP BY句が必須になります。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuun-nabe0128.hatenadiary.com%2Fentry%2F20110118%2F1295326836&quot; title=&quot;DISTINCTとGROP BY句の違い - カワゴエ・ラボ技術者指南書&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>2011-01-18 14:00:36</published>
  <title>DISTINCTとGROP BY句の違い</title>
  <type>rich</type>
  <url>https://kazuun-nabe0128.hatenadiary.com/entry/20110118/1295326836</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
