<?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 Question on proc sql in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Question-on-proc-sql/m-p/650055#M194918</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Could anyone help on how to create a new column(total) by adding the sum of two numerical variables(var1, var2) from the main table, using proc sql?&lt;/P&gt;
&lt;P&gt;For example,&lt;/P&gt;
&lt;P&gt;if i want to add var1 and var2 columns and name the new column as total, from work.project.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 23 May 2020 00:58:49 GMT</pubDate>
    <dc:creator>Amali6</dc:creator>
    <dc:date>2020-05-23T00:58:49Z</dc:date>
    <item>
      <title>Question on proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-on-proc-sql/m-p/650055#M194918</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Could anyone help on how to create a new column(total) by adding the sum of two numerical variables(var1, var2) from the main table, using proc sql?&lt;/P&gt;
&lt;P&gt;For example,&lt;/P&gt;
&lt;P&gt;if i want to add var1 and var2 columns and name the new column as total, from work.project.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 00:58:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-on-proc-sql/m-p/650055#M194918</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-23T00:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-on-proc-sql/m-p/650062#M194919</link>
      <description>&lt;P&gt;Is this a serious question?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;select *, sum(var1,var2) as total&lt;/P&gt;
&lt;P&gt;from your_table;&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 01:38:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-on-proc-sql/m-p/650062#M194919</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-05-23T01:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Question on proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-on-proc-sql/m-p/650063#M194920</link>
      <description>&lt;P&gt;If you search any SAS topic and google and don't find the answer, search again and limit the results by adding the followings: &amp;nbsp;"yourTerm + &lt;STRONG&gt;Tutorial Site:Lexjansen.com&lt;/STRONG&gt;"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For 99% of topics you'll get a solution such as the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi30/257-30.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings/proceedings/sugi30/257-30.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 01:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-on-proc-sql/m-p/650063#M194920</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-23T01:59:22Z</dc:date>
    </item>
  </channel>
</rss>

