<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>forsebyse</author_name>
  <author_url>https://blog.hatena.ne.jp/forsebyse/</author_url>
  <blog_title>新卒から文系エンジニア→人材業界に転職した人のブログ</blog_title>
  <blog_url>https://forse.hatenablog.com/</blog_url>
  <categories>
    <anon>SQL</anon>
    <anon>自己学習</anon>
  </categories>
  <description>【今回の内容】 前回は基本的なＳＱＬを備忘録で簡単にまとめていたけど、 【SQL入門】基本的なSQLを目的別にまとめてみた - ＦＯＲ ＳＥ その中に気になることがあったので調べたものをメモとして紹介します。 今の自分の現場では、重複行を絞り込む時に、「distinct」と「group by」を使う人それぞれいました。 distinctとgroup byは同じように重複行を消すという意味ではどちらでもいいのかなーと思っていたけど、疑問に思ったので少し調べてみました。 【疑問】distinctとgroup by は重複行を消す目的ならどちらを使ってもよいのか？ 【結論】 結果としてはどちらも重複…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fforse.hatenablog.com%2Fentry%2F2014%2F03%2F13%2F204259&quot; title=&quot;【SQL入門】group by,distinctどちらが性能がよいのか  - 新卒から文系エンジニア→人材業界に転職した人のブログ&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>2014-03-13 20:42:59</published>
  <title>【SQL入門】group by,distinctどちらが性能がよいのか </title>
  <type>rich</type>
  <url>https://forse.hatenablog.com/entry/2014/03/13/204259</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
