<?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 Should the new column be &amp;quot;EstSum&amp;quot;, not &amp;quot;EstPct&amp;quot;, Practice Q2, p237, SQL1:Essential PDF in Advanced Programming</title>
    <link>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962097#M324</link>
    <description>&lt;P&gt;(SQL1: Essential course note PDF, p237 and p245 s104s10)&lt;/P&gt;
&lt;P&gt;I think the newly created column name should be "&lt;EM&gt;EstSum&lt;/EM&gt;", not "&lt;EM&gt;EstPct&lt;/EM&gt;", because it is the sum of the estimated population of the countries, not a percent (see below).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled1.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105479i9D4A96E207F7DE1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled1.png" alt="Untitled1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled2.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105480iB38454419EDC4DB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled2.png" alt="Untitled2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled3.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105481iB4220618E470A8D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled3.png" alt="Untitled3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The code and results are as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select * from sq.globalfull(obs=1);
quit;
proc sql outobs=3;
select distinct countrycode,
       estyear1pop
   from sq.globalfull;
quit;
proc sql;
select sum(estyear1pop) format comma20.
   from (select distinct countrycode,
                estyear1pop
            from sq.globalfull);
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dxiao2017_1-1742308439726.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105482i0623FCFCA7E3F6DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="dxiao2017_1-1742308439726.png" alt="dxiao2017_1-1742308439726.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Mar 2025 14:35:55 GMT</pubDate>
    <dc:creator>dxiao2017</dc:creator>
    <dc:date>2025-03-18T14:35:55Z</dc:date>
    <item>
      <title>Should the new column be "EstSum", not "EstPct", Practice Q2, p237, SQL1:Essential PDF</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962097#M324</link>
      <description>&lt;P&gt;(SQL1: Essential course note PDF, p237 and p245 s104s10)&lt;/P&gt;
&lt;P&gt;I think the newly created column name should be "&lt;EM&gt;EstSum&lt;/EM&gt;", not "&lt;EM&gt;EstPct&lt;/EM&gt;", because it is the sum of the estimated population of the countries, not a percent (see below).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled1.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105479i9D4A96E207F7DE1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled1.png" alt="Untitled1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled2.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105480iB38454419EDC4DB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled2.png" alt="Untitled2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled3.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105481iB4220618E470A8D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled3.png" alt="Untitled3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The code and results are as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select * from sq.globalfull(obs=1);
quit;
proc sql outobs=3;
select distinct countrycode,
       estyear1pop
   from sq.globalfull;
quit;
proc sql;
select sum(estyear1pop) format comma20.
   from (select distinct countrycode,
                estyear1pop
            from sq.globalfull);
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dxiao2017_1-1742308439726.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105482i0623FCFCA7E3F6DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="dxiao2017_1-1742308439726.png" alt="dxiao2017_1-1742308439726.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 14:35:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962097#M324</guid>
      <dc:creator>dxiao2017</dc:creator>
      <dc:date>2025-03-18T14:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Should the new column be "EstSum", not "EstPct", Practice Q2, p237, SQL1:Ess</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962597#M328</link>
      <description>&lt;P&gt;Thanks for the feedback.&amp;nbsp; We'll get this fixed in our next revision.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 15:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962597#M328</guid>
      <dc:creator>StaceySyphus</dc:creator>
      <dc:date>2025-03-25T15:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Should the new column be "EstSum", not "EstPct", Practice Q2, p237, SQL1:Ess</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962603#M329</link>
      <description>&lt;P&gt;Hi Stacey! Thanks a lot for your attention and your reply! This is the second time I get feedback from you, I am really so happy about this. I learnt a lot from PG1 and PG2 and PG3, MACRO1 and SQL1 training materials, really good and helpful.&lt;/P&gt;
&lt;P&gt;All the best!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 15:14:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962603#M329</guid>
      <dc:creator>dxiao2017</dc:creator>
      <dc:date>2025-03-25T15:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Should the new column be "EstSum", not "EstPct", Practice Q2, p237, SQL1:Ess</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962604#M330</link>
      <description>I'm so glad to hear the training has been helpful!  Clearly you are paying attention to the details, which we appreciate. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 25 Mar 2025 15:16:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962604#M330</guid>
      <dc:creator>StaceySyphus</dc:creator>
      <dc:date>2025-03-25T15:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Should the new column be "EstSum", not "EstPct", Practice Q2, p237, SQL1:Ess</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962605#M331</link>
      <description>&lt;P&gt;The materials (for learn SAS as well as the cert. exam preparation) I depend on, refer to, practice many times, and feel most helpful are 1) the "Base SAS 9.4 Procedures Guide" one can find through the SAS Help and Documentation in SAS 9.4 windowing environment and 2) the training materials including pg1, pg2, pg3, macro1, sql1 essentials. Learning these materials is fun and as a learner I really appreciate all this materials&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 16:30:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Should-the-new-column-be-quot-EstSum-quot-not-quot-EstPct-quot/m-p/962605#M331</guid>
      <dc:creator>dxiao2017</dc:creator>
      <dc:date>2025-03-25T16:30:08Z</dc:date>
    </item>
  </channel>
</rss>

