<?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: Miss Analyst</title>
    <description>The latest articles on DEV Community by Miss Analyst (@mwatela_nazi_d1d2cd301ba1).</description>
    <link>https://dev.to/mwatela_nazi_d1d2cd301ba1</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%2F3958644%2Fc46e8add-ef4e-4621-a20f-b4108f44a1da.png</url>
      <title>DEV Community: Miss Analyst</title>
      <link>https://dev.to/mwatela_nazi_d1d2cd301ba1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mwatela_nazi_d1d2cd301ba1"/>
    <language>en</language>
    <item>
      <title>SQL PROJECT:Build a greenwood academy database with postgresql</title>
      <dc:creator>Miss Analyst</dc:creator>
      <pubDate>Mon, 17 Aug 2026 13:40:39 +0000</pubDate>
      <link>https://dev.to/mwatela_nazi_d1d2cd301ba1/sql-projectbuild-a-greenwood-academy-database-with-postgresql-gh1</link>
      <guid>https://dev.to/mwatela_nazi_d1d2cd301ba1/sql-projectbuild-a-greenwood-academy-database-with-postgresql-gh1</guid>
      <description>&lt;p&gt;&lt;strong&gt;INTRODUCTION&lt;/strong&gt;&lt;br&gt;
For this week's SQL assignment, I was given a practical scenario involving Greenwood Academy, a secondary school in Nairobi. The task was to take on the role of a new database administrator and build a school database from scratch, populate it with information, and then use SQL queries to retrieve and work with the data.&lt;/p&gt;

&lt;p&gt;At first, the assignment looked like a lot because there were several different SQL concepts involved. However, as I worked through it step by step, I realized that each section was connected to the next. I started by creating the database structure, added the required information, and finally used queries to make sense of the data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WHAT THE PROJECT IS ABOUT&lt;/strong&gt;:&lt;br&gt;
We are required to build the data the database from scratch and start querying it, let's go step by step on how we are going to do that.We will start by&lt;br&gt;
 &lt;strong&gt;1.creating a schema called greenwoods_academy;&lt;/strong&gt; &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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr4b50uck3pejzsycdsjz.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr4b50uck3pejzsycdsjz.png" alt=" " width="412" height="56"&gt;&lt;/a&gt;&lt;br&gt;
the schema will act as a blue print to ensure our data is stored, exchanged and validated consistently&lt;br&gt;
&lt;strong&gt;2.Creating tables&lt;/strong&gt;&lt;br&gt;
Tables store information that is going to be used in the query. Tables usually have  keys that are important in building databases. Keys help identify records and where relationships are defined, connect information between different tables examples of the keys are primary and foreign key. In our database we have 3 tables that we are going to create;&lt;br&gt;
&lt;strong&gt;(a)create the students table&lt;/strong&gt;&lt;br&gt;
 This table store the students information. The primary key here is the students_id&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbbcjp4s0ci19j7cli5pi.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbbcjp4s0ci19j7cli5pi.png" alt=" " width="403" height="226"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;(b)create the subjects table&lt;/strong&gt;&lt;br&gt;
