<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Heck's  Blog]]></title> 
<link>https://www.heckjj.com/index.php</link> 
<description><![CDATA[一瞬间的决定，往往可以改变很多，事实上，让自己成功的往往不是知识，是精神！ 如果你总是为自己找借口，那只好让成功推迟。执行力，今天！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[Heck's  Blog]]></copyright>
<item>
<link>https://www.heckjj.com/post//</link>
<title><![CDATA[MySQL 查询表中某字段值重复的数据]]></title> 
<author>Heck &lt;@hecks.tk&gt;</author>
<category><![CDATA[数据库]]></category>
<pubDate>Thu, 09 Jul 2020 08:06:10 +0000</pubDate> 
<guid>https://www.heckjj.com/post//</guid> 
<description>
<![CDATA[ 
	MySQL中，查询表（crawl_content）中字段（url）值重复的记录：<br/><br/>SELECT url, COUNT(*) AS sumCount FROM crawl_content GROUP BY url HAVING sumCount &gt; 1;<br/>说明：先用GROUP BY 对 url进行分组，同时使用COUNT（*）进行统计，再用HAVING来过滤大于1的，这样查找出来的就是重复的记录了。<br/>Tags - <a href="https://www.heckjj.com/tags/mysql/" rel="tag">mysql</a> , <a href="https://www.heckjj.com/tags/%25E6%259F%25A5%25E8%25AF%25A2%25E8%25A1%25A8%25E4%25B8%25AD%25E6%259F%2590%25E5%25AD%2597%25E6%25AE%25B5%25E5%2580%25BC%25E9%2587%258D%25E5%25A4%258D%25E7%259A%2584%25E6%2595%25B0%25E6%258D%25AE/" rel="tag">查询表中某字段值重复的数据</a>
]]>
</description>
</item><item>
<link>https://www.heckjj.com/post//#blogcomment</link>
<title><![CDATA[[评论] MySQL 查询表中某字段值重复的数据]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://www.heckjj.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>