<?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>taozai さんの グループ アクティビティ</title><link>https://www.aras.com/community/members/taozai</link><description>taozai さんの グループ ユーザーの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Query Definitions - Removing duplicate rows / returning a single relationship row</title><link>https://www.aras.com/community/f/development/38058/query-definitions---removing-duplicate-rows-returning-a-single-relationship-row</link><pubDate>Wed, 02 Aug 2023 18:12:20 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:e2e44da1-e8dc-4a84-a20e-a42e890be7a9</guid><dc:creator>Don Jackson</dc:creator><description>&lt;p&gt;Hello all. I am adding more information to the &amp;#39;BOM Structure&amp;#39; tgv query and could use some help in removing duplicate rows. Although I know various ways of handling this in SQL, I have not been able to arrive at a solution using where or join conditions in this Query Definition.&lt;/p&gt;
&lt;p&gt;In this case, I want to display a link to the items CAD drawing viewable. The below query outputs the correct results (using a foreign CAD classification property) however there are occasions where the Part CAD relationship may have been been accidentally created twice. Ideally, I would only return the first row.&lt;/p&gt;
&lt;p&gt;Here is a screenshot of the query definition:&lt;/p&gt;
&lt;p&gt;&lt;img style="cursor:zoom-in;max-height:322px;max-width:731px;" alt=" " height="322" src="/community/resized-image/__size/1462x644/__key/communityserver-discussions-components-files/3/temp.jpg" width="731" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is what the output looks like:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:215px;max-width:675px;" alt=" " height="215" src="/community/resized-image/__size/1350x430/__key/communityserver-discussions-components-files/3/temp2.png" width="675" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any help is appreciated. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>