Here the subjects information is going to be stored. The primary key is subject_id&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn8m2jw3p7bng8viaq1k3.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn8m2jw3p7bng8viaq1k3.png" alt=" " width="403" height="226"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;(c)create the exam_results table&lt;/strong&gt;&lt;br&gt;
It contains the exam information. The primary key is result_id&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F24ga9a3kns2i207fd1ro.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F24ga9a3kns2i207fd1ro.png" alt=" " width="412" height="202"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;3.Altering the tables&lt;/strong&gt;&lt;br&gt;
Databases can be changed to suit the users requirements after they have been created, this is very suitable because real world databases might need some adjustments. The school forgot to add a phone_number column, it also needed to rename a column to credit_hours and delete the phone number column. we will use the &lt;strong&gt;ALTER&lt;/strong&gt; function to make these changes. &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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnhrsq5q4snjfocxbjnx0.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnhrsq5q4snjfocxbjnx0.png" alt=" " width="424" height="135"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4.filling the database&lt;/strong&gt;&lt;br&gt;
We will now insert data to the tables we created. Here we use the Data manipulation language. I mainly worked with insert, update and delete. You have to be keen when inserting the data to get the right thing&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkfh806cqdwj95crz2wmi.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkfh806cqdwj95crz2wmi.png" alt=" " width="790" height="735"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Esther Akinyi moved from Nakuru to Nairobi, we will use update to adjust the query&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3fl8hpvrb0yz7pc8xzf3.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3fl8hpvrb0yz7pc8xzf3.png" alt=" " width="232" height="58"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the result_id column we entered 59 instead of 49&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1pkng1djjclp7e51ulyj.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1pkng1djjclp7e51ulyj.png" alt=" " width="229" height="66"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Result for result_id 9 was cancelled, we use delete to adjust the query&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj6ca8h98detbgtwqussd.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj6ca8h98detbgtwqussd.png" alt=" " width="268" height="42"&gt;&lt;/a&gt;&lt;br&gt;
It is very important we have these operations since data in the real work keeps changing&lt;br&gt;
&lt;strong&gt;5.Querying the data&lt;/strong&gt;&lt;br&gt;
Here we retrieve information from the query and we use the &lt;strong&gt;where&lt;/strong&gt; clause. We will first find all students who are in form 4 and all subjects in the science department.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs2qig167bga4tdlm1is4.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs2qig167bga4tdlm1is4.png" alt=" " width="340" height="142"&gt;&lt;/a&gt;&lt;br&gt;
Now we find all exam results whose marks are greater than or equal to 70 and all females only&lt;br&gt;
! &lt;a href="https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/gha3l7cl646r1fmdsz83.png" rel="noopener noreferrer"&gt;Image description&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Using and, or&lt;/strong&gt;&lt;br&gt;
they are used to combine different conditions. For &lt;strong&gt;and&lt;/strong&gt; all conditions must have been satisfied while &lt;strong&gt;or&lt;/strong&gt; either of the two must have been satisfied.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdt3fahh5czdssvvqreth.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdt3fahh5czdssvvqreth.png" alt=" " width="253" height="184"&gt;&lt;/a&gt;&lt;br&gt;
Queries allow you to  easily search for data rather than doing it manually.&lt;br&gt;
&lt;strong&gt;6.Working with operators&lt;/strong&gt;&lt;br&gt;
The operators we are going to use here are &lt;strong&gt;between, in, not in and like&lt;/strong&gt; Between returns values within a range with the boundaries included example 50  and 80 will be included&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsrjq5pibpfvpp71fy8ry.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsrjq5pibpfvpp71fy8ry.png" alt=" " width="598" height="121"&gt;&lt;/a&gt;&lt;br&gt;
In matches any value in a list, not in excludes values in a list while like matches a text pattern&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3elef43q0gqn0pvpl8ec.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3elef43q0gqn0pvpl8ec.png" alt=" " width="789" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7.Using count&lt;/strong&gt;&lt;br&gt;
We use count to get the number of records, that matches your query. In our database we will find the number of students who are in form 3 and those that have marks 70 or above&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn7pxv9glz7k27myuxcnn.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn7pxv9glz7k27myuxcnn.png" alt=" " width="426" height="133"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;8.Using case when&lt;/strong&gt;&lt;br&gt;
We use case when to assign labels or description to numbers or values&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjan1j5d9ya1pwimjtmoj.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjan1j5d9ya1pwimjtmoj.png" alt=" " width="634" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;what I learnt&lt;/strong&gt;&lt;br&gt;
The biggest thing I learned from this assignment is that SQL is not just about writing individual commands. There is a process involved.&lt;/p&gt;

&lt;p&gt;First, I have to create the structure of the database. Then I insert the data, make corrections when necessary, and finally query the information I need.&lt;/p&gt;

&lt;p&gt;I also got more comfortable with commands such as CREATE, ALTER, INSERT, UPDATE, DELETE, SELECT, WHERE, BETWEEN, IN, LIKE, COUNT(), and CASE WHEN.&lt;/p&gt;

