<?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: arno kiru</title>
    <description>The latest articles on DEV Community by arno kiru (@arno_kiru05).</description>
    <link>https://dev.to/arno_kiru05</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%2F2989159%2F9197d985-e7bf-440c-9307-ec701a58efd4.png</url>
      <title>DEV Community: arno kiru</title>
      <link>https://dev.to/arno_kiru05</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arno_kiru05"/>
    <language>en</language>
    <item>
      <title>SQL JOINS</title>
      <dc:creator>arno kiru</dc:creator>
      <pubDate>Sat, 24 May 2025 23:34:56 +0000</pubDate>
      <link>https://dev.to/arno_kiru05/sql-joins-bkh</link>
      <guid>https://dev.to/arno_kiru05/sql-joins-bkh</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F72nib0jraykv8k7slic1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F72nib0jraykv8k7slic1.png" alt="MASTERING SQL JOINS" width="800" height="800"&gt;&lt;/a&gt;&lt;br&gt;
What is a join?! This is a clause that is used to combine rows from 2/more tables based on a related column between them. There are several types of joins. They include;&lt;br&gt;
-Inner join&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Right join&lt;/li&gt;
&lt;li&gt;Left join&lt;/li&gt;
&lt;li&gt;Full join/ full outer join&lt;/li&gt;
&lt;li&gt;self-join.
All the fore-mentioned are types of joins that have unique characteristics to one another that set them apart and provide thereby a different result.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Inner join
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F73h1ftijbz77muxlli11.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F73h1ftijbz77muxlli11.webp" alt="INNER JOIN" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
This a type of join that when called returns records that have matching values in both tables, each table that is, “table1” and “table2”. The inner join is the default type of join. Below, I give the format that it should take and an example in case.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT column_name(s)
FROM table1
INNER JOIN table1 on table2.column_name=table2.column_name;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The above syntax returns matching values that are in both table1 and table2. To note is that either inner join or join that is passed on the phrase a record will be returned as a result of inner join being the default join.&lt;/p&gt;

&lt;h3&gt;
  
  
  Left Join
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnqc88je238ypn38kj227.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnqc88je238ypn38kj227.png" alt="LEFT JOIN" width="200" height="145"&gt;&lt;/a&gt;&lt;br&gt;
The left join returns all records from the left table(table1) and matching record from right table(table2). It follows the following syntax;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT column_name(s)
FROM table1
Left join table2 on table1.column_name=table2.column_name;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This now thereby returns all the records from table1 and matching values from table2. In the instance that there is a lack of matching records in table2, then, only records from table1 are returned.&lt;/p&gt;

&lt;h3&gt;
  
  
  Right join
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr41leslfocucbeldy67c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr41leslfocucbeldy67c.png" alt="RIGHT JOIN" width="300" height="251"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The right join returns all records from the right table(table2) and matching records in the left table(table1). Of essence to note is that in the instance where there are no matching records from the left table(table1), then there are no columns or rather records that’ll be returned from the left table. It follows the following syntax;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT column_name(s)
FROM table1
Right join table2 on table1.column_name=table2.column_name;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This therefore returns all records from table2 and matching records from table1. In the case there are no matching values from table1 then there will be no records from table1 returned, only table2 records are thereby returned.&lt;/p&gt;

&lt;h3&gt;
  
  
  Outer join
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ei8jkvzxo7gd8bn5cbx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ei8jkvzxo7gd8bn5cbx.png" alt="FULL OUTER JOIN" width="231" height="158"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The outer join also known as the full outer join returns all records when there is a match in either left(table1) or right(table2) records. This type of join returns all records as long as there is a matching column so to say in either of the tables. It follows the following syntax;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT column_name(s)
FROM table1
OUTER JOIN table2 
ON table1.column_name = table2.column_name;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This phrase returns all rows from both the left and right table provided there’s a match between the tables and thus they are combined as a result. In the instance there happens to be a row in the left table that has no matching row in the right table, then the right table will have null values in the result.&lt;br&gt;
The outer join is useful when you need to see all records from both tables regardless of whether they have a match or not.&lt;/p&gt;

