<?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>How To PHP - PHP Technology, PHP Tutorial, Database Tutorials, CMS System &#187; Interview Questions</title>
	<atom:link href="http://www.phpmind.com/blog/category/interview-questions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpmind.com/blog</link>
	<description>Future of web development</description>
	<lastBuildDate>Tue, 10 Aug 2010 07:19:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to remove duplicate entries from a table ?</title>
		<link>http://www.phpmind.com/blog/2010/04/how-to-remove-duplicate-entries-from-a-table/</link>
		<comments>http://www.phpmind.com/blog/2010/04/how-to-remove-duplicate-entries-from-a-table/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 21:57:12 +0000</pubDate>
		<dc:creator>om</dc:creator>
				<category><![CDATA[Mysql Interview]]></category>

		<guid isPermaLink="false">http://www.phpmind.com/blog/?p=570</guid>
		<description><![CDATA[Removing Duplicate entries from Mysql database table are really simple. I have found some times interviewer ask tricky questions like this. PHP-MYSQL Beginners  just be careful ! It can all be done with three manual SQL steps! No PHP Coding required, and it works with MySQL 4 and above versions. Step One - View Code [...]]]></description>
			<content:encoded><![CDATA[<p>Removing Duplicate entries from Mysql database table are really simple. I have found some times interviewer ask tricky questions like this. PHP-MYSQL Beginners  just be careful !</p>
<p>It can all be done with three manual SQL steps! No PHP Coding required, and it works with MySQL 4 and above versions.</p>
<p><strong>Step One</strong> -</p>

<div class="wp_codebox_msgheader"><span class="right"></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p570code4'); return false;">View Code</a> SQL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p5704"><td class="code" id="p570code4"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">TABLE</span> MyNewTable <span style="color: #993333; font-weight: bold;">as</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> MyOldTable <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #cc66cc;">1</span> <span style="color: #993333; font-weight: bold;">GROUP</span> <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #66cc66;">&#91;</span><span style="color: #993333; font-weight: bold;">column</span> <span style="color: #993333; font-weight: bold;">to</span> remove duplicates <span style="color: #993333; font-weight: bold;">by</span><span style="color: #66cc66;">&#93;</span>;</pre></td></tr></table></div>

<p><strong>Step Two</strong> &#8211; You hate to keep old  table with all the duplicate entries, so drop it!</p>

<div class="wp_codebox_msgheader"><span class="right"></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p570code5'); return false;">View Code</a> SQL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p5705"><td class="code" id="p570code5"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">DROP</span> <span style="color: #993333; font-weight: bold;">TABLE</span> MyOldTable;</pre></td></tr></table></div>


<div class="wp_codebox_msgheader"><span class="right"></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p570code6'); return false;">View Code</a> SQL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p5706"><td class="code" id="p570code6"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">RENAME</span> <span style="color: #993333; font-weight: bold;">TABLE</span> MyNewTable <span style="color: #993333; font-weight: bold;">TO</span> MyOldTable;</pre></td></tr></table></div>

<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.phpmind.com%2Fblog%2F2010%2F04%2Fhow-to-remove-duplicate-entries-from-a-table%2F&amp;linkname=How%20to%20remove%20duplicate%20entries%20from%20a%20table%20%3F"><img src="http://www.phpmind.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.phpmind.com/blog/2010/04/how-to-remove-duplicate-entries-from-a-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is diffrence between echo and print?</title>
		<link>http://www.phpmind.com/blog/2009/01/what-is-diffrence-between-echo-and-print/</link>
		<comments>http://www.phpmind.com/blog/2009/01/what-is-diffrence-between-echo-and-print/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 19:06:01 +0000</pubDate>
		<dc:creator>om</dc:creator>
				<category><![CDATA[Interview Questions]]></category>

		<guid isPermaLink="false">http://localhost/projects/phpmind/blog/?p=3</guid>
		<description><![CDATA[Print method can return a true/false value. This may be helpful during a script execution of somesort. If you need to output data through a function, you can use print() instead Echo does not return a value, but has been considered as a faster executed command. echo is not a function and, as such, it [...]]]></description>
			<content:encoded><![CDATA[<p>Print method can return a true/false value. This may be helpful during a script execution of somesort. If you need to output data through a function, you can use print()<br />
instead</p>
<p>Echo does not return a value, but has been considered as a faster executed command. echo is not a function and, as such, it does not have a return value.<br />
echo 30;<br />
print (30);</p>
<ul id="newtagcloud"><li></li></ul>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.phpmind.com%2Fblog%2F2009%2F01%2Fwhat-is-diffrence-between-echo-and-print%2F&amp;linkname=What%20is%20diffrence%20between%20echo%20and%20print%3F"><img src="http://www.phpmind.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.phpmind.com/blog/2009/01/what-is-diffrence-between-echo-and-print/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How many types of Tags are available in php?</title>
		<link>http://www.phpmind.com/blog/2009/01/how-many-types-of-tags-are-available-in-php/</link>
		<comments>http://www.phpmind.com/blog/2009/01/how-many-types-of-tags-are-available-in-php/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 11:44:58 +0000</pubDate>
		<dc:creator>om</dc:creator>
				<category><![CDATA[PHP Interview]]></category>

		<guid isPermaLink="false">http://localhost/projects/phpmind/blog/?p=1</guid>
		<description><![CDATA[Standard Tags &#60;?php &#8230; code ?&#62; Short Tags &#60;? &#8230; code ?&#62; &#60;?= $variable ?&#62; Script Tags &#60;script language=“php”&#62; &#8230; code &#60;/script&#62; ASP Tags &#60;% &#8230; code %&#62; Short tags, script tags and ASP tags are all considered deprecated and their use is strongly discouraged.]]></description>
			<content:encoded><![CDATA[<p>Standard Tags &lt;?php<br />
&#8230; code<br />
?&gt;</p>
<p>Short Tags &lt;?<br />
&#8230; code<br />
?&gt;</p>
<p>&lt;?= $variable ?&gt;</p>
<p>Script Tags &lt;script language=“php”&gt;<br />
&#8230; code<br />
&lt;/script&gt;</p>
<p>ASP Tags &lt;%<br />
&#8230; code<br />
%&gt;</p>
<blockquote><p>Short tags, script tags and ASP tags are all considered deprecated and their use is strongly discouraged.</p></blockquote>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.phpmind.com%2Fblog%2F2009%2F01%2Fhow-many-types-of-tags-are-available-in-php%2F&amp;linkname=How%20many%20types%20of%20Tags%20are%20available%20in%20php%3F"><img src="http://www.phpmind.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.phpmind.com/blog/2009/01/how-many-types-of-tags-are-available-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
