<?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: multiple join in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/multiple-join/m-p/188175#M40695</link>
    <description>&lt;P&gt;Look up the JMP function &lt;STRONG&gt;Query()&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ww6050839" class="S1SynObj"&gt;Query(&amp;lt;&amp;lt;dt1|Table(dt1, alias1)&amp;gt;, ..., &amp;lt;dtN, aliasN)&amp;gt;&amp;gt;, &amp;lt;private | invisible&amp;gt;, &amp;lt;scalar&amp;gt;, sqlStatement )&lt;/DIV&gt;
&lt;DIV id="ww6031045" class="S2Syn"&gt;Description&lt;/DIV&gt;
&lt;DIV id="ww6031530" class="S3Syn"&gt;Performs a SQL query on selected data tables.&lt;/DIV&gt;
&lt;DIV class="S3Syn"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="S3Syn"&gt;Of course, you can use JMP Query Builder in a ascript. When you ran the JMP Query Builder script and it ran, the resulting table should have a Run Query script attached. This is the JSL script to run the same query.&lt;/DIV&gt;
&lt;DIV class="S3Syn"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="S3Syn"&gt;Hope that helps.&lt;/DIV&gt;</description>
    <pubDate>Thu, 21 Mar 2019 01:00:24 GMT</pubDate>
    <dc:creator>gzmorgan0</dc:creator>
    <dc:date>2019-03-21T01:00:24Z</dc:date>
    <item>
      <title>multiple join</title>
      <link>https://community.jmp.com/t5/Discussions/multiple-join/m-p/188161#M40693</link>
      <description>&lt;P&gt;Hey, I am trying to join multiple tables and copied the SQL script from the JMP Query Builder into a script, adding some commands in the beginning. Probably, it doesn´t work as it´s SQL and not JSL language?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that in JMP Query Builder I do not have the option to decide which columns should be chosen for the matching of the rows. Anybody, who can help me out here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the script I now have. (the combination of JSL and SQL)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=CurrentDataTable ();
dt&amp;lt;&amp;lt; SELECT * 
FROM "mon_trend Abs._OF 420nm 5cm"  t1 
	LEFT OUTER JOIN "mon_trend TOC mg l" t20 
		ON  (  ( t20.Site = t1.Site )  AND  ( t20.Season = t1.Season ) )
	LEFT OUTER JOIN "mon_trend Syrgashalt mg l" t19 
		ON  (  ( t19.Site = t1.Site )  AND  ( t19.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend Si mg l" t18 
		ON  (  ( t18.Site = t1.Site )  AND  ( t18.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend PO4-P µg l" t17 
		ON  (  ( t17.Site = t1.Site )  AND  ( t17.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend pH" t16 
		ON  (  ( t16.Site = t1.Site )  AND  ( t16.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend NO2-N µg l" t15 
		ON  (  ( t15.Site = t1.Site )  AND  ( t15.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend NO2+NO3-N µg l" t14 
		ON  (  ( t14.Site = t1.Site )  AND  ( t14.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend NH4-N µg l" t13 
		ON  (  ( t13.Site = t1.Site )  AND  ( t13.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend Na mekv l" t12 
		ON  (  ( t12.Site = t1.Site )  AND  ( t12.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend Mn µg l" t11 
		ON  (  ( t11.Site = t1.Site )  AND  ( t11.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend Mg mekv l" t10 
		ON  (  ( t10.Site = t1.Site )  AND  ( t10.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend Kond_25 mS m25" t9 
		ON  (  ( t9.Site = t1.Site )  AND  ( t9.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend K mekv l" t8 
		ON  (  ( t8.Site = t1.Site )  AND  ( t8.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend Fe µg l" t7 
		ON  (  ( t7.Site = t1.Site )  AND  ( t7.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend F mg l" t6 
		ON  (  ( t6.Site = t1.Site )  AND  ( t6.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend Cl mekv l" t5 
		ON  (  ( t5.Site = t1.Site )  AND  ( t5.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend Ca mekv l" t4 
		ON  (  ( t4.Site = t1.Site )  AND  ( t4.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend Alk. Acid mekv l" t3 
		ON  (  ( t3.Site = t1.Site )  AND  ( t3.Season = t1.Season ) )  
	LEFT OUTER JOIN "mon_trend Abs._F 420nm 5cm" t2 
		ON  (  ( t1.Site = t2.Site )  AND  ( t1.Season = t2.Season ) )  ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Mar 2019 17:35:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/multiple-join/m-p/188161#M40693</guid>
      <dc:creator>Pacco</dc:creator>
      <dc:date>2019-03-20T17:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: multiple join</title>
      <link>https://community.jmp.com/t5/Discussions/multiple-join/m-p/188175#M40695</link>
      <description>&lt;P&gt;Look up the JMP function &lt;STRONG&gt;Query()&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ww6050839" class="S1SynObj"&gt;Query(&amp;lt;&amp;lt;dt1|Table(dt1, alias1)&amp;gt;, ..., &amp;lt;dtN, aliasN)&amp;gt;&amp;gt;, &amp;lt;private | invisible&amp;gt;, &amp;lt;scalar&amp;gt;, sqlStatement )&lt;/DIV&gt;
&lt;DIV id="ww6031045" class="S2Syn"&gt;Description&lt;/DIV&gt;
&lt;DIV id="ww6031530" class="S3Syn"&gt;Performs a SQL query on selected data tables.&lt;/DIV&gt;
&lt;DIV class="S3Syn"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="S3Syn"&gt;Of course, you can use JMP Query Builder in a ascript. When you ran the JMP Query Builder script and it ran, the resulting table should have a Run Query script attached. This is the JSL script to run the same query.&lt;/DIV&gt;
&lt;DIV class="S3Syn"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="S3Syn"&gt;Hope that helps.&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Mar 2019 01:00:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/multiple-join/m-p/188175#M40695</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2019-03-21T01:00:24Z</dc:date>
    </item>
  </channel>
</rss>

