<?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>Interview Questions &#187; MySQL</title>
	<atom:link href="http://www.phpinterviewquestion.com/category/mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phpinterviewquestion.com</link>
	<description>Interview Questions</description>
	<lastBuildDate>Sun, 27 Nov 2011 16:32:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>What is the difference between Primary Key and Unique key?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-is-the-difference-between-primary-key-and-unique-key</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-is-the-difference-between-primary-key-and-unique-key#comments</comments>
		<pubDate>Wed, 16 Mar 2011 11:00:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1146</guid>
		<description><![CDATA[Both Primary Key and Unique Key enforces uniqueness of the column on which they are defined. But by default Primary Key creates a Clustered Index on the column, where are Unique Key creates a Nonclustered Index by default. Another major difference is that, Primary Key doesn’t allow NULLs, but Unique Key allows one NULL only.]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-is-the-difference-between-primary-key-and-unique-key/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What are the advantages of stored procedures, triggers, indexes?</title>
		<link>http://www.phpinterviewquestion.com/mysql/what-are-the-advantages-of-stored-procedures-triggers-indexes</link>
		<comments>http://www.phpinterviewquestion.com/mysql/what-are-the-advantages-of-stored-procedures-triggers-indexes#comments</comments>
		<pubDate>Wed, 16 Mar 2011 10:54:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1143</guid>
		<description><![CDATA[A stored procedure is a set of SQL commands that can be compiled and stored in the server. Once this has been done, clients don&#8217;t need to keep re-issuing the entire query but can refer to the stored procedure. This provides better overall performance because the query has to be parsed only once, and less [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/what-are-the-advantages-of-stored-procedures-triggers-indexes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to search second maximum(second highest) salary value(integer)from table employee (field salary)in the manner so that mysql gets less load?</title>
		<link>http://www.phpinterviewquestion.com/mysql/how-to-search-second-maximumsecond-highest-salary-valueintegerfrom-table-employee-field-salaryin-the-manner-so-that-mysql-gets-less-load</link>
		<comments>http://www.phpinterviewquestion.com/mysql/how-to-search-second-maximumsecond-highest-salary-valueintegerfrom-table-employee-field-salaryin-the-manner-so-that-mysql-gets-less-load#comments</comments>
		<pubDate>Wed, 16 Mar 2011 10:39:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1135</guid>
		<description><![CDATA[By below query we will get second maximum(second highest) table employee (field salary)in the manner so that mysql gets less load? SELECT DISTINCT(salary) FROM employee order by salary desc limit 1 , 1 ;]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/how-to-search-second-maximumsecond-highest-salary-valueintegerfrom-table-employee-field-salaryin-the-manner-so-that-mysql-gets-less-load/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to show all records starting with the letters &#8216;sadiq&#8217; AND the phone number &#8217;9899502345&#8242; limit to records 1 through 10.</title>
		<link>http://www.phpinterviewquestion.com/mysql/how-to-show-all-records-starting-with-the-letters-sadiq-and-the-phone-number-9899502345-limit-to-records-1-through-10</link>
		<comments>http://www.phpinterviewquestion.com/mysql/how-to-show-all-records-starting-with-the-letters-sadiq-and-the-phone-number-9899502345-limit-to-records-1-through-10#comments</comments>
		<pubDate>Wed, 16 Mar 2011 10:12:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1130</guid>
		<description><![CDATA[mysql&#62; SELECT * FROM tablename WHERE name like &#8220;sadiq%&#8221; AND phone_number = &#8217;9899502345&#8242;limit 1,10;]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/how-to-show-all-records-starting-with-the-letters-sadiq-and-the-phone-number-9899502345-limit-to-records-1-through-10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Show all records starting with the letters &#8216;sadiq&#8217; AND the phone number &#8217;9899502345&#8242;</title>
		<link>http://www.phpinterviewquestion.com/mysql/how-to-show-all-records-starting-with-the-letters-sadiq-and-the-phone-number-9899502345</link>
		<comments>http://www.phpinterviewquestion.com/mysql/how-to-show-all-records-starting-with-the-letters-sadiq-and-the-phone-number-9899502345#comments</comments>
		<pubDate>Wed, 16 Mar 2011 10:10:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1128</guid>
		<description><![CDATA[mysql&#62; SELECT * FROM tablename WHERE name like &#8220;sadiq%&#8221; AND phone_number = &#8217;9899502345&#8242;;]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/how-to-show-all-records-starting-with-the-letters-sadiq-and-the-phone-number-9899502345/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How you will Show all records not containing the name &#8220;sadiq&#8221; AND the phone number &#8217;9899502345&#8242; order by the phone_number field.</title>
		<link>http://www.phpinterviewquestion.com/mysql/how-you-will-show-all-records-not-containing-the-name-sadiq-and-the-phone-number-9899502345-order-by-the-phone_number-field</link>
		<comments>http://www.phpinterviewquestion.com/mysql/how-you-will-show-all-records-not-containing-the-name-sadiq-and-the-phone-number-9899502345-order-by-the-phone_number-field#comments</comments>
		<pubDate>Wed, 16 Mar 2011 10:09:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1126</guid>
		<description><![CDATA[mysql&#62; SELECT < * FROM tablename WHERE name != &#8220;sadiq&#8221; AND phone_number = &#8217;9899502345&#8242; ;]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/how-you-will-show-all-records-not-containing-the-name-sadiq-and-the-phone-number-9899502345-order-by-the-phone_number-field/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How will Show all records containing the name &#8220;sadiq&#8221; AND the phone number &#8217;9899502345&#8242;</title>
		<link>http://www.phpinterviewquestion.com/mysql/how-will-show-all-records-containing-the-name-sadiq-and-the-phone-number-9899502345</link>
		<comments>http://www.phpinterviewquestion.com/mysql/how-will-show-all-records-containing-the-name-sadiq-and-the-phone-number-9899502345#comments</comments>
		<pubDate>Wed, 16 Mar 2011 10:06:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1124</guid>
		<description><![CDATA[mysql&#62; SELECT * FROM tablename WHERE name = &#8220;sadiq&#8221; AND phone_number = &#8217;9899502345&#8242;;]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/how-will-show-all-records-containing-the-name-sadiq-and-the-phone-number-9899502345/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How would you write a query to select all teams that won either 1, 4, 5 or 7 games?</title>
		<link>http://www.phpinterviewquestion.com/mysql/how-would-you-write-a-query-to-select-all-teams-that-won-either-1-4-5-or-7-games</link>
		<comments>http://www.phpinterviewquestion.com/mysql/how-would-you-write-a-query-to-select-all-teams-that-won-either-1-4-5-or-7-games#comments</comments>
		<pubDate>Wed, 16 Mar 2011 09:56:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1121</guid>
		<description><![CDATA[SELECT FROM teams WHERE team_won IN (1, 4, 5, 9)]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/how-would-you-write-a-query-to-select-all-teams-that-won-either-1-4-5-or-7-games/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I find out all databases starting with ‘word’ to which I have access to?</title>
		<link>http://www.phpinterviewquestion.com/mysql/how-do-i-find-out-all-databases-starting-with-%e2%80%98word%e2%80%99-to-which-i-have-access-to</link>
		<comments>http://www.phpinterviewquestion.com/mysql/how-do-i-find-out-all-databases-starting-with-%e2%80%98word%e2%80%99-to-which-i-have-access-to#comments</comments>
		<pubDate>Wed, 16 Mar 2011 09:53:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1119</guid>
		<description><![CDATA[SHOW DATABASES LIKE ‘tech%’;]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/how-do-i-find-out-all-databases-starting-with-%e2%80%98word%e2%80%99-to-which-i-have-access-to/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What do % and _ mean inside LIKE statement?</title>
		<link>http://www.phpinterviewquestion.com/mysql/what-do-and-_-mean-inside-like-statement</link>
		<comments>http://www.phpinterviewquestion.com/mysql/what-do-and-_-mean-inside-like-statement#comments</comments>
		<pubDate>Wed, 16 Mar 2011 09:52:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1117</guid>
		<description><![CDATA[% corresponds to 0 or more characters, is exactly one character.]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/what-do-and-_-mean-inside-like-statement/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What’s the difference between CHAR_LENGTH and LENGTH?</title>
		<link>http://www.phpinterviewquestion.com/mysql/what%e2%80%99s-the-difference-between-char_length-and-length</link>
		<comments>http://www.phpinterviewquestion.com/mysql/what%e2%80%99s-the-difference-between-char_length-and-length#comments</comments>
		<pubDate>Wed, 16 Mar 2011 09:50:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1115</guid>
		<description><![CDATA[The first is, naturally, the character count. The second is byte count. For the Latin characters the numbers are the same, but they’re not the same and other encodings.]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/what%e2%80%99s-the-difference-between-char_length-and-length/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When would you use ORDER BY in DELETE statement?</title>
		<link>http://www.phpinterviewquestion.com/mysql/when-would-you-use-order-by-in-delete-statement</link>
		<comments>http://www.phpinterviewquestion.com/mysql/when-would-you-use-order-by-in-delete-statement#comments</comments>
		<pubDate>Wed, 16 Mar 2011 09:48:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1112</guid>
		<description><![CDATA[When you’re not deleting by row ID. Such as in DELETE FROM techpreparation_com_questions ORDER BY timestamp LIMIT 1. This will delete the most recently posted question in the table techpreparation_com_questions.]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/when-would-you-use-order-by-in-delete-statement/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do you return the a hundred books starting from 30th?</title>
		<link>http://www.phpinterviewquestion.com/mysql/how-do-you-return-the-a-hundred-books-starting-from-30th</link>
		<comments>http://www.phpinterviewquestion.com/mysql/how-do-you-return-the-a-hundred-books-starting-from-30th#comments</comments>
		<pubDate>Wed, 16 Mar 2011 09:47:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1110</guid>
		<description><![CDATA[SELECT book_title FROM books LIMIT 30, 100. The first number in LIMIT is the offset, the second is the number.]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/how-do-you-return-the-a-hundred-books-starting-from-30th/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If the value in the column is repeatable, how do you find out the unique values?</title>
		<link>http://www.phpinterviewquestion.com/mysql/if-the-value-in-the-column-is-repeatable-how-do-you-find-out-the-unique-values</link>
		<comments>http://www.phpinterviewquestion.com/mysql/if-the-value-in-the-column-is-repeatable-how-do-you-find-out-the-unique-values#comments</comments>
		<pubDate>Wed, 16 Mar 2011 09:45:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1108</guid>
		<description><![CDATA[Use DISTINCT query, such as SELECT DISTINCT user_firstname FROM users; You can also ask for a number of distinct values by saying SELECT COUNT (DISTINCT user_firstname) FROM users;]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/if-the-value-in-the-column-is-repeatable-how-do-you-find-out-the-unique-values/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is DDL, DML and DCL ?</title>
		<link>http://www.phpinterviewquestion.com/mysql/what-is-ddl-dml-and-dcl</link>
		<comments>http://www.phpinterviewquestion.com/mysql/what-is-ddl-dml-and-dcl#comments</comments>
		<pubDate>Wed, 16 Mar 2011 09:43:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/mysql/what-is-ddl-dml-and-dcl</guid>
		<description><![CDATA[If you look at the large variety of SQL commands, they can be divided into three large subgroups. Data Definition Language deals with database schemas and descriptions of how the data should reside in the database, therefore language statements like CREATE TABLE or ALTER TABLE belong to DDL. DML deals with data manipulation, and therefore [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/what-is-ddl-dml-and-dcl/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s MySQL ?</title>
		<link>http://www.phpinterviewquestion.com/mysql/whats-mysql</link>
		<comments>http://www.phpinterviewquestion.com/mysql/whats-mysql#comments</comments>
		<pubDate>Wed, 16 Mar 2011 09:41:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=1105</guid>
		<description><![CDATA[MySQL (pronounced &#8220;my ess cue el&#8221;) is an open source relational database management system (RDBMS) that uses Structured Query Language (SQL), the most popular language for adding, accessing, and processing data in a database. Because it is open source, anyone can MySQL and tailor it to their needs in accordance with the general public license. [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/whats-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to kill a MySQL query?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-to-kill-a-mysql-query</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-to-kill-a-mysql-query#comments</comments>
		<pubDate>Wed, 03 Feb 2010 19:07:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=667</guid>
		<description><![CDATA[If you fired a query, that takes more time to complete their execution. but you want to stop this query. To stop this query you must use Kill command to achieve it. Follow two step to kill your query. mysql&#62; SHOW PROCESSLIST; above command will show all running process on the server. Here  you will [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-to-kill-a-mysql-query/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Differences between DROP and TRUNCATE a table?</title>
		<link>http://www.phpinterviewquestion.com/mysql/differences-between-drop-and-truncate-a-table</link>
		<comments>http://www.phpinterviewquestion.com/mysql/differences-between-drop-and-truncate-a-table#comments</comments>
		<pubDate>Fri, 15 Jan 2010 19:27:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[DROP and TRUNCATE]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=591</guid>
		<description><![CDATA[DROP TABLE table_name &#8211; This will delete the table and its data. TRUNCATE  TABLE table_name &#8211; This will delete the data of the  trial offer table, but not the table definition.]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/differences-between-drop-and-truncate-a-table/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is the default table in MYSQL? which type of table is generatedby default.</title>
		<link>http://www.phpinterviewquestion.com/mysql/what-is-the-default-table-in-mysql-which-type-of-table-is-generatedby-default</link>
		<comments>http://www.phpinterviewquestion.com/mysql/what-is-the-default-table-in-mysql-which-type-of-table-is-generatedby-default#comments</comments>
		<pubDate>Sun, 10 Jan 2010 09:43:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MyISAM]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=536</guid>
		<description><![CDATA[MyISAM is the default storage engine.]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/what-is-the-default-table-in-mysql-which-type-of-table-is-generatedby-default/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How many  number of tables are present in MYSQL Data base?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-many-number-of-tables-are-present-in-mysql-data-base</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-many-number-of-tables-are-present-in-mysql-data-base#comments</comments>
		<pubDate>Sun, 10 Jan 2010 09:38:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[How many  number of tables are present in MYSQL Data base?]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=532</guid>
		<description><![CDATA[Total 5 types of tables we can create 1. MyISAM 2. Heap 3. Merge 4. INNO DB 5. ISAM]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-many-number-of-tables-are-present-in-mysql-data-base/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is LEFT JOIN and RIGHT JOIN, INNER JOIN and OUTER JOIN in mysql?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-is-left-join-and-right-join-inner-join-and-outer-join-in-mysql</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-is-left-join-and-right-join-inner-join-and-outer-join-in-mysql#comments</comments>
		<pubDate>Sun, 10 Jan 2010 07:23:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[INNER JOIN and OUTER JOIN]]></category>
		<category><![CDATA[JOIN and RIGHT JOIN]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=511</guid>
		<description><![CDATA[The best way to learn about JOINS is the example. So below is the example to demonstrate JOINS Suppose that there are two tables 1- Person 2-Information Person table has definition and data like  that Person: Number(Primary key) name phone 1 Mr Sana 0120 234564 2 Mr Urooj 0120 234567 3 Mr Imran 0120 245678 [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-is-left-join-and-right-join-inner-join-and-outer-join-in-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find the second highest salary from emp table?</title>
		<link>http://www.phpinterviewquestion.com/mysql/how-to-find-the-second-highest-salary-from-emp-table</link>
		<comments>http://www.phpinterviewquestion.com/mysql/how-to-find-the-second-highest-salary-from-emp-table#comments</comments>
		<pubDate>Mon, 28 Dec 2009 19:30:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=310</guid>
		<description><![CDATA[There are number of examples to get second highest salary from EMP table. example-select sal from(select sal from (select  distinct sal from emp order by sal desc) where rownum&#60;=2 order by sal asc) where rownum=1; example- SELECT MAX(SAL) FROM EMP WHERE SAL NOT IN (SELECT MAX(SAL)  FROM EMP) where EMP is table name,SAL is salary [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/how-to-find-the-second-highest-salary-from-emp-table/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.phpinterviewquestion.com @ 2012-02-06 06:18:47 -->
