<?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: Dennis-Kirimi</title>
    <description>The latest articles on DEV Community by Dennis-Kirimi (@denniskirimi).</description>
    <link>https://dev.to/denniskirimi</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%2F2858636%2F151937d1-74c3-4e68-a1b1-50810dcc0947.jpg</url>
      <title>DEV Community: Dennis-Kirimi</title>
      <link>https://dev.to/denniskirimi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/denniskirimi"/>
    <language>en</language>
    <item>
      <title>The role of SQL in Data Analytics: Why Every Analyst Should Learn SQL</title>
      <dc:creator>Dennis-Kirimi</dc:creator>
      <pubDate>Tue, 11 Mar 2025 14:20:10 +0000</pubDate>
      <link>https://dev.to/luxdevhq/the-role-of-sql-in-data-analytics-why-every-analyst-should-learn-sql-kmi</link>
      <guid>https://dev.to/luxdevhq/the-role-of-sql-in-data-analytics-why-every-analyst-should-learn-sql-kmi</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Where is this coming from?
&lt;/h3&gt;

&lt;p&gt;Data has become the main factor any time a person or organization is making decisions or insights. This calls for an analyst who is able to manipulate, transform and extract insights from this data.&lt;/p&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%2Fgmlmnyyvbqpr6d5tmfs3.jpeg" 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%2Fgmlmnyyvbqpr6d5tmfs3.jpeg" alt="Image description" width="626" height="388"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any time an analyst is interacting with data, there are a number of tools and languages available to complete the tasks. SQL is one of them!&lt;br&gt;
SQL, Structured Query Language, is a standard language used for managing and manipulating relational databases. This is a must learn language whether you're a beginner or a professional in the data field.&lt;br&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%2Fq58bef4ifx029w9z1nwq.jpeg" 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%2Fq58bef4ifx029w9z1nwq.jpeg" alt="Image description" width="736" height="752"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The role of SQL in Data Analytics
&lt;/h2&gt;

&lt;p&gt;We've just mentioned that SQL is used for interacting with relational databases, right? SQL remains to be the unsung hero of data analysis.&lt;br&gt;
Data is stored in databases. A database is an organized collection of data stored electronically. The data could be in form of tables with rows and columns. But how do we interact with the data in the databases?&lt;br&gt;
SQL helps analysts to retrieve, clean and manipulate data with ease.&lt;/p&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%2Fdisg5ylwui4vyl015iov.jpeg" 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%2Fdisg5ylwui4vyl015iov.jpeg" alt="Image description" width="731" height="341"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  But Why Should Every Data Analyst Learn SQL?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. SQL helps an analyst get the data you need from a database for your analysis.
&lt;/h3&gt;

&lt;p&gt;Can you image of a company that is over 20 years old? Yes, majority of this business data is stored in relational databases such as MySQL, PostgreSQL, and SQL Server. SQL helps you, as an analyst, pull the required data, it could be last year's sales data and perform further analysis without having to retrieve the others. &lt;/p&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%2F9nq6cj0vp4wsnqkaaqx3.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%2F9nq6cj0vp4wsnqkaaqx3.png" alt="Image description" width="800" height="210"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. SQL is built for interacting with large datasets.
&lt;/h3&gt;

&lt;p&gt;Excel might work for small reports. But what if you're dealing with millions of rows of data? That's where SQL comes in again, hurray!&lt;br&gt;
SQL makes the interaction with large datasets easy and pardons the computer from crashing.&lt;/p&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%2Fl510u7xerw9j699i2x8h.jpeg" 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%2Fl510u7xerw9j699i2x8h.jpeg" alt="Image description" width="736" height="414"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Data Cleaning
&lt;/h3&gt;

&lt;p&gt;Most of the times, data comes in a dirty format which includes missing values, duplicates among others. SQL gives you a fair room to use in-built functions to clean the data and prepare it for visualization. This could mean removing duplicates or replacing missing values with the most appropriate values depending on the analysis.&lt;/p&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%2Fpu1ngr15kgah8r8xz10a.jpeg" 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%2Fpu1ngr15kgah8r8xz10a.jpeg" alt="Image description" width="735" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Merging different tables
&lt;/h3&gt;

&lt;p&gt;In databases, data is stored in schemas and tables holding different data and the data in those tables could be related.&lt;br&gt;
With a simple query, one can join the tables and create a view to perform further analysis. This can hardly be achieved if using tools like Excel.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. SQL integrates with a number of popular visualization tools
&lt;/h3&gt;

&lt;p&gt;After you're done interacting with the data from a database, the next step is always visualizing or creating reports.&lt;br&gt;
SQL gives a direct pipeline to connect with those visualization tools like Power BI or Tableau.&lt;/p&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%2Fmuq3jt9fx9g072vxoj3n.jpeg" 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%2Fmuq3jt9fx9g072vxoj3n.jpeg" alt="Image description" width="736" height="736"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6. SQL ensures collaboration across teams.
&lt;/h3&gt;

&lt;p&gt;In most organizations, SQL is a central and common language in the data department. Data analysts, engineers and scientists often communicate through data pipelines and majorly databases. Databases and no SQL?? Doesn't make sense!&lt;/p&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%2F8e0adakjpl7a5kuyz52f.jpeg" 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%2F8e0adakjpl7a5kuyz52f.jpeg" alt="Image description" width="736" height="736"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;SQL is more than just a language. It's a critical domain sensitive skill that every analyst should learn whenever interacting with databases.&lt;/p&gt;

&lt;p&gt;If you haven't started learning SQL yet, now is the perfect time!!&lt;/p&gt;

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