<?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>Glotzfisch.de &#187; Oracle</title>
	<atom:link href="http://www.glotzfisch.de/tag/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.glotzfisch.de</link>
	<description>If something does not work out the way you want it to - try something different</description>
	<lastBuildDate>Wed, 26 May 2010 08:43:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Oracle &gt; Union and group by</title>
		<link>http://www.glotzfisch.de/oracle-union-and-group-by/</link>
		<comments>http://www.glotzfisch.de/oracle-union-and-group-by/#comments</comments>
		<pubDate>Tue, 01 Mar 2005 09:35:46 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/oracle-union-and-group-by/</guid>
		<description><![CDATA[select eff_date, sum(number_of_items) from (select to_char(effective_report_date,'mmyyyy') as eff_date, count(*) number_of_items from dm1 where to_char(effective_report_date,'mmyyyy') = '082004' group by to_char(effective_report_date,'mmyyyy') union all select to_char(effective_report_date,'mmyyyy') as eff_date, sum( number_of_items) from dm2 where to_char(effective_report_date,'mmyyyy') = '082004' group by to_char(effective_report_date,'mmyyyy') ) group by eff_date]]></description>
			<content:encoded><![CDATA[<pre> select
 eff_date,
 sum(number_of_items)
 from
 (select
    to_char(effective_report_date,'mmyyyy') as eff_date,
    count(*) number_of_items
    from dm1
    where to_char(effective_report_date,'mmyyyy') = '082004'
    group by to_char(effective_report_date,'mmyyyy')
  union all
    select
    to_char(effective_report_date,'mmyyyy') as eff_date,
    sum( number_of_items)
    from dm2
    where to_char(effective_report_date,'mmyyyy') = '082004'
    group by to_char(effective_report_date,'mmyyyy')
 )
 group by eff_date</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/oracle-union-and-group-by/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
