<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>SQL</anon>
  </categories>
  <description>■ はじめに 初めの数文字が一致してたら同一データと見なし、 重複を排除するSQL文を考える 目次 【１】解決案 【２】サンプル 【１】解決案 以下を使えば可能。 * サブクエリ * LEFT() * GROUP BY 【２】サンプル * DB : MySQL5.7 テーブル CREATE TABLE `message` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `message_text` TEXT NULL, PRIMARY KEY (`id`) ) COLLATE='utf8_general_ci' ENGINE=InnoDB ; データ INSER…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F2018%2F04%2F11%2F225229&quot; title=&quot;【SQL】初めの数文字が一致してたら同一データと見なすSQLを考える - プログラム の超個人的なメモ&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>2018-04-11 22:52:29</published>
  <title>【SQL】初めの数文字が一致してたら同一データと見なすSQLを考える</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/2018/04/11/225229</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
