<?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: Proc SQL -  Column labels in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Column-labels/m-p/446785#M112160</link>
    <description>&lt;P&gt;Doh!, I figured it out!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select casedisposition_coll, count(distinct(childid)) as UniqueFam
from ResearchAsthmaEvent5
where programtypeid = 1 
group by casedisposition_coll;
run; &lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 19 Mar 2018 14:15:52 GMT</pubDate>
    <dc:creator>hwangnyc</dc:creator>
    <dc:date>2018-03-19T14:15:52Z</dc:date>
    <item>
      <title>Proc SQL -  Column labels</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Column-labels/m-p/446782#M112158</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for unique counts by a certain group. So when I use this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select count(distinct(childid)) as UniqueFam
from ResearchAsthmaEvent5
where programtypeid = 1 
group by casedisposition_coll;
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I get this results:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;UniqueFam&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;casedisposition_coll&lt;/TD&gt;&lt;TD&gt;UniqueFam&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;11&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 14:14:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Column-labels/m-p/446782#M112158</guid>
      <dc:creator>hwangnyc</dc:creator>
      <dc:date>2018-03-19T14:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL -  Column labels</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Column-labels/m-p/446785#M112160</link>
      <description>&lt;P&gt;Doh!, I figured it out!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select casedisposition_coll, count(distinct(childid)) as UniqueFam
from ResearchAsthmaEvent5
where programtypeid = 1 
group by casedisposition_coll;
run; &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Mar 2018 14:15:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-SQL-Column-labels/m-p/446785#M112160</guid>
      <dc:creator>hwangnyc</dc:creator>
      <dc:date>2018-03-19T14:15:52Z</dc:date>
    </item>
  </channel>
</rss>

