<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>删除重复记录 - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/%E5%88%A0%E9%99%A4%E9%87%8D%E5%A4%8D%E8%AE%B0%E5%BD%95/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Wed, 03 Aug 2011 08:28:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>PHP+MYSQL 两行Query搞定删除重复数据</title>
		<link>https://www.coder4.com/archives/76</link>
					<comments>https://www.coder4.com/archives/76#comments</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 26 Nov 2009 08:24:00 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[数据库技术]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[删除重复记录]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=76</guid>

					<description><![CDATA[$db=mysql_connect('localhost','xxx','xxx'); //text为可能存在重复的字段名，先用count子句来把TEXT重复的记录的ID拎出来，不全拎，节省资源～ mysql_select_db('vbnew'); $sql="SELECT id, text, count( text ) FROM `dic` GROUP BY text HAVING count( text ) >1"; $result=mysql_query($sql)or die("Inva[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/76/feed</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
