<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Samantha Sharma on Medium]]></title>
        <description><![CDATA[Stories by Samantha Sharma on Medium]]></description>
        <link>https://medium.com/@suri.raj005?source=rss-310eca9ae92b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*FUGZ4mHkQAbOVcoy</url>
            <title>Stories by Samantha Sharma on Medium</title>
            <link>https://medium.com/@suri.raj005?source=rss-310eca9ae92b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 15:19:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@suri.raj005/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[TCS ievolve answers]]></title>
            <link>https://medium.com/@suri.raj005/tcs-ievovle-answers-9f8779941eba?source=rss-310eca9ae92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f8779941eba</guid>
            <category><![CDATA[quiz]]></category>
            <category><![CDATA[frescoplay]]></category>
            <category><![CDATA[ct]]></category>
            <dc:creator><![CDATA[Samantha Sharma]]></dc:creator>
            <pubDate>Thu, 11 Aug 2022 15:46:27 GMT</pubDate>
            <atom:updated>2022-09-01T14:10:40.537Z</atom:updated>
            <content:encoded><![CDATA[<p>At last i got adsense approval and ads are shown in my website</p><p>please visit my website and support me <a href="https://iot-cvgk.blogspot.com/">https://iot-cvgk.blogspot.com/</a></p><p>thanks in advance</p><p>are below links where you can find ievolve answers</p><ul><li><a href="https://iot-cvgk.blogspot.com/2022/08/69020-g-awareness-quiz.html">69020 - G&amp;T Awareness Quiz</a></li><li><a href="https://iot-cvgk.blogspot.com/2022/07/fresco-play-hands-on-r-basics-random.html">Fresco Play Hands on - R basics - Random Numbers in R</a></li><li><a href="https://iot-cvgk.blogspot.com/2022/07/digital-python-advanced-e2-competency.html">Digital : Python Advanced E2 competency</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f8779941eba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Any pokemon lovers watch here the latest episodes of pokemon the ultimate journey series]]></title>
            <link>https://medium.com/@suri.raj005/any-pokemon-lovers-watch-here-the-latest-episodes-of-pokemon-the-ultimate-journey-series-d2c95083b1ee?source=rss-310eca9ae92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2c95083b1ee</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[missjonesnina]]></category>
            <category><![CDATA[fox]]></category>
            <category><![CDATA[pokemon]]></category>
            <category><![CDATA[pokemon-series]]></category>
            <dc:creator><![CDATA[Samantha Sharma]]></dc:creator>
            <pubDate>Sun, 12 Jun 2022 11:42:36 GMT</pubDate>
            <atom:updated>2022-07-21T16:11:32.840Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>pokemon latest episodes the ultimate journey series Season 25</strong></h3><p><strong>in the below webiste and few other important links</strong></p><p><a href="https://iot-cvgk.blogspot.com/2022/07/aptitude-chandra-videos-for-cat-videos.html">https://iot-cvgk.blogspot.com/2022/07/aptitude-chandra-videos-for-cat-videos.html</a></p><ul><li><a href="https://iot-cvgk.blogspot.com/2022/07/chandra-aptitude-files-direct-links.html">Chandra aptitude files direct links</a></li><li><a href="https://iot-cvgk.blogspot.com/2022/07/chandra-aptitude-files-direct-links.html">Chandra aptitude files direct links</a></li><li><a href="https://iot-cvgk.blogspot.com/2022/06/its-all-in-name-23min-pokemon-ultimate.html">Pokémon Ultimate Journeys: The Series Episode -3. It&#39;s All in the Name! 23min</a></li><li><a href="https://iot-cvgk.blogspot.com/2022/07/nft-stands-for-non-fungible-token.html">NFT stands for Non-Fungible Token</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2c95083b1ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Increasing followers in medium]]></title>
            <link>https://medium.com/@suri.raj005/increasing-followers-in-medium-41d96397e647?source=rss-310eca9ae92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/41d96397e647</guid>
            <category><![CDATA[da-vida-gayden]]></category>
            <category><![CDATA[sarah-victoria]]></category>
            <category><![CDATA[andrea-zanon]]></category>
            <dc:creator><![CDATA[Samantha Sharma]]></dc:creator>
            <pubDate>Sun, 06 Mar 2022 07:16:41 GMT</pubDate>
            <atom:updated>2022-04-19T10:19:11.486Z</atom:updated>
            <content:encoded><![CDATA[<p>Till now there are 44 followers in my profile i had followed each and ever member whoever followed.</p><p>people whoever starts follow me i will follow them as well in medium</p><p>if i am not following you please comment something so that i will sure to join you guys so that i will not miss out any one</p><p>i have a blogspot as well i am more active in that</p><p><a href="https://iot-cvgk.blogspot.com/">https://iot-cvgk.blogspot.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41d96397e647" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Internet of Events]]></title>
            <link>https://medium.com/@suri.raj005/internet-of-events-c2d1561f35d2?source=rss-310eca9ae92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2d1561f35d2</guid>
            <category><![CDATA[things]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <dc:creator><![CDATA[Samantha Sharma]]></dc:creator>
            <pubDate>Thu, 10 Feb 2022 06:39:48 GMT</pubDate>
            <atom:updated>2022-02-10T06:39:48.638Z</atom:updated>
            <content:encoded><![CDATA[<p>What is an event?</p><p>A thing that happens or takes place, especially one of importance.</p><p>(OR)</p><p>An event is any significant occurrence or change in state for system hardware or software. An event is not the same as an event notification, which is a message or notification sent by the system to notify another part of the system that an event has taken place.</p><p>The source of an event can be from internal or external inputs. Events can generate from a user, like a mouse click or keystroke, an external source, such as a sensor output, or come from the system, like loading a program.</p><p>the amount of digital information (cf. personal computers, digital cameras, servers, sensors) stored in 2014 already exceeded 4 Zettabytes and predicts that the “digital universe” will to grow to 44 Zettabytes in 2020. The IDC study characterises 44 Zettabytes as “6.6 stacks of iPads from Earth to the Moon”.This illustrates that the long anticipated data explosion has become an undeniable Reality.</p><p>From Bits to Zettabytes</p><p>A “bit” is the smallest unit of information possible. One bit has two possible values: 1 (on) and 0 (off). A “byte” is composed of 8 bits and can represent 28 = 256 values. To talk about larger amounts of data, multiples of 1000 are used</p><p>1 Kilobyte (KB) equals 1000 bytes,</p><p>1 Megabyte(MB) equals 1000 KB,</p><p>1 Gigabyte (GB) equals 1000 MB,</p><p>1 Terabyte (TB)equals 1000 GB,</p><p>1 Petabyte (PB) equals 1000 TB,</p><p>1 Exabyte (EB) equals1000 PB,</p><p>1 Zettabyte (ZB) equals 1000 EB.</p><p>Hence, 1 Zettabyte is 1021 = 1,000,000,000,000,000,000,000 bytes.</p><p>Note that here we used the International System of Units (SI) set of unit prefixes, also known as SI prefixes , rather than binary prefixes. If we assume binary prefixes, then 1 Kilo-byte is 210 = 1024 bytes, 1 Megabyte is 220 = 1048576 bytes, and 1 Zettabyte</p><p>is 270 ≈ 1.18 × 1021 bytes.</p><p>Most of the data stored in the digital universe is unstructured, and organisations</p><p>have problems dealing with such large quantities of data. One of the main challenges of today’s organisations is to extract information and value from data stored in their information systems.</p><p>Fig. Internet of Events(IoE): Event data are generated from a variety of sources connected to theInternet.</p><p>The IoE is composed of:</p><p>• The Internet of Content (IoC), i.e., all information created by humans to increase</p><p>knowledge on particular subjects. The IoC includes traditional web pages, articles, encyclopedia like Wikipedia, YouTube, e-books, newsfeeds, etc.</p><p>• The Internet of People (IoP), i.e., all data related to social interaction. The IoP includes e-mail, Facebook, Twitter, forums, LinkedIn, etc.</p><p>• The Internet of Things (IoT), i.e., all physical objects connected to the network.</p><p>The IoT includes all things that have a unique id and a presence in an Internet-like structure.</p><p>• The Internet of Locations (IoL) which refers to all data that have a geographical or geospatial dimension. With the uptake of mobile devices (e.g.smartphones)more and more events have location or movement attributes.The importance of information systems is not only reflected by the spectacular growth of data, but also by the role that these systems play in today’s business processes as the digital universe and the physical universe are becoming more and more aligned. For example, the “state of a bank” is mainly determined by the data stored in the bank’s information system. Money has become a predominantly digital entity. When booking a flight over the Internet, a customer is interacting with many organisations (airline, travel agency, bank, and various brokers), often without being aware of it. If the booking is successful, the customer receives an e-ticket. Note that an e-ticket is basically a number, thus illustrating the alignment between the digital and physical universe. When the SAP system of a large manufacturer indicates that a particular product is out of stock, it is impossible to sell or ship the product even when it is available in physical form. Technologies such as RFID (Radio Frequency Identification), GPS (Global Positioning System), and sensor networks will stimulate a further alignment of the digital universe and the physical universe. RFID tags make it possible to track and trace individual items. Also note that more and more devices are being monitored.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2d1561f35d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Growing follows in medium]]></title>
            <link>https://medium.com/@suri.raj005/growing-follows-in-medium-519c31374eb0?source=rss-310eca9ae92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/519c31374eb0</guid>
            <category><![CDATA[following]]></category>
            <dc:creator><![CDATA[Samantha Sharma]]></dc:creator>
            <pubDate>Fri, 28 Jan 2022 10:35:17 GMT</pubDate>
            <atom:updated>2022-01-28T10:35:17.665Z</atom:updated>
            <content:encoded><![CDATA[<h3>growing follows in medium</h3><p>people whoever starts follow me i will follow them as well in medium</p><p>if i am not following you please comment something so that i will sure to join you guys so that i will not miss out any one</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=519c31374eb0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacker Rank SQL Challenge — 15 Days of Learning SQL]]></title>
            <link>https://medium.com/@suri.raj005/hacker-rank-sql-challenge-15-days-of-learning-sql-e2f187d6fa32?source=rss-310eca9ae92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2f187d6fa32</guid>
            <category><![CDATA[hackerrank]]></category>
            <dc:creator><![CDATA[Samantha Sharma]]></dc:creator>
            <pubDate>Thu, 06 Jan 2022 04:20:05 GMT</pubDate>
            <atom:updated>2022-01-28T10:24:15.930Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hacker Rank SQL Challenge — 15 Days of Learning SQL</h3><p>samantha interviews many candidates from different colleges using coding challenges and contests. Write a query to print the contest_id, hacker_id, name, and the sums of total_submissions, total_accepted_submissions, total_views, and total_unique_views for each contest sorted by contest_id. Exclude the contest from the result if all four sums are .</p><p><strong>Note:</strong> A specific contest can be used to screen candidates at more than one college, but each college only holds screening contest.</p><p><strong>Input Format</strong></p><p>The following tables hold interview data:</p><ul><li>Contests: The contest_id is the id of the contest, hacker_id is the id of the hacker who created the contest, and name is the name of the hacker.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/172/0*Yz9dt7BKK4G8IyfJ.png" /></figure><ul><li>Colleges: The college_id is the id of the college, and contest_id is the id of the contest that Samantha used to screen the candidates.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/0*5e_lr_Z4l-z4UMZM.png" /></figure><ul><li>Challenges: The challenge_id is the id of the challenge that belongs to one of the contests whose contest_id Samantha forgot, and college_id is the id of the college where the challenge was given to candidates.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/186/0*Y79b5zm_-ICVqJs3.png" /></figure><ul><li>View_Stats: The challenge_id is the id of the challenge, total_views is the number of times the challenge was viewed by candidates, and total_unique_views is the number of times the challenge was viewed by unique candidates.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/226/0*U865LGfgoim0oAbp.png" /></figure><ul><li>Submission_Stats: The challenge_id is the id of the challenge, total_submissions is the number of submissions for the challenge, and total_accepted_submission is the number of submissions that achieved full scores.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/0*ITtodldxTNsW8CqS.png" /></figure><p><strong>Sample Input</strong></p><p>Contests Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/272/0*Q7P-mh7USR8hx6WJ.png" /></figure><p>Colleges Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/0*k0lMEsmd9lf4JRQS.png" /></figure><p>Challenges Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/218/0*VCKSJphapGSIq1vA.png" /></figure><p>View_Stats Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/383/0*Z_eTz4Xme12LguQN.png" /></figure><p>Submission_Stats Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/0*6WvW-JNOZ3g2YabG.png" /></figure><p><strong>Sample Output</strong></p><pre>66406 17973 Rose 111 39 156 56<br>66556 79153 Angela 0 0 11 10<br>94828 80275 Frank 150 38 41 15</pre><p><strong>Explanation</strong></p><p>The contest is used in the college . In this college , challenges and are asked, so from the view and submission stats:</p><ul><li>Sum of total submissions</li><li>Sum of total accepted submissions</li><li>Sum of total views</li><li>Sum of total unique views</li></ul><p>Similarly, we can find the sums for contests and .</p><p>Soultion in MYSQL:-</p><p>SELECT t1.submission_date, hkr_cnt, t2.hacker_id, name<br>FROM (SELECT p1.submission_date, <br> COUNT(DISTINCT p1.hacker_id) AS hkr_cnt<br> FROM (SELECT submission_date, hacker_id, <br> <a href="http://twitter.com/h_rnk">@h_rnk</a> := CASE WHEN <a href="http://twitter.com/h_grp">@h_grp</a> != hacker_id THEN 1 ELSE <a href="http://twitter.com/h_rnk">@h_rnk</a>+1 END AS hacker_rank,<br> <a href="http://twitter.com/h_grp">@h_grp</a> := hacker_id AS hacker_group<br> FROM (SELECT DISTINCT submission_date, hacker_id <br> FROM submissions<br> ORDER BY hacker_id, submission_date) AS a, <br> (SELECT <a href="http://twitter.com/h_rnk">@h_rnk</a> := 1, <a href="http://twitter.com/h_grp">@h_grp</a> := 0) AS r) AS p1<br> JOIN (SELECT submission_date, <br> <a href="http://twitter.com/d_rnk">@d_rnk</a> := <a href="http://twitter.com/d_rnk">@d_rnk</a> + 1 AS date_rank<br> FROM (SELECT DISTINCT submission_date<br> FROM submissions <br> ORDER BY submission_date) AS b, <br> (SELECT <a href="http://twitter.com/d_rnk">@d_rnk</a> := 0) r) AS p2<br> ON p1.submission_date = p2.submission_date <br> AND hacker_rank = date_rank<br> GROUP BY p1.submission_Date) AS t1<br>JOIN (SELECT submission_date, hacker_id, sub_cnt,<br> <a href="http://twitter.com/s_rnk">@s_rnk</a> := CASE WHEN <a href="http://twitter.com/d_grp">@d_grp</a> != submission_date THEN 1 ELSE <a href="http://twitter.com/s_rnk">@s_rnk</a>+1 END AS max_rnk,<br> <a href="http://twitter.com/d_grp">@d_grp</a> := submission_date AS date_group<br> FROM (SELECT submission_date, hacker_id, COUNT(*) AS sub_cnt<br> FROM submissions AS s<br> GROUP BY submission_date, hacker_id<br> ORDER BY submission_date, sub_cnt DESC, hacker_id) AS c,<br> (SELECT <a href="http://twitter.com/s_rnk">@s_rnk</a> := 1, <a href="http://twitter.com/d_grp">@d_grp</a> := 0) AS r) AS t2 <br>ON t1.submission_date = t2.submission_date AND max_rnk = 1<br>JOIN hackers AS h ON h.hacker_id = t2.hacker_id <br>ORDER BY t1.submission_date<br>;</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2f187d6fa32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQL Advanced Join Interviews question hackerrank]]></title>
            <link>https://medium.com/@suri.raj005/sql-advanced-join-interviews-question-hackerrank-6875b3f5947a?source=rss-310eca9ae92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/6875b3f5947a</guid>
            <category><![CDATA[hackerrank]]></category>
            <dc:creator><![CDATA[Samantha Sharma]]></dc:creator>
            <pubDate>Thu, 06 Jan 2022 04:10:54 GMT</pubDate>
            <atom:updated>2022-01-06T04:10:54.915Z</atom:updated>
            <content:encoded><![CDATA[<p>Samantha interviews many candidates from different colleges using coding challenges and contests. Write a query to print the contest_id, hacker_id, name, and the sums of total_submissions, total_accepted_submissions, total_views, and total_unique_views for each contest sorted by contest_id. Exclude the contest from the result if all four sums are .</p><p><strong>Note:</strong> A specific contest can be used to screen candidates at more than one college, but each college only holds screening contest.</p><p><strong>Input Format</strong></p><p>The following tables hold interview data:</p><ul><li>Contests: The contest_id is the id of the contest, hacker_id is the id of the hacker who created the contest, and name is the name of the hacker.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/172/0*TRSXbLPR4h4ROCAu.png" /></figure><ul><li>Colleges: The college_id is the id of the college, and contest_id is the id of the contest that Samantha used to screen the candidates.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/0*6-Mu3F3hykWYH4h1.png" /></figure><ul><li>Challenges: The challenge_id is the id of the challenge that belongs to one of the contests whose contest_id Samantha forgot, and college_id is the id of the college where the challenge was given to candidates.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/186/0*_qih6kNoEMFTScm8.png" /></figure><ul><li>View_Stats: The challenge_id is the id of the challenge, total_views is the number of times the challenge was viewed by candidates, and total_unique_views is the number of times the challenge was viewed by unique candidates.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/226/0*s7RNGTAVnSX2bLiA.png" /></figure><ul><li>Submission_Stats: The challenge_id is the id of the challenge, total_submissions is the number of submissions for the challenge, and total_accepted_submission is the number of submissions that achieved full scores.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/0*7Dgg2POH4e-vSeae.png" /></figure><p><strong>Sample Input</strong></p><p>Contests Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/272/0*7EBoLndHAFkmJFkL.png" /></figure><p>Colleges Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/0*-R7SUXDsco82sFm8.png" /></figure><p>Challenges Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/218/0*0bi_YJLLODsww6uW.png" /></figure><p>View_Stats Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/383/0*A8keBPTSnj8KaNGi.png" /></figure><p>Submission_Stats Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/0*7gpBeJxtijN03ixm.png" /></figure><p><strong>Sample Output</strong></p><pre>66406 17973 Rose 111 39 156 56<br>66556 79153 Angela 0 0 11 10<br>94828 80275 Frank 150 38 41 15</pre><p><strong>Explanation</strong></p><p>The contest is used in the college . In this college , challenges and are asked, so from the view and submission stats:</p><ul><li>Sum of total submissions</li><li>Sum of total accepted submissions</li><li>Sum of total views</li><li>Sum of total unique views</li></ul><p>Similarly, we can find the sums for contests and .</p><p><strong>Solution in MYSQL</strong></p><p>select con.contest_id,<br> con.hacker_id, <br> con.name, <br> sum(total_submissions), <br> sum(total_accepted_submissions), <br> sum(total_views), sum(total_unique_views)<br>from contests con <br>join colleges col on con.contest_id = col.contest_id <br>join challenges cha on col.college_id = cha.college_id <br>left join<br>(select challenge_id, sum(total_views) as total_views, sum(total_unique_views) as total_unique_views<br>from view_stats group by challenge_id) vs on cha.challenge_id = vs.challenge_id <br>left join<br>(select challenge_id, sum(total_submissions) as total_submissions, sum(total_accepted_submissions) as total_accepted_submissions from submission_stats group by challenge_id) ss on cha.challenge_id = ss.challenge_id<br> group by con.contest_id, con.hacker_id, con.name<br> having sum(total_submissions)!=0 or <br> sum(total_accepted_submissions)!=0 or<br> sum(total_views)!=0 or<br> sum(total_unique_views)!=0</p><p>order by contest_id;</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6875b3f5947a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[17. Weather Observation 20]]></title>
            <link>https://medium.com/@suri.raj005/17-weather-observation-20-213386b70662?source=rss-310eca9ae92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/213386b70662</guid>
            <category><![CDATA[hackerrank]]></category>
            <dc:creator><![CDATA[Samantha Sharma]]></dc:creator>
            <pubDate>Thu, 06 Jan 2022 04:04:16 GMT</pubDate>
            <atom:updated>2022-01-06T04:04:16.608Z</atom:updated>
            <content:encoded><![CDATA[<p>A <a href="https://en.wikipedia.org/wiki/Median">median</a> is defined as a number separating the higher half of a data set from the lower half. Query the median of the Northern Latitudes (LAT_N) from <strong>STATION</strong> and round your answer to decimal places.</p><p><strong>Input Format</strong></p><p>The <strong>STATION</strong> table is described as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*hb3uvwb0y2_KAO1d.jpg" /></figure><p>where LAT_N is the northern latitude and LONG_W is the western longitude.</p><p><strong>Solution in My SQL</strong></p><p>SELECT ROUND(S1.LAT_N, 4) <br>FROM STATION AS S1 <br>WHERE (SELECT ROUND(COUNT(S1.ID)/2) — 1 <br> FROM STATION) = <br> (SELECT COUNT(S2.ID) <br> FROM STATION AS S2 <br> WHERE S2.LAT_N &gt; S1.LAT_N);</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=213386b70662" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SQLAggregationWeather Observation Station 19]]></title>
            <link>https://medium.com/@suri.raj005/sqlaggregationweather-observation-station-19-b520438f84f0?source=rss-310eca9ae92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b520438f84f0</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[hackerrank]]></category>
            <dc:creator><![CDATA[Samantha Sharma]]></dc:creator>
            <pubDate>Thu, 06 Jan 2022 03:59:19 GMT</pubDate>
            <atom:updated>2022-01-06T03:59:19.191Z</atom:updated>
            <content:encoded><![CDATA[<p>onsider and to be two points on a 2D plane where are the respective minimum and maximum values of Northern Latitude (LAT_N) and are the respective minimum and maximum values of Western Longitude (LONG_W) in <strong>STATION</strong>.</p><p>Query the <a href="https://en.wikipedia.org/wiki/Euclidean_distance">Euclidean Distance</a> between points and and format your answer to display decimal digits.</p><p><strong>Input Format</strong></p><p>The <strong>STATION</strong> table is described as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*AoFYaZG7gHmjSHvC.jpg" /></figure><p>where LAT_N is the northern latitude and LONG_W is the western longitude.</p><p>Solution in mysql</p><p>SELECT ROUND(<br> SQRT(<br> POWER(MAX(LAT_N) — MIN(LAT_N), 2) +<br> POWER(MAX(LONG_W) — MIN(LONG_W), 2)<br> )<br> , 4) <br>FROM STATION;</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b520438f84f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weather Observation Station 2 in SQL | HackerRank Solution]]></title>
            <link>https://medium.com/@suri.raj005/weather-observation-station-2-in-sql-hackerrank-solution-8a6745513f3?source=rss-310eca9ae92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a6745513f3</guid>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[sql]]></category>
            <dc:creator><![CDATA[Samantha Sharma]]></dc:creator>
            <pubDate>Wed, 05 Jan 2022 08:03:22 GMT</pubDate>
            <atom:updated>2022-01-05T08:03:22.122Z</atom:updated>
            <content:encoded><![CDATA[<h3>Problem</h3><p>Query the following two values from the <strong>STATION</strong> table:</p><ol><li>The sum of all values in <em>LAT_N</em> rounded to a scale of <strong>2</strong> decimal places.</li><li>The sum of all values in <em>LONG_W</em> rounded to a scale of <strong>2</strong> decimal places.</li></ol><h3>Input Format</h3><p>The <strong>STATION</strong> table is described as follows:</p><p>FieldTypeIDNUMBERCITYVARCHAR2(21)STATEVARCHAR2(2)LAT_NNUMBERLong_WNUMBER<strong>STATION</strong></p><p>where <em>LAT_N</em> is the northern latitude and <em>LONG_W</em> is the western longitude.</p><h3>Output Format</h3><p>Your results must be in the form:</p><pre>lat lon</pre><p>where <strong><em>lat</em></strong> is the sum of all values in <em>LAT_N</em> and <strong><em>lon</em></strong> is the sum of all values in <em>LONG_W</em>. Both results must be rounded to a scale of <strong>2</strong> decimal places.</p><p><strong>Answer in MYSQL</strong></p><p>select round(sum(lat_n), 2), round(sum(long_w), 2) <br>from station;</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a6745513f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>