<?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: to find maximum marks using proc sql in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/to-find-maximum-marks-using-proc-sql/m-p/502793#M709</link>
    <description>&lt;P&gt;Here you can go...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table want as select * from table_b h where 0= (select count(physics_mark) from table_b h1 where h.physics_mark&amp;lt; h1.physics_mark);
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 09 Oct 2018 16:35:05 GMT</pubDate>
    <dc:creator>singhsahab</dc:creator>
    <dc:date>2018-10-09T16:35:05Z</dc:date>
    <item>
      <title>to find maximum marks using proc sql</title>
      <link>https://communities.sas.com/t5/New-SAS-User/to-find-maximum-marks-using-proc-sql/m-p/502584#M692</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data table_b;&lt;BR /&gt;infile datalines;&lt;BR /&gt;input std_id$ physics_mark;&lt;BR /&gt;datalines;&lt;BR /&gt;s001 73&lt;BR /&gt;s003 65&lt;BR /&gt;s004 52&lt;BR /&gt;s006 76&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to create new table which shows that maximum marks i.e only one observation so in that case soo6 has maximum marks. how do i use proc sql to find maximum marks.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 05:53:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/to-find-maximum-marks-using-proc-sql/m-p/502584#M692</guid>
      <dc:creator>ashkum</dc:creator>
      <dc:date>2018-10-09T05:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: to find maximum marks using proc sql</title>
      <link>https://communities.sas.com/t5/New-SAS-User/to-find-maximum-marks-using-proc-sql/m-p/502587#M693</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select std_id, physics_mark
from table_b
having physics_mark = max(physics_mark);
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Oct 2018 06:23:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/to-find-maximum-marks-using-proc-sql/m-p/502587#M693</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-09T06:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: to find maximum marks using proc sql</title>
      <link>https://communities.sas.com/t5/New-SAS-User/to-find-maximum-marks-using-proc-sql/m-p/502793#M709</link>
      <description>&lt;P&gt;Here you can go...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table want as select * from table_b h where 0= (select count(physics_mark) from table_b h1 where h.physics_mark&amp;lt; h1.physics_mark);
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Oct 2018 16:35:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/to-find-maximum-marks-using-proc-sql/m-p/502793#M709</guid>
      <dc:creator>singhsahab</dc:creator>
      <dc:date>2018-10-09T16:35:05Z</dc:date>
    </item>
  </channel>
</rss>

