<?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; Easy Sequence of SELECT FROM JOIN WHERE GROUP BY HAVING ORDER BY</title>
	<atom:link href="http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/</link>
	<description>SQL, SQL Server, MySQL, Big Data and NoSQL</description>
	<lastBuildDate>Thu, 20 Jun 2013 06:45:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #033 &#124; Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-502045</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #033 &#124; Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Sat, 15 Jun 2013 01:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-502045</guid>
		<description><![CDATA[[&#8230;] Easy Sequence of SELECT FROM JOIN WHERE GROUP BY HAVING ORDER BY [&#8230;]]]></description>
		<content:encoded><![CDATA[<p>[&#8230;] Easy Sequence of SELECT FROM JOIN WHERE GROUP BY HAVING ORDER BY [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-59154</link>
		<dc:creator><![CDATA[Martin]]></dc:creator>
		<pubDate>Wed, 30 Dec 2009 20:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-59154</guid>
		<description><![CDATA[It is also useful to know the order of evaluation in order to realise why, for example, column aliases are only usable in the ORDER BY clause and not the GROUP BY

(5) SELECT (6) DISTINCT 
(1) FROM 
(2) WHERE 
(3) GROUP BY 
(4) HAVING 
(7) ORDER BY ]]></description>
		<content:encoded><![CDATA[<p>It is also useful to know the order of evaluation in order to realise why, for example, column aliases are only usable in the ORDER BY clause and not the GROUP BY</p>
<p>(5) SELECT (6) DISTINCT<br />
(1) FROM<br />
(2) WHERE<br />
(3) GROUP BY<br />
(4) HAVING<br />
(7) ORDER BY </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sartaj</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-57979</link>
		<dc:creator><![CDATA[Sartaj]]></dc:creator>
		<pubDate>Sun, 29 Nov 2009 05:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-57979</guid>
		<description><![CDATA[is this in right order:

1. SELECT
2. FROM
3. JOIN
4. ON
5. WHERE
6. GROUP BY
7. HAVING
8. ORDER BY]]></description>
		<content:encoded><![CDATA[<p>is this in right order:</p>
<p>1. SELECT<br />
2. FROM<br />
3. JOIN<br />
4. ON<br />
5. WHERE<br />
6. GROUP BY<br />
7. HAVING<br />
8. ORDER BY</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: komal</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-52594</link>
		<dc:creator><![CDATA[komal]]></dc:creator>
		<pubDate>Mon, 01 Jun 2009 02:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-52594</guid>
		<description><![CDATA[Hi pinal,

I have to prepare a SSIS package which takes data from a table say a and then transfers data between two tables say b and c based on information of table a.
is it possible through SSIS?
if it is please tell me how it can be done?]]></description>
		<content:encoded><![CDATA[<p>Hi pinal,</p>
<p>I have to prepare a SSIS package which takes data from a table say a and then transfers data between two tables say b and c based on information of table a.<br />
is it possible through SSIS?<br />
if it is please tell me how it can be done?</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/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-47221</link>
		<dc:creator><![CDATA[SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-47221</guid>
		<description><![CDATA[[...] SQL SERVER - Easy Sequence of SELECT FROM JOIN WHERE GROUP BY HAVING ORDER BY [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER &#8211; Easy Sequence of SELECT FROM JOIN WHERE GROUP BY HAVING ORDER BY [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ismail</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-44900</link>
		<dc:creator><![CDATA[Ismail]]></dc:creator>
		<pubDate>Thu, 18 Dec 2008 02:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-44900</guid>
		<description><![CDATA[Wooow,great solution nagender. thanks alot,a have been looking for this solution for long time ago. Nice job.]]></description>
		<content:encoded><![CDATA[<p>Wooow,great solution nagender. thanks alot,a have been looking for this solution for long time ago. Nice job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nagender</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-40824</link>
		<dc:creator><![CDATA[nagender]]></dc:creator>
		<pubDate>Sat, 26 Jul 2008 05:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-40824</guid>
		<description><![CDATA[use This code you can get the serial order

select row_number() over(partition by gender order by empname) as Srno,* from Employees


Row_Number Function have following syntax

Row_Number() Over([Partition by columnName] Order by columnName)

where Partition by is optional but Order by is compulsory.

Row_Number funciton returns sequence for each row based on Order by clause, if you mention partition by also row number will split rows based on partition by column and then generate the separate sequence numbers.]]></description>
		<content:encoded><![CDATA[<p>use This code you can get the serial order</p>
<p>select row_number() over(partition by gender order by empname) as Srno,* from Employees</p>
<p>Row_Number Function have following syntax</p>
<p>Row_Number() Over([Partition by columnName] Order by columnName)</p>
<p>where Partition by is optional but Order by is compulsory.</p>
<p>Row_Number funciton returns sequence for each row based on Order by clause, if you mention partition by also row number will split rows based on partition by column and then generate the separate sequence numbers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nagender</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-40823</link>
		<dc:creator><![CDATA[nagender]]></dc:creator>
		<pubDate>Sat, 26 Jul 2008 05:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-40823</guid>
		<description><![CDATA[select row_number() over(partition by gender order by empname) as Srno,* from Employees


Row_Number Function have following syntax

Row_Number() Over([Partition by columnName] Order by columnName)

where Partition by is optional but Order by is compulsory.]]></description>
		<content:encoded><![CDATA[<p>select row_number() over(partition by gender order by empname) as Srno,* from Employees</p>
<p>Row_Number Function have following syntax</p>
<p>Row_Number() Over([Partition by columnName] Order by columnName)</p>
<p>where Partition by is optional but Order by is compulsory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rafi</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-25767</link>
		<dc:creator><![CDATA[rafi]]></dc:creator>
		<pubDate>Thu, 13 Dec 2007 14:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-25767</guid>
		<description><![CDATA[Hi, pinal

how to use searchable keyword in asp.net with sql server

Please give me answer

thnaks &amp; Regards]]></description>
		<content:encoded><![CDATA[<p>Hi, pinal</p>
<p>how to use searchable keyword in asp.net with sql server</p>
<p>Please give me answer</p>
<p>thnaks &amp; Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: haneef</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-22029</link>
		<dc:creator><![CDATA[haneef]]></dc:creator>
		<pubDate>Fri, 23 Nov 2007 06:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-22029</guid>
		<description><![CDATA[hi ,Pinal
i didnt understand 
how to debugging the stored procedures in sqlserver2005
Please give me answer

thnaks &amp; Regards]]></description>
		<content:encoded><![CDATA[<p>hi ,Pinal<br />
i didnt understand<br />
how to debugging the stored procedures in sqlserver2005<br />
Please give me answer</p>
<p>thnaks &amp; Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-21752</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Wed, 21 Nov 2007 17:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-21752</guid>
		<description><![CDATA[Hi Ashutosh Gupta,

Once we order something, we can not group them as the group which we desire may not be together. It only make sense to group them first and then order them. This way similar data will be grouped and only distinct data/grouped data is properly ordered.

Regards,
Pinal Dave ( http://www.SQLAuthority.com )]]></description>
		<content:encoded><![CDATA[<p>Hi Ashutosh Gupta,</p>
<p>Once we order something, we can not group them as the group which we desire may not be together. It only make sense to group them first and then order them. This way similar data will be grouped and only distinct data/grouped data is properly ordered.</p>
<p>Regards,<br />
Pinal Dave ( <a href="http://www.SQLAuthority.com" rel="nofollow">http://www.SQLAuthority.com</a> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER - Generate Incremented Linear Number Sequence Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-21750</link>
		<dc:creator><![CDATA[SQL SERVER - Generate Incremented Linear Number Sequence Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Wed, 21 Nov 2007 17:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-21750</guid>
		<description><![CDATA[[...] a day ago, I received interesting question on this blog. Read original question here. This is very good question and after reading this question I quickly wrote small script as answer. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] a day ago, I received interesting question on this blog. Read original question here. This is very good question and after reading this question I quickly wrote small script as answer. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aniruddha Singh</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-21656</link>
		<dc:creator><![CDATA[Aniruddha Singh]]></dc:creator>
		<pubDate>Wed, 21 Nov 2007 07:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-21656</guid>
		<description><![CDATA[How Can we generate incremented linear number in sql server
as in oracle we genaerate in via sequence ...


I want the o/p like--

1
2
3
4
5
6
7
8
9]]></description>
		<content:encoded><![CDATA[<p>How Can we generate incremented linear number in sql server<br />
as in oracle we genaerate in via sequence &#8230;</p>
<p>I want the o/p like&#8211;</p>
<p>1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashutosh Gupta</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-16922</link>
		<dc:creator><![CDATA[Ashutosh Gupta]]></dc:creator>
		<pubDate>Wed, 31 Oct 2007 10:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-16922</guid>
		<description><![CDATA[Hi Pinal 

I hav a question,
Why we use group by clause before order by clause.

Ashutosh]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal </p>
<p>I hav a question,<br />
Why we use group by clause before order by clause.</p>
<p>Ashutosh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BOTDA</title>
		<link>http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-3678</link>
		<dc:creator><![CDATA[BOTDA]]></dc:creator>
		<pubDate>Thu, 14 Jun 2007 20:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/14/sql-server-easy-sequence-of-select-from-join-where-group-by-having-order-by/#comment-3678</guid>
		<description><![CDATA[Your site has won a &lt;a href=&quot;http://blogofthedayawards.blogspot.com/&quot; rel=&quot;nofollow&quot;&gt;Blog of the Day Award&lt;/a&gt; (BOTDA)

&lt;a href=&quot;http://blogofthedayawards.blogspot.com/2006/06/blog-of-day-awards-code-for-winners.html&quot; rel=&quot;nofollow&quot;&gt;Award Code&lt;/a&gt;

Thank you,

&lt;a href=&quot;http://quotes.wordpress.com/&quot; rel=&quot;nofollow&quot;&gt;famous quotes&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>Your site has won a <a href="http://blogofthedayawards.blogspot.com/" rel="nofollow">Blog of the Day Award</a> (BOTDA)</p>
<p><a href="http://blogofthedayawards.blogspot.com/2006/06/blog-of-day-awards-code-for-winners.html" rel="nofollow">Award Code</a></p>
<p>Thank you,</p>
<p><a href="http://quotes.wordpress.com/" rel="nofollow">famous quotes</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
