<?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 Salesforce SOQL/SQL Syntax (Join) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Salesforce-SOQL-SQL-Syntax-Join/m-p/456785#M485890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to join Salesforce tables using the Qlikview connector, however none of the options I tried work. Can anyone advice on the syntax needed to join tables (on a key). Both SQL and SOQL failed me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I would like to know the actual username of a case owner. So in SQL, this would kinda look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13637159833656908" jivemacro_uid="_13637159833656908"&gt;&lt;P&gt;SELECT c.id, c.subject, u.name&lt;/P&gt;&lt;P&gt;FROM case c&lt;/P&gt;&lt;P&gt;JOIN user u on u.id = c.ownerId&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOQL:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13637160005891512" jivemacro_uid="_13637160005891512"&gt;&lt;P&gt;SELECT id, subject, owner.name&lt;/P&gt;&lt;P&gt;FROM case&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I am unsure what functions I can use - according to the user guide, both SQL and SOQL are valid and were 'combined', however I was unable to format my createdDate using DATE_FORMAT(). Is there a definite list or should I mostly rely on SOQL functions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Mar 2013 18:01:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-19T18:01:24Z</dc:date>
    <item>
      <title>Salesforce SOQL/SQL Syntax (Join)</title>
      <link>https://community.qlik.com/t5/QlikView/Salesforce-SOQL-SQL-Syntax-Join/m-p/456785#M485890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to join Salesforce tables using the Qlikview connector, however none of the options I tried work. Can anyone advice on the syntax needed to join tables (on a key). Both SQL and SOQL failed me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I would like to know the actual username of a case owner. So in SQL, this would kinda look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13637159833656908" jivemacro_uid="_13637159833656908"&gt;&lt;P&gt;SELECT c.id, c.subject, u.name&lt;/P&gt;&lt;P&gt;FROM case c&lt;/P&gt;&lt;P&gt;JOIN user u on u.id = c.ownerId&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOQL:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13637160005891512" jivemacro_uid="_13637160005891512"&gt;&lt;P&gt;SELECT id, subject, owner.name&lt;/P&gt;&lt;P&gt;FROM case&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I am unsure what functions I can use - according to the user guide, both SQL and SOQL are valid and were 'combined', however I was unable to format my createdDate using DATE_FORMAT(). Is there a definite list or should I mostly rely on SOQL functions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 18:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Salesforce-SOQL-SQL-Syntax-Join/m-p/456785#M485890</guid>
      <dc:creator />
      <dc:date>2013-03-19T18:01:24Z</dc:date>
    </item>
  </channel>
</rss>

