<?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>a!queryEntity() how to select distinct</title><link>https://community.appian.com/discussions/f/rules/19307/a-queryentity-how-to-select-distinct</link><description>Is there any property in the a!queryEntity to select distinct values from a DB table.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: a!queryEntity() how to select distinct</title><link>https://community.appian.com/thread/75597?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2020 10:37:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b58f4ef7-d51f-4087-b92f-2336fa949d1f</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Just to follow up on Mike&amp;#39;s comment...there are a number of set-processing functions that you can use in Appian to post-process the retrieved data. fn!union() is the one that would de-duplicate your data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!queryEntity() how to select distinct</title><link>https://community.appian.com/thread/75593?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2020 06:32:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7daf4033-1f9d-4d01-922e-4c31c281e86d</guid><dc:creator>Timo</dc:creator><description>&lt;p&gt;a!queryAggregation(&lt;br /&gt; aggregationColumns: {&lt;br /&gt; a!queryAggregationColumn(&lt;br /&gt; field: &amp;quot;distinctColumn&amp;quot;,&lt;br /&gt; isGrouping: true&lt;br /&gt; ),&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!queryEntity() how to select distinct</title><link>https://community.appian.com/thread/75544?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2020 19:05:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:027a8729-a986-4b1b-91d6-6effb9c67870</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;What&amp;#39;s your use case?&amp;nbsp; There are fairly easy ways to de-duplicate data post querying, or to aggregate data during a query, but importantly, Appian queries don&amp;#39;t really work like SQL statements.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>