<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Ulrikl さんのアクティビティ</title><link>https://www.aras.com/community/members/ulrikl</link><description>Ulrikl さんの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Ask A Question I</title><link>https://www.aras.com/community/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Mon, 11 Jan 2021 13:21:28 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8829faee-e10e-423c-a254-82daa903001e</guid><dc:creator /><description>Ask a question in a forum.</description></item><item><title>Sub queries using aml</title><link>https://www.aras.com/community/f/development/36265/sub-queries-using-aml</link><pubDate>Mon, 11 Jan 2021 13:21:28 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:89a34505-937f-4294-8d08-aabff0fe66e1</guid><dc:creator>Ulrikl</dc:creator><description>&lt;p&gt;I have been trying to figure out a way to do sub queries in aml without any luck&lt;/p&gt;
&lt;p&gt;My use case is that I have an item type, that is populated with a whole lot of data (8+mill records). A simplified version of the item type is shown below&lt;/p&gt;
&lt;p&gt;MyItem:&lt;br /&gt;- Name string&lt;br /&gt;- Value string&lt;br /&gt;- SecondValue string&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is an SQL version of the query I would like to have in AML:&lt;/p&gt;
&lt;p&gt;SELECT * FROM MyItem WHERE Value IN (SELECT SecondValue FROM MyItem WHERE Name = &amp;#39;MyName&amp;#39; AND Value = &amp;#39;MyValue&amp;#39;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The reason why I would like it in AML is so the result will be show in the UI grid. Is this possible in AML? Or may there be a whole other way to accomplish this? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>