<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>umakoya</author_name>
  <author_url>https://blog.hatena.ne.jp/umakoya/</author_url>
  <blog_title>umakoyaのメモ</blog_title>
  <blog_url>https://umakoya.hatenadiary.org/</blog_url>
  <categories>
    <anon>tips</anon>
    <anon>開発</anon>
  </categories>
  <description>DBの重複している行を確認したい。 Perl Tips: MySQL で、重複レコードを抽出する方法 http://perltips.twinkle.cc/mysql/distinct.phpMySQL （まぁ、単なる SQL）で、データベース中の重複レコードを除いて検索するには distinct を使うのが定石だが、その逆に重複レコードのみ抽出・取得したい場合はどのようにしたらよいのだろう？結論は、以下のようにすればよい。 select * from テーブルA where 列A in (select 列A from テーブルA group by 列A having count(*) &gt; 1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fumakoya.hatenadiary.org%2Fentry%2F20071005%2F1158920484&quot; title=&quot;SQLで重複レコードを抽出 - umakoyaのメモ&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>2007-10-05 19:21:24</published>
  <title>SQLで重複レコードを抽出</title>
  <type>rich</type>
  <url>https://umakoya.hatenadiary.org/entry/20071005/1158920484</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
