<?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: Felix Nyabwonda</title>
    <description>The latest articles on DEV Community by Felix Nyabwonda (@felix_omayo_95e7e6dafed3b).</description>
    <link>https://dev.to/felix_omayo_95e7e6dafed3b</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3951291%2Fc492937d-eb92-44c2-ba50-98135d6d369c.jpg</url>
      <title>DEV Community: Felix Nyabwonda</title>
      <link>https://dev.to/felix_omayo_95e7e6dafed3b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/felix_omayo_95e7e6dafed3b"/>
    <language>en</language>
    <item>
      <title>Quick Overview of Relationship Schemas and Joins</title>
      <dc:creator>Felix Nyabwonda</dc:creator>
      <pubDate>Sun, 28 Jun 2026 23:57:26 +0000</pubDate>
      <link>https://dev.to/felix_omayo_95e7e6dafed3b/quick-overview-of-relationship-schemas-and-joins-41dd</link>
      <guid>https://dev.to/felix_omayo_95e7e6dafed3b/quick-overview-of-relationship-schemas-and-joins-41dd</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;BI analysts are tasked with answering business questions for their clients. Before answering questions concerning revenue, profits, or growth prospects, an analyst needs to understand where the data is stored and how to bring them together. And here is where relationship schemas and joins come in. Data is usually not stored in one place. It is spread across multiple sheets originating from different systems, such as CRM records, POS systems, marketing campaigns, or off-system sales. &lt;/p&gt;

&lt;p&gt;Relationship databases are made of two core concepts: relationship schemas and joins. Relationship Schemas is the framework on what data a given systems store and how the different sections of the data connect. Meanwhile, Joins is the means by which an analyst can query the connections established by relationship schemas. Ultimately, the latter creates the full picture of the data and answers business questions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Relationship Schema?
&lt;/h2&gt;

&lt;p&gt;A relationship schema is a description of how data is structured. It describes the structure of each table and how the different tables relate to one another. A schema is more of the skeleton or structure for where data is stored and how the different information relates or connects. In addition, it is a map that tells you that a certain table exists and what columns the different tables hold and how these tables connect. &lt;/p&gt;

&lt;p&gt;We have different types of tables as expounded below:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Flat Table – simple table with everything included without relationships being highlighted.&lt;/li&gt;
&lt;li&gt; Fact Table – is the heart of a data warehouse with little descriptive texts and majoring in measurable business events.&lt;/li&gt;
&lt;li&gt; Dimension Tables – provides context around the facts and richer in descriptions. &lt;/li&gt;
&lt;li&gt; Bridge Table – also known as a Junction Table. It sits between two tables and holds one row per pairing in many-to-many relationships&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When we narrow down to the tables in the relational database, each row represents one specific instance of the entity whereby each entity is maintained a table. Moreover, each column represents an attribute of the entity (specific table). Basically, the importance of a relationship schema is to store each piece of the data once and reference it whenever its required. For these relationships to work in a data design, you need two keys: primary and secondary. &lt;/p&gt;

&lt;p&gt;The primary key is a must for every table because without it you have no way to uniquely refer to a specific row. Contrarily, foreign keys act as a link or pointer for more details. It references the primary key of another table and acts as a relationship between two tables. Furthermore, we have other key types: composite, surrogate and natural keys. &lt;/p&gt;

&lt;p&gt;Two of the most common schemas include the Star and Snowflake schema. The former is the most commonly employed schema by analysts. It contains a fact table sitting a center surrounded by dimension tables. The dimension tables are smaller than the fact table and usually just provide context to the events captured in the fact table. The fact table contains foreign keys that point to each dimension. Meanwhile, the Snowflake schema is sort of an upgraded version of the Star where the dimension tables give links to other tables that allow one to create or write more joins. Other schemas you might come across include Galaxy schema, Data Vault, and the One Big Table. &lt;/p&gt;

&lt;p&gt;There are three types of relationships:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; One-to-One – one record in one table corresponds to exactly one record in another table.&lt;/li&gt;
&lt;li&gt; One-to-Many – one record in one table corresponds to many records in another table.&lt;/li&gt;
&lt;li&gt; Many-to Many – many records in one table corresponds to many records in another table, thereby requiring a bridge table.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What are Joins?
&lt;/h2&gt;

&lt;p&gt;Once you have understood what a relation schema is and the importance of having structure in data housing the next step is leaning how to query the same data. A Join is an SQL operation that combines rows from tables based on columns with relationships. It usually follows matching of a foreign keys to a primary key. As we had explained earlier, data is usually generated from different tables or worksheets from multiple systems in a business. In that case, Joins brings the different relevant pieces together when you want to draw information. &lt;/p&gt;

