<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I&amp;#39;m trying to write a query that will give me the total counts on a column i</title><link>https://community.appian.com/discussions/f/integrations/4426/i-m-trying-to-write-a-query-that-will-give-me-the-total-counts-on-a-column-i</link><description>I&amp;#39;m trying to write a query that will give me the total counts on a column in the table. But Appian says you can&amp;#39;t use a &amp;quot;*&amp;quot; ...asterisk. Below is my simple query and works outside of Appian. How do I get around this in Appian? SELECT ROUTE_NAME, COUNT</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I'm trying to write a query that will give me the total counts on a column i</title><link>https://community.appian.com/thread/15913?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2015 01:54:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2fd984ec-8ae8-4779-bb65-a6f47d0e7d1c</guid><dc:creator>scotte</dc:creator><description>Sathya... Thanks!  that worked&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm trying to write a query that will give me the total counts on a column i</title><link>https://community.appian.com/thread/15906?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2015 01:09:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b8fea9ab-dade-451e-a8f0-c537a875e853</guid><dc:creator>Sathya Srinivasan</dc:creator><description>Use COUNT(&amp;lt;primaryKeyField&amp;gt;) as &amp;quot;value_alias&amp;quot;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>