<?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: SQL in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791930#M253739</link>
    <description>&lt;P&gt;Please present the data in not an image but a form that can be reproduced in the data step like text or sas code with datalines.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 17:20:40 GMT</pubDate>
    <dc:creator>japelin</dc:creator>
    <dc:date>2022-01-24T17:20:40Z</dc:date>
    <item>
      <title>SQL: Combine And Aggregate Two Data Sets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791896#M253719</link>
      <description>&lt;P&gt;I have two tables Country Name(Country and Name)&amp;nbsp; &amp;amp; Export/Import table ( Buyer or Importer and Seller or Exporter) and I want a third table or result set having export value or import value created from "value" column based on the buyer or seller name present group by country. The two tables and the result set is given below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gaurav85_0-1643041884351.png" style="width: 633px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67677i0DD213CD866486D5/image-dimensions/633x163?v=v2" width="633" height="163" role="button" title="gaurav85_0-1643041884351.png" alt="gaurav85_0-1643041884351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 07:14:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791896#M253719</guid>
      <dc:creator>gaurav85</dc:creator>
      <dc:date>2022-01-25T07:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791930#M253739</link>
      <description>&lt;P&gt;Please present the data in not an image but a form that can be reproduced in the data step like text or sas code with datalines.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 17:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791930#M253739</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2022-01-24T17:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791931#M253740</link>
      <description>&lt;P&gt;Name Year&lt;BR /&gt;Raj 1999&lt;BR /&gt;Rahul 2000&lt;BR /&gt;Rahul 2001&lt;BR /&gt;Rahul 2002&lt;BR /&gt;Sachin 2003&lt;BR /&gt;Suraj 2004&lt;BR /&gt;Harish 2005&lt;BR /&gt;Nihal 2006&lt;BR /&gt;Jim 2007&lt;BR /&gt;Jack 2008&lt;BR /&gt;Jack 2009&lt;BR /&gt;Jack 2010&lt;BR /&gt;Madan 2011&lt;BR /&gt;Madan 2012&lt;BR /&gt;Madan 2013&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Name&lt;BR /&gt;Jack&lt;BR /&gt;Madan&lt;BR /&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 17:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791931#M253740</guid>
      <dc:creator>gaurav85</dc:creator>
      <dc:date>2022-01-24T17:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791932#M253741</link>
      <description>That would be the one in the other post.&lt;BR /&gt;Why don't you change the subject to something that completes the question so you don't make a mistake?</description>
      <pubDate>Mon, 24 Jan 2022 17:32:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791932#M253741</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2022-01-24T17:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791935#M253745</link>
      <description>Not possible as not all data is present. &lt;BR /&gt;Kim is listed in the Buyer column but not listed in the Country table. So your WANT data set does not have the correct inputs to be generated. &lt;BR /&gt;Also, please explain explicitly how the country is calculated - is it the buyers or sellers?&lt;BR /&gt;And how is Import Value or Export value determined? Why do some have values in both columns and others do not. What are the rules?&lt;BR /&gt;&lt;BR /&gt;As already mentioned you need to present data as text.</description>
      <pubDate>Mon, 24 Jan 2022 17:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SQL-Combine-And-Aggregate-Two-Data-Sets/m-p/791935#M253745</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-24T17:43:09Z</dc:date>
    </item>
  </channel>
</rss>

