<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LEFT JOIN QUERY RESULT GROUP BY OR DISTINCT in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324925#M11926</link>
    <description>&lt;P&gt;Florent, do you know how resolve that using some other strategy ? Do you know something about the other questions ?&lt;/P&gt;</description>
    <pubDate>Tue, 13 May 2014 15:46:39 GMT</pubDate>
    <dc:creator>Rafael_Bueno</dc:creator>
    <dc:date>2014-05-13T15:46:39Z</dc:date>
    <item>
      <title>LEFT JOIN QUERY RESULT GROUP BY OR DISTINCT</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324923#M11924</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Can someone help me ? I'm trying to make a LEFT JOIN QUERY, but the query return duplicate result. Its possible make a DISTINCT or GROUPBY ? Why the query return the JOIN values to ? The result dont need to show me only &lt;EM&gt;F.cmis:objectId as ID, F.cmis:name as name&lt;/EM&gt; this columns ?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;SELECT F.cmis:objectId as ID, F.cmis:name as name  FROM arizona:file:business F
LEFT JOIN arizona:relationship:copyrights RFC ON RFC.cmis:sourceId = F.cmis:objectId 
LEFT JOIN arizona:copyrights C ON C.cmis:objectId = RFC.cmis:targetId 
LEFT JOIN arizona:copyrights:permission P ON P.arizonaCopyrightsPermission:copyrightsId = C.cmis:objectId 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Screenshot_from_2014-05-12_21:34:33.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 02:37:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324923#M11924</guid>
      <dc:creator>Rafael_Bueno</dc:creator>
      <dc:date>2014-05-13T02:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT JOIN QUERY RESULT GROUP BY OR DISTINCT</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324924#M11925</link>
      <description>&lt;P&gt;The CMIS Query Language does not support DISTINCT or GROUP BY. See the &lt;A href="http://docs.oasis-open.org/cmis/CMIS/v1.1/CMIS-v1.1.html"&gt;spec&lt;/A&gt; § 2.1.14.2.1 BNF Grammar.&lt;/P&gt;
&lt;P&gt;Nuxeo returns the object id and type for each joined document because this has proven to be very useful, and is used internally. Why is it a problem? The tool that is going to consume that data will only keep what it needs anyway.&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 15:16:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324924#M11925</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-05-13T15:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT JOIN QUERY RESULT GROUP BY OR DISTINCT</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324925#M11926</link>
      <description>&lt;P&gt;Florent, do you know how resolve that using some other strategy ? Do you know something about the other questions ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 15:46:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324925#M11926</guid>
      <dc:creator>Rafael_Bueno</dc:creator>
      <dc:date>2014-05-13T15:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT JOIN QUERY RESULT GROUP BY OR DISTINCT</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324926#M11927</link>
      <description>&lt;P&gt;Answer edited.&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 16:35:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324926#M11927</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-05-13T16:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT JOIN QUERY RESULT GROUP BY OR DISTINCT</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324927#M11928</link>
      <description>&lt;P&gt;I cant create the max itens to the paginate&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 20:06:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324927#M11928</guid>
      <dc:creator>Rafael_Bueno</dc:creator>
      <dc:date>2014-05-13T20:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT JOIN QUERY RESULT GROUP BY OR DISTINCT</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324928#M11929</link>
      <description>&lt;P&gt;De-duplicate in your client.&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2014 12:41:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/left-join-query-result-group-by-or-distinct/m-p/324928#M11929</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-05-15T12:41:03Z</dc:date>
    </item>
  </channel>
</rss>

