[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jan 21 13:33:53 2004 -->
- <!--x-from-r13: cunfrsk ng znthfncghf.pbz (Xnfba Sgurevqtr) -->
- <!--x-message-id: 88DE2694-4C3F-11D8-B25B-[email protected] -->
- <!--x-reference: 20040121161312.VYIR1944.imf25aec.mail.bellsouth.net@BLUGLO --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] any SQL gurus? -->
- <li><em>date</em>: Wed Jan 21 13:33:53 2004</li>
- <li><em>from</em>: phasefx at magusaptus.com (Jason Etheridge)</li>
- <li><em>in-reply-to</em>: <20040121161312.VYIR1944.imf25aec.mail.bellsouth.net@BLUGLO></li>
- <li><em>references</em>: <20040121161312.VYIR1944.imf25aec.mail.bellsouth.net@BLUGLO></li>
- <li><em>subject</em>: [ale] any SQL gurus?</li>
Thanks. :) J.M. Taylor knew what I was doing wrong with DISTINCT and
COUNT. I needed to treat DISTINCT as a function and pass it into COUNT
like so: SELECT COUNT(DISTINCT(title_key)) FROM COPY WHERE owner =
"Joe";
I appreciate everyone's help.
-- Jason
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00852" href="msg00852.html">[ale] any SQL gurus?</a></strong>
<ul><li><em>From:</em> matthew.brown at cordata.com (Matthew Brown)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00858.html">[ale] USB->IDE problems</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00860.html">[ale] USB->IDE problems</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00852.html">[ale] any SQL gurus?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00862.html">[ale] any SQL gurus?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00859"><strong>Date</strong></a></li>
<li><a href="threads.html#00859"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>