<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Definition, Comparison and Difference between HAVING and WHERE Clause</title>
	<atom:link href="http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Someshwar</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-57768</link>
		<dc:creator>Someshwar</dc:creator>
		<pubDate>Fri, 20 Nov 2009 09:32:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-57768</guid>
		<description>Nice explanation, easily understandable , thanks a lot</description>
		<content:encoded><![CDATA[<p>Nice explanation, easily understandable , thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ajit</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-55853</link>
		<dc:creator>ajit</dc:creator>
		<pubDate>Mon, 14 Sep 2009 05:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-55853</guid>
		<description>Nice explanation,This Question was asked MKCL Exam...</description>
		<content:encoded><![CDATA[<p>Nice explanation,This Question was asked MKCL Exam&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shital</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-55123</link>
		<dc:creator>Shital</dc:creator>
		<pubDate>Sat, 22 Aug 2009 15:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-55123</guid>
		<description>Thanks, its really helpfull</description>
		<content:encoded><![CDATA[<p>Thanks, its really helpfull</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srinivas Donavalli</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-54397</link>
		<dc:creator>Srinivas Donavalli</dc:creator>
		<pubDate>Mon, 03 Aug 2009 18:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-54397</guid>
		<description>Excellent. Nice explanation. Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Excellent. Nice explanation. Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AS</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-51090</link>
		<dc:creator>AS</dc:creator>
		<pubDate>Sat, 18 Apr 2009 07:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-51090</guid>
		<description>GROUP BY returns single occurence of a row. However I need to limit it to a specified number of occurences.

Suppose the tabe has the following:

number     letter

100          A
100          A
100          A
200          B
200          B
200          B
200          B

....and I need this to limit to say 2 occurences...the output should be...

100      A
100      A
200      B
200      B

....so on for each of the multiple rows in the table..

Can you please direct me to the right query?</description>
		<content:encoded><![CDATA[<p>GROUP BY returns single occurence of a row. However I need to limit it to a specified number of occurences.</p>
<p>Suppose the tabe has the following:</p>
<p>number     letter</p>
<p>100          A<br />
100          A<br />
100          A<br />
200          B<br />
200          B<br />
200          B<br />
200          B</p>
<p>&#8230;.and I need this to limit to say 2 occurences&#8230;the output should be&#8230;</p>
<p>100      A<br />
100      A<br />
200      B<br />
200      B</p>
<p>&#8230;.so on for each of the multiple rows in the table..</p>
<p>Can you please direct me to the right query?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER - 2008 - Interview Questions and Answers - Part 3 Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-47473</link>
		<dc:creator>SQL SERVER - 2008 - Interview Questions and Answers - Part 3 Journey to SQL Authority with Pinal Dave</dc:creator>
		<pubDate>Thu, 26 Feb 2009 12:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-47473</guid>
		<description>[...] They specify a search condition for a group or an aggregate. But the difference is that HAVING can be used only with the SELECT statement. HAVING is typically used in a GROUP BY clause. When GROUP BY is not used, HAVING behaves like a WHERE clause. Having Clause is basically used only with the GROUP BY function in a query whereas WHERE Clause is applied to each row before they are part of the GROUP BY function in a query. (Read More Here) [...]</description>
		<content:encoded><![CDATA[<p>[...] They specify a search condition for a group or an aggregate. But the difference is that HAVING can be used only with the SELECT statement. HAVING is typically used in a GROUP BY clause. When GROUP BY is not used, HAVING behaves like a WHERE clause. Having Clause is basically used only with the GROUP BY function in a query whereas WHERE Clause is applied to each row before they are part of the GROUP BY function in a query. (Read More Here) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-47227</link>
		<dc:creator>SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave</dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:09:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-47227</guid>
		<description>[...] SQL SERVER - Definition, Comparison and Difference between HAVING and WHERE Clause [...]</description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER &#8211; Definition, Comparison and Difference between HAVING and WHERE Clause [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: balamuralikrishnan</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-44853</link>
		<dc:creator>balamuralikrishnan</dc:creator>
		<pubDate>Tue, 16 Dec 2008 15:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-44853</guid>
		<description>can u explain difference between GROUP BY and HAVING clause ?</description>
		<content:encoded><![CDATA[<p>can u explain difference between GROUP BY and HAVING clause ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harshil</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-44677</link>
		<dc:creator>harshil</dc:creator>
		<pubDate>Wed, 10 Dec 2008 07:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-44677</guid>
		<description>nice explanation.
example is also very helpful.</description>
		<content:encoded><![CDATA[<p>nice explanation.<br />
example is also very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rasel</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-44465</link>
		<dc:creator>rasel</dc:creator>
		<pubDate>Mon, 01 Dec 2008 13:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-44465</guid>
		<description>thanks...............
it is informative :D</description>
		<content:encoded><![CDATA[<p>thanks&#8230;&#8230;&#8230;&#8230;&#8230;<br />
it is informative :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K.K</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-43365</link>
		<dc:creator>K.K</dc:creator>
		<pubDate>Mon, 29 Sep 2008 08:57:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-43365</guid>
		<description>Hai,

The explanation is awesome..i got the exact difference now...thanks a lot..</description>
		<content:encoded><![CDATA[<p>Hai,</p>
<p>The explanation is awesome..i got the exact difference now&#8230;thanks a lot..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yatindra</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-43099</link>
		<dc:creator>Yatindra</dc:creator>
		<pubDate>Mon, 22 Sep 2008 06:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-43099</guid>
		<description>Superb explaination..Good work Pinal</description>
		<content:encoded><![CDATA[<p>Superb explaination..Good work Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GK Venkaesan</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-41264</link>
		<dc:creator>GK Venkaesan</dc:creator>
		<pubDate>Mon, 04 Aug 2008 06:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-41264</guid>
		<description>Thank You Sir.</description>
		<content:encoded><![CDATA[<p>Thank You Sir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumar</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-40955</link>
		<dc:creator>kumar</dc:creator>
		<pubDate>Tue, 29 Jul 2008 07:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-40955</guid>
		<description>good..</description>
		<content:encoded><![CDATA[<p>good..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumar</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-40954</link>
		<dc:creator>kumar</dc:creator>
		<pubDate>Tue, 29 Jul 2008 07:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-40954</guid>
		<description>good one..</description>
		<content:encoded><![CDATA[<p>good one..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanjay</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-40316</link>
		<dc:creator>sanjay</dc:creator>
		<pubDate>Wed, 16 Jul 2008 12:20:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-40316</guid>
		<description>Its good explanation,but require diff between sql 2000 and 2005</description>
		<content:encoded><![CDATA[<p>Its good explanation,but require diff between sql 2000 and 2005</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saket</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-39993</link>
		<dc:creator>saket</dc:creator>
		<pubDate>Thu, 10 Jul 2008 04:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-39993</guid>
		<description>Thanks a lot
explaination is crystal clear ..</description>
		<content:encoded><![CDATA[<p>Thanks a lot<br />
explaination is crystal clear ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhimanyu</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-39304</link>
		<dc:creator>Abhimanyu</dc:creator>
		<pubDate>Wed, 18 Jun 2008 05:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-39304</guid>
		<description>Normally when we are looking for something on internet the 
percentage of usefull info is verry less..wht we get is normally crap.But this  is one of the best explanations i have came 
across...thanks a lot and keep it up.</description>
		<content:encoded><![CDATA[<p>Normally when we are looking for something on internet the<br />
percentage of usefull info is verry less..wht we get is normally crap.But this  is one of the best explanations i have came<br />
across&#8230;thanks a lot and keep it up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhik</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-39256</link>
		<dc:creator>Abhik</dc:creator>
		<pubDate>Mon, 16 Jun 2008 10:23:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-39256</guid>
		<description>will there be any difference is performance if we use HAVING in place of WHERE in a query which doesnot has any GROUPING clauses</description>
		<content:encoded><![CDATA[<p>will there be any difference is performance if we use HAVING in place of WHERE in a query which doesnot has any GROUPING clauses</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raghu</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-39200</link>
		<dc:creator>raghu</dc:creator>
		<pubDate>Fri, 13 Jun 2008 01:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-39200</guid>
		<description>thanks,it is informative</description>
		<content:encoded><![CDATA[<p>thanks,it is informative</p>
]]></content:encoded>
	</item>
</channel>
</rss>
