<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ExcelLover</author_name>
  <author_url>https://blog.hatena.ne.jp/ExcelLover/</author_url>
  <blog_title>Excelが大好きだ！</blog_title>
  <blog_url>https://www.excellovers.com/</blog_url>
  <categories>
    <anon>SQL</anon>
    <anon>VBA</anon>
  </categories>
  <description>重複の削除 Distinct ベースとなるコード 重複の削除 Distinctキーワードはデータから重複行を削除します。 Excelの「重複の削除」のようなことが出来ます。 あるいは「UNIQUE関数」も同じですね。 Distinct Distinctの構文は以下のとおりです。 列名の前にDistinctを記載します。 select distinct 列名 from テーブル名 複数列でも同じように重複行の削除が出来ます。 複数列の場合でも列名の前に１つだけDistinctを記載すればOK。 少し元データを変更しました。 複数列でDistinctを使用した場合、指定した列のデータの組み合わせで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.excellovers.com%2Fentry%2Fexcelsql09&quot; title=&quot;SQLでExcelの集計を簡単・楽しく - Distinctキーワード - Excelが大好きだ！&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>https://cdn-ak.f.st-hatena.com/images/fotolife/E/ExcelLover/20230429/20230429212445.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-30 19:00:00</published>
  <title>SQLでExcelの集計を簡単・楽しく - Distinctキーワード</title>
  <type>rich</type>
  <url>https://www.excellovers.com/entry/excelsql09</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
