<?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 data step query in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/data-step-query/m-p/117084#M987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there is a condition,in which we have to take only those observations which are present in the same variable of different dataset, how we will write the query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 18:28:29 GMT</pubDate>
    <dc:creator>rahulks</dc:creator>
    <dc:date>2013-04-23T18:28:29Z</dc:date>
    <item>
      <title>data step query</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/data-step-query/m-p/117084#M987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there is a condition,in which we have to take only those observations which are present in the same variable of different dataset, how we will write the query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 18:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/data-step-query/m-p/117084#M987</guid>
      <dc:creator>rahulks</dc:creator>
      <dc:date>2013-04-23T18:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: data step query</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/data-step-query/m-p/117085#M988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table A_and_B as&lt;/P&gt;&lt;P&gt;select * from A&lt;/P&gt;&lt;P&gt;union all corresponding&lt;/P&gt;&lt;P&gt;select * from B;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selects only variables in table A and B which have the same name and type. Other variables not in common are dropped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 18:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/data-step-query/m-p/117085#M988</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-04-23T18:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: data step query</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/data-step-query/m-p/117086#M989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx for the reply, but this query will not help me...&lt;/P&gt;&lt;P&gt;actually I works for the bank, and I have to put a query in a dataset which implies that, if account number is in accounts then table, then only account number will be added to the table on which I am applying my query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 21:44:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/data-step-query/m-p/117086#M989</guid>
      <dc:creator>rahulks</dc:creator>
      <dc:date>2013-04-23T21:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: data step query</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/data-step-query/m-p/117087#M990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A small example (input and output data) would help us to understand what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 22:48:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/data-step-query/m-p/117087#M990</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-04-23T22:48:47Z</dc:date>
    </item>
  </channel>
</rss>

