Skip to content

teddyzhou62/SQL-Data-Cleaning-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nashville Housing Data for Data Cleaning SQL

Welcome to the SQL Data Cleaning Practice - Nashville Housing project! This project focuses on cleaning, formulating, and structuring the Nashville Housing Data File.

Icon

Introduction

The provided code demonstrates data cleaning tasks performed on the NashvilleHousing table in the PortfolioProject database. Each section addresses a specific data-cleaning operation and includes SQL queries to achieve the desired transformations. Here's a brief explanation of each section:

Project Highlights:

  • 1. Standardize Date Format
    • The code converts the SaleDate column to a standardized date format by selecting and updating the SaleDate column using the CONVERT function.

1

  • 2. Populate Property Address data
    • This section populates missing PropertyAddress values by joining the NashvilleHousing table with itself based on the ParcelID. The ISNULL function is used to prioritize non-null values from the joined rows and update the missing PropertyAddress values accordingly.

2

  • 3. Populate Property Address data
    • This section populates missing PropertyAddress values by joining the NashvilleHousing table with itself based on the ParcelID. The ISNULL function is used to prioritize non-null values from the joined rows and update the missing PropertyAddress values accordingly.

3

  • 4. Populate Property Address data
    • This section populates missing PropertyAddress values by joining the NashvilleHousing table with itself based on the ParcelID. The ISNULL function is used to prioritize non-null values from the joined rows and update the missing PropertyAddress values accordingly.

4

  • 5. Populate Property Address data
    • This section populates missing PropertyAddress values by joining the NashvilleHousing table with itself based on the ParcelID. The ISNULL function is used to prioritize non-null values from the joined rows and update the missing PropertyAddress values accordingly.

5

The provided SQL queries showcase the process of cleaning and transforming data within the NashvilleHousing table, ensuring better data quality and usability for further analysis.

About

A project to demonstrate data cleaning process in SQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published