<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: MySQL: Find Duplicate Entries in a Table</title>
	<link>http://www.terminally-incoherent.com/blog/2007/09/19/mysql-find-duplicate-entries-in-a-table/</link>
	<description>Utterly random, incoherent and disjointed rants and ramblings...</description>
	<pubDate>Thu, 08 Jan 2009 01:35:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: Nadab</title>
		<link>http://www.terminally-incoherent.com/blog/2007/09/19/mysql-find-duplicate-entries-in-a-table/#comment-9669</link>
		<pubDate>Tue, 22 Jul 2008 12:08:00 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2007/09/19/mysql-find-duplicate-entries-in-a-table/#comment-9669</guid>
					<description>hi all, Few days back i was looking for mysql administrative tool. i came across &lt;a href="http://webyog.com" rel="nofollow"&gt;sqlyog&lt;/a&gt; which has super cool features like data sync, migration from various like access, sql server with much more powerful tools. I was very impressed with the GUI and also their multiple databases connections. Just have a look into it !!!</description>
		<content:encoded><![CDATA[<p>hi all, Few days back i was looking for mysql administrative tool. i came across <a href="http://webyog.com" rel="nofollow">sqlyog</a> which has super cool features like data sync, migration from various like access, sql server with much more powerful tools. I was very impressed with the GUI and also their multiple databases connections. Just have a look into it !!!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2007/09/19/mysql-find-duplicate-entries-in-a-table/#comment-6250</link>
		<pubDate>Fri, 21 Sep 2007 02:44:56 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2007/09/19/mysql-find-duplicate-entries-in-a-table/#comment-6250</guid>
					<description>Actually, this is a whole separate problem since all proformas have unique filenames associated with them. So checking for duplicate entries submitted under wrong report ID is always a wild card search.

And this is actually one of the problems that is a 100% end user problem, and can be easily fixed by the office staff without involving the IT.</description>
		<content:encoded><![CDATA[<p>Actually, this is a whole separate problem since all proformas have unique filenames associated with them. So checking for duplicate entries submitted under wrong report ID is always a wild card search.</p>
<p>And this is actually one of the problems that is a 100% end user problem, and can be easily fixed by the office staff without involving the IT.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Ricardo</title>
		<link>http://www.terminally-incoherent.com/blog/2007/09/19/mysql-find-duplicate-entries-in-a-table/#comment-6241</link>
		<pubDate>Thu, 20 Sep 2007 01:52:40 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2007/09/19/mysql-find-duplicate-entries-in-a-table/#comment-6241</guid>
					<description>Isn't it also the case of having multiple of the same proforma with different ids?

In that case, you would need to identify columns that would have the value and compare them, like this:

SELECT 
	id, report_id, title, date
FROM
	proforma p1, proforma p2
where
	p1.title = p2.title
	and p1.date = p2.date
	and p1.report_id = p2.report_id
	and p1.id  p2.id

Since you said this is a 1-1 relationship, there shouldn't be no results from this query.</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t it also the case of having multiple of the same proforma with different ids?</p>
<p>In that case, you would need to identify columns that would have the value and compare them, like this:</p>
<p>SELECT<br />
	id, report_id, title, date<br />
FROM<br />
	proforma p1, proforma p2<br />
where<br />
	p1.title = p2.title<br />
	and p1.date = p2.date<br />
	and p1.report_id = p2.report_id<br />
	and p1.id  p2.id</p>
<p>Since you said this is a 1-1 relationship, there shouldn&#8217;t be no results from this query.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.431 seconds -->
