<?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>how to do group by in expression rule</title><link>https://community.appian.com/discussions/f/data/19013/how-to-do-group-by-in-expression-rule</link><description>Hi All, 
 can we write this SQL query in a a!queryEntity() ( I mean the logic) 
 
 select * from TableName 
 where TableName.column1=&amp;quot;order&amp;quot; 
 group by column2 
 
 I need to run this query in batches because i am having large data, i have written a stored</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how to do group by in expression rule</title><link>https://community.appian.com/thread/74620?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2020 17:34:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3083b141-3e47-47ae-9963-946d46e30855</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;I&amp;#39;d suggest looking at this &lt;a href="https://docs.appian.com/suite/help/latest/Query_Recipes.html#aggregating-on-a-field"&gt;query recipe&lt;/a&gt; that describes how to group on fields in a!queryEntity().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>