<?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 How to do simple join between two different source types like primary key &amp; foreign key in SQL? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-simple-join-between-two-different-source-types-like/m-p/301929#M90899</link>
    <description>&lt;P&gt;I have two different source types Source A &amp;amp; B. 'ID' is the common field in both sources.&lt;BR /&gt;
For each 'ID' in source A, multiple records will be in source B.&lt;BR /&gt;
i want to fetch all the records from source A and latest matching record by compare the timestamp field value of source B.&lt;BR /&gt;
How to make join like primary key and foreign key join in SQL. &lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2017 18:14:29 GMT</pubDate>
    <dc:creator>tskarthic</dc:creator>
    <dc:date>2017-08-25T18:14:29Z</dc:date>
    <item>
      <title>How to do simple join between two different source types like primary key &amp; foreign key in SQL?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-simple-join-between-two-different-source-types-like/m-p/301929#M90899</link>
      <description>&lt;P&gt;I have two different source types Source A &amp;amp; B. 'ID' is the common field in both sources.&lt;BR /&gt;
For each 'ID' in source A, multiple records will be in source B.&lt;BR /&gt;
i want to fetch all the records from source A and latest matching record by compare the timestamp field value of source B.&lt;BR /&gt;
How to make join like primary key and foreign key join in SQL. &lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 18:14:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-simple-join-between-two-different-source-types-like/m-p/301929#M90899</guid>
      <dc:creator>tskarthic</dc:creator>
      <dc:date>2017-08-25T18:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to do simple join between two different source types like primary key &amp; foreign key in SQL?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-simple-join-between-two-different-source-types-like/m-p/301930#M90900</link>
      <description>&lt;P&gt;First, go read this one.  Thinking about SQL's way of doing things will just mess you up over here.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/561130/sql-analogy-for-my-log-search-join-two-tables-wher.html"&gt;https://answers.splunk.com/answers/561130/sql-analogy-for-my-log-search-join-two-tables-wher.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Second, here's another reference answer for how to combine one record with the latest matching record &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/561578/map-fields-from-two-sourcetypes-based-on-a-certain.html"&gt;https://answers.splunk.com/answers/561578/map-fields-from-two-sourcetypes-based-on-a-certain.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 19:04:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-simple-join-between-two-different-source-types-like/m-p/301930#M90900</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-25T19:04:22Z</dc:date>
    </item>
  </channel>
</rss>

