 




<?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: hi can anybody tell me how to combine these two queries</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/hi-can-any-body-tell-me-how-to-combine-this-two-queries/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/hi-can-any-body-tell-me-how-to-combine-this-two-queries/</link>
	<description></description>
	<lastBuildDate>Sun, 26 May 2013 01:40:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/hi-can-any-body-tell-me-how-to-combine-this-two-queries/#comment-79657</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Mon, 26 Jul 2010 18:20:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-79657</guid>
		<description><![CDATA[I&#039;m not sure I understand.

Does your tsau_pre_msges table have a field called &#039;Cnt1&#039; ?  (you are using Cnt1 as an alias for your count in the first query, but you are also using it as a field in your second query).

Also, your first query returns just 1 row, but the second one returns many rows.  How exactly do you want to combine them ?

Additionally, the database version is more important than the Toad version used to connect to the database.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure I understand.</p>
<p>Does your tsau_pre_msges table have a field called &#8216;Cnt1&#8242; ?  (you are using Cnt1 as an alias for your count in the first query, but you are also using it as a field in your second query).</p>
<p>Also, your first query returns just 1 row, but the second one returns many rows.  How exactly do you want to combine them ?</p>
<p>Additionally, the database version is more important than the Toad version used to connect to the database.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.013 seconds using memcached
Object Caching 268/271 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-26 09:08:55 -->