<?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; Advanced level Archives  &#8211; interview questions and answers</title>
	<atom:link href="http://www.phpinterviewquestions.com/category/mysql-interview-questions/advanced-level-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>Auto Increment id in Mysql</title>
		<link>http://www.phpinterviewquestions.com/mysql-interview-questions/advanced-level-mysql-interview-questions/auto-increment-id-in-mysql/</link>
		<comments>http://www.phpinterviewquestions.com/mysql-interview-questions/advanced-level-mysql-interview-questions/auto-increment-id-in-mysql/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 10:49:03 +0000</pubDate>
		<dc:creator>Bart</dc:creator>
				<category><![CDATA[Advanced level]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestions.com/wordpress/?p=27</guid>
		<description><![CDATA[There is a structure of a table with an auto-increment ID.Last inserted id is 2145. What will be the next ID after following conditions?
- Delete from tablename? 
- Delete from tablename where ID=&#8221;2145&#8243; 
- truncate table tablename 
2146, 2146, 1
]]></description>
			<content:encoded><![CDATA[<p>There is a structure of a table with an auto-increment ID.Last inserted id is 2145. What will be the next ID after following conditions?<br />
- Delete from tablename? <br />
- Delete from tablename where ID=&#8221;2145&#8243; <br />
- truncate table tablename </p>
<p>2146, 2146, 1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpinterviewquestions.com/mysql-interview-questions/advanced-level-mysql-interview-questions/auto-increment-id-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sql Join Operations</title>
		<link>http://www.phpinterviewquestions.com/mysql-interview-questions/advanced-level-mysql-interview-questions/sql-join-operations/</link>
		<comments>http://www.phpinterviewquestions.com/mysql-interview-questions/advanced-level-mysql-interview-questions/sql-join-operations/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 10:49:03 +0000</pubDate>
		<dc:creator>Bart</dc:creator>
				<category><![CDATA[Advanced level]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestions.com/wordpress/?p=28</guid>
		<description><![CDATA[What is the difference between inner join and outer join?
Simply, inner join gives both table&#8217;s common fields and outer join gives uncommon fields.
Inner join
SELECT CUSTOMERS.NAME, ORDERS.NAME
FROM CUSTOMERS
INNER JOIN ORDERS
ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID
Outer join
SELECT CUSTOMERS.NAME, ORDERS.NAME
FROM CUSTOMERS
LEFT JOIN ORDERS
ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID
]]></description>
			<content:encoded><![CDATA[<p>What is the difference between inner join and outer join?</p>
<p>Simply, inner join gives both table&#8217;s common fields and outer join gives uncommon fields.</p>
<p><b>Inner join</b><br />
SELECT CUSTOMERS.NAME, ORDERS.NAME<br />
FROM CUSTOMERS<br />
INNER JOIN ORDERS<br />
ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID</p>
<p><b>Outer join</b><br />
SELECT CUSTOMERS.NAME, ORDERS.NAME<br />
FROM CUSTOMERS<br />
LEFT JOIN ORDERS<br />
ON CUSTOMERS.ID = ORDERS.CUSTOMER_ID</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpinterviewquestions.com/mysql-interview-questions/advanced-level-mysql-interview-questions/sql-join-operations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

