<?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/"
	
	>
<channel>
	<title>
	Comments on: SQL Puzzle: SQL Advance Query &#8211; Find most awarded cricket match type	</title>
	<atom:link href="https://www.dbrnd.com/2017/08/sql-puzzle-sql-advance-query-find-most-awarded-cricket-match-type/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com/2017/08/sql-puzzle-sql-advance-query-find-most-awarded-cricket-match-type/</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Tue, 25 Feb 2020 14:44:30 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>
		By: Avinash Reddy		</title>
		<link>https://www.dbrnd.com/2017/08/sql-puzzle-sql-advance-query-find-most-awarded-cricket-match-type/#comment-8118</link>

		<dc:creator><![CDATA[Avinash Reddy]]></dc:creator>
		<pubDate>Tue, 25 Feb 2020 14:44:30 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=5805#comment-8118</guid>

					<description><![CDATA[with cte
as 
(

Select Match_name,count(1) as ct from #tbl_cricketMatches group by match_name

)

select match_name from cte where ct =( select max(ct) from cte)]]></description>
			<content:encoded><![CDATA[<p>with cte<br />
as<br />
(</p>
<p>Select Match_name,count(1) as ct from #tbl_cricketMatches group by match_name</p>
<p>)</p>
<p>select match_name from cte where ct =( select max(ct) from cte)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Prabhu Thambidurai		</title>
		<link>https://www.dbrnd.com/2017/08/sql-puzzle-sql-advance-query-find-most-awarded-cricket-match-type/#comment-6516</link>

		<dc:creator><![CDATA[Prabhu Thambidurai]]></dc:creator>
		<pubDate>Wed, 04 Jul 2018 10:02:59 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=5805#comment-6516</guid>

					<description><![CDATA[select * from 
(
select cm.*,count(*) over (partition by match_name ) as cnt from tbl_cricketMatches cm ORDER BY count(*) over (partition by match_name ) DESC
)
where worldcup_10th=1  AND ROWNUM=1]]></description>
			<content:encoded><![CDATA[<p>select * from<br />
(<br />
select cm.*,count(*) over (partition by match_name ) as cnt from tbl_cricketMatches cm ORDER BY count(*) over (partition by match_name ) DESC<br />
)<br />
where worldcup_10th=1  AND ROWNUM=1</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
