<?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 Help to convert sql query to splunk query in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460790#M56707</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;

&lt;P&gt;Can anyone help me in converting below sql query to splunk query.I really dont have any clue for percentile_cont thing.&lt;/P&gt;

&lt;P&gt;SELECT class_id,round(avg(percent/100,2) as percentage,&lt;BR /&gt;
       round(percentile_cont(0.05) within group (order by percent/100),3) as AmarksPerntl,&lt;BR /&gt;
round(percentile_cont(0.09) within group (order by percent/100),3) as BmarksPerntl&lt;BR /&gt;
from myTable group by class_id&lt;BR /&gt;
order by 2 desc&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 01:52:49 GMT</pubDate>
    <dc:creator>sahil237888</dc:creator>
    <dc:date>2020-09-30T01:52:49Z</dc:date>
    <item>
      <title>Help to convert sql query to splunk query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460790#M56707</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;

&lt;P&gt;Can anyone help me in converting below sql query to splunk query.I really dont have any clue for percentile_cont thing.&lt;/P&gt;

&lt;P&gt;SELECT class_id,round(avg(percent/100,2) as percentage,&lt;BR /&gt;
       round(percentile_cont(0.05) within group (order by percent/100),3) as AmarksPerntl,&lt;BR /&gt;
round(percentile_cont(0.09) within group (order by percent/100),3) as BmarksPerntl&lt;BR /&gt;
from myTable group by class_id&lt;BR /&gt;
order by 2 desc&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:52:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460790#M56707</guid>
      <dc:creator>sahil237888</dc:creator>
      <dc:date>2020-09-30T01:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help to convert sql query to splunk query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460791#M56708</link>
      <description>&lt;P&gt;nah won't do &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;BR /&gt;
is it not possible for you to just post a sample of your events and fields and then tell us your expected splunk output?&lt;BR /&gt;
that way it will be easier for us to come up with a query that fits your needs...&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 18:21:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460791#M56708</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2019-08-23T18:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help to convert sql query to splunk query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460792#M56709</link>
      <description>&lt;P&gt;You should find some helpful information at &lt;A href="http://www.innovato.com/splunk/SQLSplunk.html"&gt;http://www.innovato.com/splunk/SQLSplunk.html&lt;/A&gt; .&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 19:12:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460792#M56709</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-23T19:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help to convert sql query to splunk query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460793#M56710</link>
      <description>&lt;P&gt;@richgalloway, this URL is not working,Not found error while browsing this URL.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2019 01:58:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460793#M56710</guid>
      <dc:creator>sahil237888</dc:creator>
      <dc:date>2019-08-24T01:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help to convert sql query to splunk query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460794#M56711</link>
      <description>&lt;P&gt;@sahil237888 there was an extra dot at the end of the URL because of which it was not working. However, similar document you can also find in the Splunk Documentation link: &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SQLtoSplunk"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/SQLtoSplunk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2019 03:46:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460794#M56711</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-08-24T03:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help to convert sql query to splunk query</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460795#M56712</link>
      <description>&lt;P&gt;The link provided by @niketnilay is the one I was looking for, however, so try that.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2019 11:20:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Help-to-convert-sql-query-to-splunk-query/m-p/460795#M56712</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-24T11:20:05Z</dc:date>
    </item>
  </channel>
</rss>