&lt;p&gt;Another important lesson was the importance of being precise. A small mistake in a table name, column name, condition, or value can cause a query to fail or return the wrong information. Working through the assignment helped me become more careful with my SQL syntax.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;final thoughts&lt;/strong&gt;&lt;br&gt;
Overall, this assignment gave me a more practical understanding of how databases work. Instead of only learning SQL commands individually, I got to use them in a situation that resembles something a real school might need.&lt;/p&gt;

&lt;p&gt;Starting with an empty database and gradually building it into something that could store student, subject, and examination information made the different SQL concepts easier to connect.&lt;/p&gt;

&lt;p&gt;The assignment also helped me see how SQL can be used to organize information, correct mistakes, search through large amounts of data, and turn raw data into useful information. Going forward, I feel more confident about using SQL for larger and more realistic database projects.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>HOW EXCEL IS USED IN REAL-WORLD DATA ANALYSIS</title>
      <dc:creator>Miss Analyst</dc:creator>
      <pubDate>Wed, 10 Jun 2026 08:03:27 +0000</pubDate>
      <link>https://dev.to/mwatela_nazi_d1d2cd301ba1/how-excel-is-used-in-real-world-data-analysis-1jop</link>
      <guid>https://dev.to/mwatela_nazi_d1d2cd301ba1/how-excel-is-used-in-real-world-data-analysis-1jop</guid>
      <description>&lt;p&gt;INTRODUCTION&lt;br&gt;
Data is raw facts and figures that have less meaning  to the user therefore we use tools such as excel to organize,analyse and visualize it. Lets dig deep to what excel is&lt;br&gt;
&lt;strong&gt;EXCEL?&lt;/strong&gt;&lt;br&gt;
It is a spreadsheet application that allows users to store data in rows and columns, perform calculations using formulas,create charts and graphs and generates reports&lt;/p&gt;

&lt;p&gt;USES OF EXCELL IN THE REAL WORLD&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Data Cleaning and Preparation&lt;/strong&gt;: Data collected from all over including surveys, businesses and research can sometimes be dirty therefore containing duplicate entries, blank cells, spelling mistakes or inconsistent formatting. Excel provides tools such as Remove Duplicates, Find and Replace, Text to Columns and sort and Filter to correct these issues. Clean data ensures that the final analysis is accurate and reliable.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.&lt;strong&gt;Financial Reporting and Budgeting&lt;/strong&gt;: Organizations and businesses can track income, expenses and profits using spreadsheets. This makes it easier to plan budgets and monitor financial performance without complicated software.&lt;/p&gt;

&lt;p&gt;3.&lt;strong&gt;Business decision-making:&lt;/strong&gt; Companies collect alot of information every day, such as sales figures and customer data. Excel helps organize this information so managers can identify trends and make better decisions about their products or services.&lt;/p&gt;

&lt;h2&gt;
  
  
  EXCEL FEATURES AND FORMULAS I HAVE LEARNED
&lt;/h2&gt;

&lt;p&gt;Excel has several features and formulas that make data analysis easier and more efficient, they include&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.=SUM FUNCTION&lt;/strong&gt;- It is used to add values within a selected range of cells example  =SUM(A1:A10)  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. =AVERAGE FUNCTION&lt;/strong&gt;-It is used to calculate the mean of a group of numbers example =AVERAGE(B1:B10)&lt;br&gt;&lt;br&gt;
It is useful for finding the average score of students monthly income or average customer ratings.&lt;/p&gt;

&lt;p&gt;*&lt;strong&gt;&lt;em&gt;3.IF Function *&lt;/em&gt;-&lt;/strong&gt;The IF function performs logical tests and returns different results depending on whether a condition is true or false&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4.Sort and Filter&lt;/strong&gt;-This feature is used to organize data and display only relevant information therefore making data cleaning easier to improve the quality of analysis.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CONCLUSION&lt;/strong&gt;&lt;br&gt;
Learning Excel has changed the way I see data. I no longer view data as just rows of numbers but as valuable information that can answer questions and solve problems when it is properly cleaned and analyzed. Excel has enhanced my understanding of data and it's role in solving real-world problems making it an essential skill in todays data-driven world.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>data</category>
      <category>microsoft</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