&lt;p&gt;To note is the difference between the full outer join and the full inner join. The inner join returns only records where the join condition is met in both and where a record in on table doesn’t have a corresponding match in the other table then that record is excluded from the result unlike in the case of an outer join where it would return “NULL”.&lt;/p&gt;

&lt;p&gt;In conclusion, joins are a vital part in ensuring the success of data analysis. They bind relational data together and are thus important for the following uses so to say;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Connecting and transforming tables.&lt;/li&gt;
&lt;li&gt;Handling data inconsistencies.&lt;/li&gt;
&lt;li&gt;Extracting useful insights with precision.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Mastering SQL joins is of great essence. This ensures that one has meaningful results through their interactions with relational databases, but not only limited to but including joins mastery.&lt;/p&gt;

</description>
      <category>mysql</category>
      <category>datascience</category>
      <category>dataanalytics</category>
      <category>sql</category>
    </item>
    <item>
      <title>INTRODUCTION TO DATA ANALYTICS</title>
      <dc:creator>arno kiru</dc:creator>
      <pubDate>Mon, 31 Mar 2025 07:19:44 +0000</pubDate>
      <link>https://dev.to/arno_kiru05/introduction-to-data-analytics-4dni</link>
      <guid>https://dev.to/arno_kiru05/introduction-to-data-analytics-4dni</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdajx3jmg3k7baw5tb01u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdajx3jmg3k7baw5tb01u.png" alt="Data analytics" width="318" height="159"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WHAT IS DATA?&lt;/strong&gt;&lt;br&gt;
Data is a collection of factual information that describes quantity, quality, facts, statistics or basic units of meaning. It usually is used as a basis for reasoning, discussion or calculation. This then begs the question what is data analysis? Data analysis is the examination of data to identify patterns, trends and insights. These insights are fundamental in our day to day life scenarios dependant on the nature of data and field in which they are of relevance and to the respective stakeholders.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TYPES OF DATA&lt;/strong&gt;&lt;br&gt;
There are two types of data, qualitative and quantitave to be precise.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DATA ANALYTICS&lt;/strong&gt;&lt;br&gt;
The use of tools and processes to examine raw datasets by transforming and organizing them to identify patterns and derive insights to answer specific questions and hence make informed decisions based on the insights.This is done by a well trained and skilled data analyst. Roles of a data analyst includes the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data collection: Gathering data from various sources including databases, spreadsheets and other platforms.&lt;/li&gt;
&lt;li&gt;Data cleaning: Ensuring data accuracy, consistency, and relevance by identifying and addressing issues like missing values, duplicates, and inconsistencies.&lt;/li&gt;
&lt;li&gt;Data analysis: Use of statistical methods, data mining techniques and analytical tools to identify patterns, trends and insights in the data.&lt;/li&gt;
&lt;li&gt;Data interpretation: Drawing meaningful info from the analysis that explains the findings and thereby translate them into recommendations.&lt;/li&gt;
&lt;li&gt;Data visualization: Creating charts, graphs and dashboards to communicate insight to the stakeholders.&lt;/li&gt;
&lt;li&gt;Reporting and communicating: Preparing reports, presentations and other material to share findings and recommendations with both technical and non-technical audiences.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;TOOLS&lt;/strong&gt;&lt;br&gt;
For a data analyst to perform these roles aptly, then he/she should be able to utilize the necessary tools specific to the needs of a project being undertaken. However, before diving deeper let's get the definition of a tool.&lt;br&gt;
A &lt;strong&gt;tool&lt;/strong&gt; is a software application, better still to a layman, a computer program that  helps process, analyse, visualize and interpret data.These tools help the data analyst carry out his/her roles effectively.&lt;br&gt;
The're various tools used in the data analytics niche, just to mention but a few, power BI, excel, SQL, Python, R programming and Spark among others.&lt;br&gt;
In the next articles I will be discussing these tools and matters data analysis in greater depth.&lt;/p&gt;

&lt;p&gt;Jeff Weiner:"Data really powers everything that we do."&lt;/p&gt;

</description>
      <category>python</category>
      <category>dataanalytics</category>
      <category>sql</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
