<?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 Join on a flow in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Join-on-a-flow/m-p/909974#M358888</link>
    <description>&lt;P&gt;Hello, i work on Viya 4 with sas Studio and flow.&lt;/P&gt;&lt;P&gt;Before i work with SQL Query. It's very clear for me with SQL. You have ton possibilities :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LEFT JOIN Table2 on Table1.Var = Table2.var&amp;nbsp;&lt;/P&gt;&lt;P&gt;where varX .... and VarX.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or&amp;nbsp;LEFT JOIN Table2 on Table1.Var = Table2.var and&amp;nbsp;varX= .... and VarX=.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;And the result of these 2 queries are not equal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SAS STUDIO, i'ts easy for me to to the second one. But, for the first on, i don't manage to do it. Perhaps, i can use the expression generator but i don't know how to write it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;</description>
    <pubDate>Sun, 31 Dec 2023 15:30:02 GMT</pubDate>
    <dc:creator>YannRC</dc:creator>
    <dc:date>2023-12-31T15:30:02Z</dc:date>
    <item>
      <title>Join on a flow</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Join-on-a-flow/m-p/909974#M358888</link>
      <description>&lt;P&gt;Hello, i work on Viya 4 with sas Studio and flow.&lt;/P&gt;&lt;P&gt;Before i work with SQL Query. It's very clear for me with SQL. You have ton possibilities :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LEFT JOIN Table2 on Table1.Var = Table2.var&amp;nbsp;&lt;/P&gt;&lt;P&gt;where varX .... and VarX.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or&amp;nbsp;LEFT JOIN Table2 on Table1.Var = Table2.var and&amp;nbsp;varX= .... and VarX=.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;And the result of these 2 queries are not equal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SAS STUDIO, i'ts easy for me to to the second one. But, for the first on, i don't manage to do it. Perhaps, i can use the expression generator but i don't know how to write it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;</description>
      <pubDate>Sun, 31 Dec 2023 15:30:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Join-on-a-flow/m-p/909974#M358888</guid>
      <dc:creator>YannRC</dc:creator>
      <dc:date>2023-12-31T15:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Join on a flow</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Join-on-a-flow/m-p/909987#M358894</link>
      <description>&lt;P&gt;Using a current Viya 4 release I could generate the following code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
   CREATE TABLE WORK.'result'n AS
   SELECT 
      t1.'Name'n,
      t1.Sex,
      t1.Age,
      t1.Height,
      t1.Weight
   FROM
      SASHELP.class t1
         INNER JOIN SASHELP.class t2 ON (t1.'Name'n = t2.'Name'n)
   WHERE
      UPPER(t2.Sex) = 'F'
   ;
QUIT;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here the flow:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1704077896725.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/92139i98FFFBD147D62E07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Patrick_0-1704077896725.png" alt="Patrick_0-1704077896725.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The where clause is based on the filter condition&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_1-1704077967893.png" style="width: 584px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/92140i63D7D902CE3786C5/image-dimensions/584x146?v=v2" width="584" height="146" role="button" title="Patrick_1-1704077967893.png" alt="Patrick_1-1704077967893.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jan 2024 03:00:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Join-on-a-flow/m-p/909987#M358894</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-01-01T03:00:04Z</dc:date>
    </item>
  </channel>
</rss>

