<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: MaxPlatinum</title>
    <description>The latest articles on DEV Community by MaxPlatinum (@saidvali95).</description>
    <link>https://dev.to/saidvali95</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1132986%2F75eb45d9-274b-4331-a675-7930dd256e95.png</url>
      <title>DEV Community: MaxPlatinum</title>
      <link>https://dev.to/saidvali95</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/saidvali95"/>
    <language>en</language>
    <item>
      <title>Select transactions</title>
      <dc:creator>MaxPlatinum</dc:creator>
      <pubDate>Fri, 22 Sep 2023 05:36:45 +0000</pubDate>
      <link>https://dev.to/saidvali95/select-transactions-3cp9</link>
      <guid>https://dev.to/saidvali95/select-transactions-3cp9</guid>
      <description>&lt;p&gt;(Trying to format query below but its not working)&lt;/p&gt;

&lt;p&gt;Hello!&lt;/p&gt;

&lt;p&gt;In Oracle DB there is created a view to check Money Transactions (with columns like id, receiver, sender, date, amount etc.) which contains 10 tables connected to each other. So, we have query selecting by quantity of transactions in given time period:&lt;/p&gt;

&lt;p&gt;`SELECT *&lt;br&gt;
  FROM view_transactions&lt;br&gt;
 WHERE     TRUNC (datedoc) &amp;gt;= DATE ('01/01/2023', 'dd/mm/yyyy')&lt;br&gt;
       AND TRUNC (datedoc) &amp;lt;= DATE ('29/01/2023', 'dd/mm/yyyy')&lt;br&gt;
       AND receiver IN&lt;br&gt;
               (SELECT receiver&lt;br&gt;
                  FROM (SELECT COUNT (receiver) counter, receiver&lt;br&gt;
                          FROM view_transactions&lt;br&gt;
                         WHERE     TRUNC (datedoc) &amp;gt;=&lt;br&gt;
                                       DATE ('01/01/2023', 'dd/mm/yyyy')&lt;br&gt;
                               AND TRUNC (datedoc) &amp;lt;=&lt;br&gt;
                                       DATE ('29/01/2023', 'dd/mm/yyyy')&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                    GROUP BY receiver)
             WHERE counter &amp;gt;= 13)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;ORDER BY id`&lt;/p&gt;

&lt;p&gt;Here number &lt;code&gt;13&lt;/code&gt;, it says to display the &lt;code&gt;receivers&lt;/code&gt; who received money more than &lt;code&gt;13 times&lt;/code&gt; in the period of the month.&lt;/p&gt;

&lt;p&gt;And now I have to make this query more diffficult. Also need search for the &lt;code&gt;senders&lt;/code&gt; who send more than &lt;code&gt;3 or more times&lt;/code&gt; for that &lt;code&gt;receivers&lt;/code&gt; who received money 13 times. If &lt;code&gt;senders&lt;/code&gt; meet &lt;code&gt;3 or more times&lt;/code&gt;, so need to &lt;code&gt;group receiver&lt;/code&gt; and &lt;code&gt;sum amount&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Example, this months Bill got 15 times money transactions from different senders, and he received from Dell 5 times with amount of 120$, 250$, 312$, 500$ and 50$. John and Michael sent to Bill by 2 times each. &lt;br&gt;
So need to display:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;receiver&lt;/strong&gt;      &lt;strong&gt;sender&lt;/strong&gt;     &lt;strong&gt;sum&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Bill          Dell       1232&lt;/li&gt;
&lt;li&gt;Bill          John       some summa&lt;/li&gt;
&lt;li&gt;Bill          Michael    some summa&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Could anyone help to do this? &lt;/p&gt;

</description>
      <category>sql</category>
      <category>oracle</category>
    </item>
    <item>
      <title>#welcome</title>
      <dc:creator>MaxPlatinum</dc:creator>
      <pubDate>Sun, 06 Aug 2023 09:36:51 +0000</pubDate>
      <link>https://dev.to/saidvali95/welcome-e7d</link>
      <guid>https://dev.to/saidvali95/welcome-e7d</guid>
      <description>&lt;p&gt;Hi everyone. I am new here and new in developing.&lt;br&gt;
Ready to have new connections and friends.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
