<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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>PHP Interview Questions and answers&#187; MySql Questions archives  &#8211; interview questions and answers</title>
	<atom:link href="http://www.phpinterviewquestions.com/tag/mysql-interview-questions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpinterviewquestions.com</link>
	<description>Prepare for your next php based interview with high confidence</description>
	<lastBuildDate>Mon, 26 Sep 2011 08:37:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Delete multiple duplicated rows</title>
		<link>http://www.phpinterviewquestions.com/mysql-interview-questions/delete-multiple-duplicate-rows/</link>
		<comments>http://www.phpinterviewquestions.com/mysql-interview-questions/delete-multiple-duplicate-rows/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 10:52:56 +0000</pubDate>
		<dc:creator>Bart</dc:creator>
				<category><![CDATA[MySql Questions]]></category>
		<category><![CDATA[Regular level]]></category>
		<category><![CDATA[mssql]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestions.com/?p=137</guid>
		<description><![CDATA[mssql, mysql alternative to set rowcount]]></description>
			<content:encoded><![CDATA[<p>How we can delete duplicate records of a table where it has no unique or primary keys?</p>
<p><strong>Mysql</strong><br />
delete from table where x = &#8216;aaa&#8217; limit 1;</p>
<p><strong>Mssql</strong><br />
set rowcount 1;<br />
delete from table where x = &#8216;aaa&#8217;;<br />
set rowcount 0;</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-8695027799979044";
/* 468x15, created 4/16/10 */
google_ad_slot = "1994287074";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpinterviewquestions.com/mysql-interview-questions/delete-multiple-duplicate-rows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