&lt;p&gt;Joins include the Inner Join, Left Outer Join, and the Right Outer Join. The Inner Join returns only rows where there is a match in both tables while the Left Outer Join returns all rows from the left table. In addition, the latter also returns any matching rows from the right table keeping in mind that no matches from the right column are filled with NULL. Conversely, the Right Join will return all the matching rows from the right table and left table, and unmatched columns on the left become NULL. Other Joins include:&lt;br&gt;
• Full Outer Join returns all the rows from the tables and where here no matches NULL is filled on both sides.&lt;br&gt;
• Cross Join literally combines everything since it produces a cartesian product of two tables resulting in exponential growth.&lt;br&gt;
• Self Join is a table joined to itself which is useful in recursive or hierarchical data in a single table&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>beginners</category>
      <category>database</category>
      <category>sql</category>
    </item>
    <item>
      <title>How Excel is Used in Real-World Data Analysis</title>
      <dc:creator>Felix Nyabwonda</dc:creator>
      <pubDate>Sat, 06 Jun 2026 21:58:22 +0000</pubDate>
      <link>https://dev.to/felix_omayo_95e7e6dafed3b/how-excel-is-used-in-real-world-data-analysis-2nh9</link>
      <guid>https://dev.to/felix_omayo_95e7e6dafed3b/how-excel-is-used-in-real-world-data-analysis-2nh9</guid>
      <description>&lt;h2&gt;
  
  
  Overview of Excel
&lt;/h2&gt;

&lt;p&gt;Excel is a spreadsheet offered by Microsoft made up of columns and rows, where you can store information between the columns and the rows. You can store all sort of information on excel including but not limited to values, names, dates, quantities, currencies, etc. You can also write excel formulas or functions in the cell to affect multiple cells. Excel allows you to take raw data and draw clean reports by product, regions, and month using simple tools like pivot tables that do not require formulas. &lt;/p&gt;

&lt;h2&gt;
  
  
  Uses of Data Analysis
&lt;/h2&gt;

&lt;p&gt;Excel finds many uses in most corporate meetings, enabling data analysts and Business Intelligence practitioners advices key decision makers on what moves to make based on the available raw and cleaned data. &lt;/p&gt;

&lt;p&gt;For instance in making key business decision, Excel offers one of the best non-complex ways to arrive a key decision. Excel can help you analyze a new market quickly, build a weighted scoring, and run a break-even analysis. &lt;/p&gt;

&lt;p&gt;You can also use Excel to see trend and analyze market performance. I have used it before to analyze Import-Export data in pharmaceuticals to segment the market. The info aids in curating reliable paths for companies trying to enter the market since I can rely on the historical data and how the different ATC (Anatomical Therapeutic Areas) are performing in a given area. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Excel Features or Formulas&lt;/strong&gt; &lt;br&gt;
Excel formulas are meant to make your work easier especially when dealing with hundred thousand rows of raw data and trying to make sense out of it. These functions come in in cleaning &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Excel Formulas&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Data cleaning is the most critical stage that precedes data processing and analyzing. It ensures that data is &lt;br&gt;
accurate, complete and ready for analysis and reporting. Data cleaning is usually achieved by various Excel formulas and shortcuts to remove errors, duplicates, and any inconsistencies in the data that might affect analysis. Here are some of the formulas or shortcuts I routinely use in data cleaning:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;- to capitalize the some of the names in the data you can use (=PROPER). &lt;/li&gt;
&lt;li&gt;- to lower case is good for use inconsistencies in the capitalization of names (=LOWER)
3 - to substitute a certain term that is repetitive while you want to make all the same (&lt;em&gt;control F&lt;/em&gt; to search  the item and then &lt;em&gt;Replace _the items with the nae you would it to _reflect&lt;/em&gt;).
4 - Dates you can get them through the =TRIM function if it comes with times or the (=DATEVALUE)&lt;/li&gt;
&lt;li&gt;- You can convert these formulas to values simply copying the entire column or affected areas and pasting them as values (press these buttons simultaneously &lt;em&gt;control shift v&lt;/em&gt;)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Pivot Tables&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
One of the most important tools of Excel is Pivot tales, which allows users analyze large sets of data within a short time frame. A live pivot simulation allows you to draw different insights from the same data. I use pivot tables so often, especially when discussing with stakeholders to reveal hidden patterns in raw data and see trends. &lt;/p&gt;

&lt;p&gt;Creating a pivot table takes less than 5 easy steps: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click on any cell inside your data and press &lt;em&gt;Control _simultaneously with _T&lt;/em&gt;. The short cut allows you to turn the data into a table.&lt;/li&gt;
&lt;li&gt;Go under the Excel ribbon &lt;em&gt;Insert&lt;/em&gt; click the drop down on the &lt;em&gt;PivotTable&lt;/em&gt; and select &lt;em&gt;table range&lt;/em&gt;. &lt;/li&gt;
&lt;li&gt;Clicking on the pivotable template on the left allows you to make adjustments to what data from your table to will used. You will have the Rows, Values, Filter, and Column sections. &lt;/li&gt;
&lt;li&gt;Pivot Tables also have other powerful tools such as calculated fields and items, slicers, running totals, and percentage different, which help in analyzing data further. &lt;/li&gt;
&lt;li&gt;You can also create charts from the pivot table to showcase trends in the data you are analyzing.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Impact of How Excel in Viewing Data
&lt;/h2&gt;

&lt;p&gt;Most people use Excel to draw insights from raw data and make insightful decisions. For instance Business Intelligence officers use it to analyze market trends while accountants use it to analyze financial statements. Excel is a tool that assist everyone analyze trends, uncover hidden patterns, and make meaningful analysis that goes beyond the superficial perceived trends. &lt;/p&gt;

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