<?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>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Mon, 13 Feb 2012 15:11:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Geeta</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-246112</link>
		<dc:creator><![CDATA[Geeta]]></dc:creator>
		<pubDate>Tue, 31 Jan 2012 10:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-246112</guid>
		<description><![CDATA[thanks a lot]]></description>
		<content:encoded><![CDATA[<p>thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ramakrishna</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-236888</link>
		<dc:creator><![CDATA[ramakrishna]]></dc:creator>
		<pubDate>Sat, 14 Jan 2012 02:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-236888</guid>
		<description><![CDATA[I have table like this

sname             gender
ramakrishna       F
Sunitha              M
Ramudu             F
Mahalakshmi     F
Revathi              M
Renuka              M
Raghu                F
Rayudu              F
Krishnan            F
The client entered data male has female and female has male and some rows client entered correctly . How can i Update Male has gender male and female has gender female.


I want result like this
sname             gender
ramakrishna      M
Sunitha              F
Ramudu             M
Mahalakshmi     F
Revathi              F
Renuka              F
Raghu                M
Rayudu              M
Krishnan            M]]></description>
		<content:encoded><![CDATA[<p>I have table like this</p>
<p>sname             gender<br />
ramakrishna       F<br />
Sunitha              M<br />
Ramudu             F<br />
Mahalakshmi     F<br />
Revathi              M<br />
Renuka              M<br />
Raghu                F<br />
Rayudu              F<br />
Krishnan            F<br />
The client entered data male has female and female has male and some rows client entered correctly . How can i Update Male has gender male and female has gender female.</p>
<p>I want result like this<br />
sname             gender<br />
ramakrishna      M<br />
Sunitha              F<br />
Ramudu             M<br />
Mahalakshmi     F<br />
Revathi              F<br />
Renuka              F<br />
Raghu                M<br />
Rayudu              M<br />
Krishnan            M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ramakrishna</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-236886</link>
		<dc:creator><![CDATA[ramakrishna]]></dc:creator>
		<pubDate>Sat, 14 Jan 2012 02:26:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-236886</guid>
		<description><![CDATA[Hi,
 I have doubt in sqlserver.
      I have one table in my db.
sname  percentage
rama     86%
krishna   67%
varma   78
raghava 90%
venkat   87
radha   97
maanasa 89%

How can i get get data who is having percentage in my table?
Very important and I need immediate reply friends
Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
 I have doubt in sqlserver.<br />
      I have one table in my db.<br />
sname  percentage<br />
rama     86%<br />
krishna   67%<br />
varma   78<br />
raghava 90%<br />
venkat   87<br />
radha   97<br />
maanasa 89%</p>
<p>How can i get get data who is having percentage in my table?<br />
Very important and I need immediate reply friends<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-234700</link>
		<dc:creator><![CDATA[Tim]]></dc:creator>
		<pubDate>Tue, 10 Jan 2012 09:10: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-234700</guid>
		<description><![CDATA[That&#039;s an interesting question, Igor. There is plenty of redundancy in SQL syntax. 

As regards HAVING, I suppose TOP could be used to replace some HAVING expressions, but only some.

As for WHERE, it depends on the WHERE clause. Some WHERE expressions could be more elegantly (and in some RDBMSs more efficiently) achieved using a JOIN. Most, though, cannot.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s an interesting question, Igor. There is plenty of redundancy in SQL syntax. </p>
<p>As regards HAVING, I suppose TOP could be used to replace some HAVING expressions, but only some.</p>
<p>As for WHERE, it depends on the WHERE clause. Some WHERE expressions could be more elegantly (and in some RDBMSs more efficiently) achieved using a JOIN. Most, though, cannot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XAVI RAJ</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-234222</link>
		<dc:creator><![CDATA[XAVI RAJ]]></dc:creator>
		<pubDate>Mon, 09 Jan 2012 13:30: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-234222</guid>
		<description><![CDATA[Nice explanation]]></description>
		<content:encoded><![CDATA[<p>Nice explanation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-208007</link>
		<dc:creator><![CDATA[Igor]]></dc:creator>
		<pubDate>Wed, 30 Nov 2011 14:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-208007</guid>
		<description><![CDATA[Is HAVING redundant?
In other words,
Any query with HAVING clause has its HAVING-less semantic equivalent.
True or false?

Same question with HAVING replaced by WHERE.]]></description>
		<content:encoded><![CDATA[<p>Is HAVING redundant?<br />
In other words,<br />
Any query with HAVING clause has its HAVING-less semantic equivalent.<br />
True or false?</p>
<p>Same question with HAVING replaced by WHERE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kalaiselvi</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-198497</link>
		<dc:creator><![CDATA[kalaiselvi]]></dc:creator>
		<pubDate>Fri, 18 Nov 2011 11:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-198497</guid>
		<description><![CDATA[s.........this is easily understanding the people]]></description>
		<content:encoded><![CDATA[<p>s&#8230;&#8230;&#8230;this is easily understanding the people</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neeraj Kumar</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-194280</link>
		<dc:creator><![CDATA[Neeraj Kumar]]></dc:creator>
		<pubDate>Sun, 13 Nov 2011 04:26: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-194280</guid>
		<description><![CDATA[Superb man]]></description>
		<content:encoded><![CDATA[<p>Superb man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav Gupta</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-176048</link>
		<dc:creator><![CDATA[Gaurav Gupta]]></dc:creator>
		<pubDate>Fri, 07 Oct 2011 11:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-176048</guid>
		<description><![CDATA[Nice article. Please put more light on performance issue in order to use Having and where clause. Also post some business scenarios in order to use Having and where.]]></description>
		<content:encoded><![CDATA[<p>Nice article. Please put more light on performance issue in order to use Having and where clause. Also post some business scenarios in order to use Having and where.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-168750</link>
		<dc:creator><![CDATA[Tim]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 14:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-168750</guid>
		<description><![CDATA[Let&#039;s see if I understand this correctly: nothing in the Group By clause can change, before or after aggregation. Therefore, any condition on these fields could be done either in a Where clause or in a Having clause.

Therefore, the only reason to use a Having clause is if I want to put in a condition based on aggregated values. But if I must have a Having clause, I may as well put all of my conditions into it, to save the bother of including both a Where and a Having clause. 

Is this correct, or have I missed something?]]></description>
		<content:encoded><![CDATA[<p>Let&#8217;s see if I understand this correctly: nothing in the Group By clause can change, before or after aggregation. Therefore, any condition on these fields could be done either in a Where clause or in a Having clause.</p>
<p>Therefore, the only reason to use a Having clause is if I want to put in a condition based on aggregated values. But if I must have a Having clause, I may as well put all of my conditions into it, to save the bother of including both a Where and a Having clause. </p>
<p>Is this correct, or have I missed something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SABARINATHAN</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-164763</link>
		<dc:creator><![CDATA[SABARINATHAN]]></dc:creator>
		<pubDate>Fri, 02 Sep 2011 11:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-164763</guid>
		<description><![CDATA[Nice article...i have one doubt can we use HAVING with out GROUP BY clauss.. if possible can you explain in detail, when we need to use where and having.]]></description>
		<content:encoded><![CDATA[<p>Nice article&#8230;i have one doubt can we use HAVING with out GROUP BY clauss.. if possible can you explain in detail, when we need to use where and having.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 7 of 31 Journey to SQLAuthority</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-146532</link>
		<dc:creator><![CDATA[SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 7 of 31 Journey to SQLAuthority]]></dc:creator>
		<pubDate>Thu, 07 Jul 2011 01:32: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-146532</guid>
		<description><![CDATA[[...] 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: iMatoria</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-144119</link>
		<dc:creator><![CDATA[iMatoria]]></dc:creator>
		<pubDate>Mon, 27 Jun 2011 06:52:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-144119</guid>
		<description><![CDATA[I knew the difference when i had around 1 year of experience. Probably, you are not interviewing right prospects. :) 
Anyways, you are doing great job by maintaining this blog.]]></description>
		<content:encoded><![CDATA[<p>I knew the difference when i had around 1 year of experience. Probably, you are not interviewing right prospects. :)<br />
Anyways, you are doing great job by maintaining this blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-135366</link>
		<dc:creator><![CDATA[Imran Mohammed]]></dc:creator>
		<pubDate>Fri, 20 May 2011 03:16:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-135366</guid>
		<description><![CDATA[@Rahul,

You are getting Multiple Counts because you are grouping using group by Nop_Product.Name. 

That means, for every Nop_Product.Name you will see a Count. If you dont want that... you can consider your this whole query as inner query.

Here is an example,

select	COUNT(*)
From	(
			select	Count(*) Counts
			FROM	Nop_Product 
					INNER JOIN Nop_ProductVariant ON Nop_Product.ProductID = Nop_ProductVariant.ProductID
			where	(	Nop_Product.Color like ‘%’ + @Keywords + ‘%’ 
						or	Nop_Product.Style like ‘%’ + @Keywords + ‘%’ 
						or	Nop_Product.Brand like ‘%’ + @Keywords + ‘%’ 
						or	Nop_Product.Name like ‘%’ + @Keywords + ‘%’
					)
			group by	Nop_Product.Name
			having MAX(	Nop_ProductVariant.StockQuantity) &gt; 3.
)A


~ IM.]]></description>
		<content:encoded><![CDATA[<p>@Rahul,</p>
<p>You are getting Multiple Counts because you are grouping using group by Nop_Product.Name. </p>
<p>That means, for every Nop_Product.Name you will see a Count. If you dont want that&#8230; you can consider your this whole query as inner query.</p>
<p>Here is an example,</p>
<p>select	COUNT(*)<br />
From	(<br />
			select	Count(*) Counts<br />
			FROM	Nop_Product<br />
					INNER JOIN Nop_ProductVariant ON Nop_Product.ProductID = Nop_ProductVariant.ProductID<br />
			where	(	Nop_Product.Color like ‘%’ + @Keywords + ‘%’<br />
						or	Nop_Product.Style like ‘%’ + @Keywords + ‘%’<br />
						or	Nop_Product.Brand like ‘%’ + @Keywords + ‘%’<br />
						or	Nop_Product.Name like ‘%’ + @Keywords + ‘%’<br />
					)<br />
			group by	Nop_Product.Name<br />
			having MAX(	Nop_ProductVariant.StockQuantity) &gt; 3.<br />
)A</p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul.k</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-135231</link>
		<dc:creator><![CDATA[Rahul.k]]></dc:creator>
		<pubDate>Thu, 19 May 2011 10:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-135231</guid>
		<description><![CDATA[select Count(*) FROM Nop_Product INNER JOIN Nop_ProductVariant
 ON Nop_Product.ProductID = Nop_ProductVariant.ProductID 
 where(Nop_Product.Color like &#039;%&#039; + @Keywords + &#039;%&#039; or  
       Nop_Product.Style like &#039;%&#039; + @Keywords + &#039;%&#039; or  
       Nop_Product.Brand like &#039;%&#039; + @Keywords + &#039;%&#039; or  
       Nop_Product.Name like &#039;%&#039; + @Keywords + &#039;%&#039;)
 group by Nop_Product.Name
 having MAX(Nop_ProductVariant.StockQuantity) &gt; 3.

I need to return the count from this query, but it is returning multiple rows and not returning actual count. Can anyone please help me as I need it urgently....]]></description>
		<content:encoded><![CDATA[<p>select Count(*) FROM Nop_Product INNER JOIN Nop_ProductVariant<br />
 ON Nop_Product.ProductID = Nop_ProductVariant.ProductID<br />
 where(Nop_Product.Color like &#8216;%&#8217; + @Keywords + &#8216;%&#8217; or<br />
       Nop_Product.Style like &#8216;%&#8217; + @Keywords + &#8216;%&#8217; or<br />
       Nop_Product.Brand like &#8216;%&#8217; + @Keywords + &#8216;%&#8217; or<br />
       Nop_Product.Name like &#8216;%&#8217; + @Keywords + &#8216;%&#8217;)<br />
 group by Nop_Product.Name<br />
 having MAX(Nop_ProductVariant.StockQuantity) &gt; 3.</p>
<p>I need to return the count from this query, but it is returning multiple rows and not returning actual count. Can anyone please help me as I need it urgently&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lilesh</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-131558</link>
		<dc:creator><![CDATA[lilesh]]></dc:creator>
		<pubDate>Wed, 27 Apr 2011 14:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-131558</guid>
		<description><![CDATA[thanks for ur thoughts]]></description>
		<content:encoded><![CDATA[<p>thanks for ur thoughts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohit</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-124536</link>
		<dc:creator><![CDATA[Mohit]]></dc:creator>
		<pubDate>Wed, 23 Mar 2011 09:43:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-124536</guid>
		<description><![CDATA[where is i m lacking ?

--Fetching unmatched record

select ident
from
(
select ident, full_name from position_code_abstract UNION All select position_code_abstract_ident, comments
from position_code_abstract_comment)
Group by ident  
having count(*)=1
order by ident]]></description>
		<content:encoded><![CDATA[<p>where is i m lacking ?</p>
<p>&#8211;Fetching unmatched record</p>
<p>select ident<br />
from<br />
(<br />
select ident, full_name from position_code_abstract UNION All select position_code_abstract_ident, comments<br />
from position_code_abstract_comment)<br />
Group by ident<br />
having count(*)=1<br />
order by ident</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kamal</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-123760</link>
		<dc:creator><![CDATA[kamal]]></dc:creator>
		<pubDate>Fri, 18 Mar 2011 07:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-123760</guid>
		<description><![CDATA[parity sql server meaning]]></description>
		<content:encoded><![CDATA[<p>parity sql server meaning</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javed Khan</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-117676</link>
		<dc:creator><![CDATA[Javed Khan]]></dc:creator>
		<pubDate>Wed, 09 Feb 2011 13:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-117676</guid>
		<description><![CDATA[Hi Sir
thanks a Lot for it.
its best for me.]]></description>
		<content:encoded><![CDATA[<p>Hi Sir<br />
thanks a Lot for it.<br />
its best for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohtshm</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-115380</link>
		<dc:creator><![CDATA[Mohtshm]]></dc:creator>
		<pubDate>Mon, 31 Jan 2011 15:17: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-115380</guid>
		<description><![CDATA[i thought that where execute on retrieved records while having filter before fetching so i think this is a big difference in execution of a query. please guide and correct me]]></description>
		<content:encoded><![CDATA[<p>i thought that where execute on retrieved records while having filter before fetching so i think this is a big difference in execution of a query. please guide and correct me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalyani</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-114090</link>
		<dc:creator><![CDATA[Kalyani]]></dc:creator>
		<pubDate>Tue, 25 Jan 2011 11:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-114090</guid>
		<description><![CDATA[Really Helpful article]]></description>
		<content:encoded><![CDATA[<p>Really Helpful article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vilas</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-111276</link>
		<dc:creator><![CDATA[vilas]]></dc:creator>
		<pubDate>Mon, 17 Jan 2011 06:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-111276</guid>
		<description><![CDATA[I would like to say only one sentence

&quot;Very very nice article&quot;]]></description>
		<content:encoded><![CDATA[<p>I would like to say only one sentence</p>
<p>&#8220;Very very nice article&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASHOK kUMAR</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-104348</link>
		<dc:creator><![CDATA[ASHOK kUMAR]]></dc:creator>
		<pubDate>Wed, 08 Dec 2010 21:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-104348</guid>
		<description><![CDATA[&quot;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.&quot;

I found the above statement written by you WRONG. i tried the 
following statement and got an error:

select * from customers having customerid=100

Conclusion: We can not use only HAVING in SELECT statement.]]></description>
		<content:encoded><![CDATA[<p>&#8220;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.&#8221;</p>
<p>I found the above statement written by you WRONG. i tried the<br />
following statement and got an error:</p>
<p>select * from customers having customerid=100</p>
<p>Conclusion: We can not use only HAVING in SELECT statement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stan</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-97421</link>
		<dc:creator><![CDATA[stan]]></dc:creator>
		<pubDate>Tue, 02 Nov 2010 18:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-97421</guid>
		<description><![CDATA[i was always under impression that you should use WHERE whenever possible, leaving HAVING to those times when where can not get the job done.

From the point of query performance, is WHERE not faster then HAVING (and vise versus)... 

can anyone clear this up for me?]]></description>
		<content:encoded><![CDATA[<p>i was always under impression that you should use WHERE whenever possible, leaving HAVING to those times when where can not get the job done.</p>
<p>From the point of query performance, is WHERE not faster then HAVING (and vise versus)&#8230; </p>
<p>can anyone clear this up for me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish</title>
		<link>http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-90089</link>
		<dc:creator><![CDATA[Ashish]]></dc:creator>
		<pubDate>Wed, 29 Sep 2010 13:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/04/sql-server-definition-comparison-and-difference-between-having-and-where-clause/#comment-90089</guid>
		<description><![CDATA[Thanks all for your response which unfortunately I cant see. Anyway find the answer somewhere else.]]></description>
		<content:encoded><![CDATA[<p>Thanks all for your response which unfortunately I cant see. Anyway find the answer somewhere else.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

