{"id":15002818,"url":"https://github.com/fazal-coder/sql_nashville_housing","last_synced_at":"2025-10-19T05:55:09.816Z","repository":{"id":191715304,"uuid":"685244615","full_name":"fazal-coder/SQL_Nashville_Housing","owner":"fazal-coder","description":"SQL Project in MS SQL Server About Nashville Housing ","archived":false,"fork":false,"pushed_at":"2023-08-30T20:44:47.000Z","size":5927,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T13:55:54.652Z","etag":null,"topics":["microsoft-sql-server","mssqlserver","sql-server"],"latest_commit_sha":null,"homepage":"","language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fazal-coder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-30T20:15:43.000Z","updated_at":"2023-08-30T20:43:46.000Z","dependencies_parsed_at":"2023-08-31T10:10:00.946Z","dependency_job_id":"70f62673-954a-4e82-ab36-c344e5f49e56","html_url":"https://github.com/fazal-coder/SQL_Nashville_Housing","commit_stats":null,"previous_names":["fazal-coder/sql-_nashville_housing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazal-coder%2FSQL_Nashville_Housing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazal-coder%2FSQL_Nashville_Housing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazal-coder%2FSQL_Nashville_Housing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazal-coder%2FSQL_Nashville_Housing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fazal-coder","download_url":"https://codeload.github.com/fazal-coder/SQL_Nashville_Housing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243153515,"owners_count":20244777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["microsoft-sql-server","mssqlserver","sql-server"],"created_at":"2024-09-24T18:52:49.314Z","updated_at":"2025-10-19T05:55:09.696Z","avatar_url":"https://github.com/fazal-coder.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Nashville Housing\n\nThis section involves various data cleaning tasks for the  `Nashvillahousing` table.\n\n- **Standardize Date Format:** Converts the SaleDate column to a standardized date format using CAST.\n\n- **Populate Property Address Data:** Fills in missing PropertyAddress values by joining the table with itself based on `ParcelID` and copying non-null addresses.\n\n- **Breaking out PropertyAddress:** Splits the `PropertyAddress` column into `Address` and `City` using `SUBSTRING` and `CHARINDEX`, and stores them in new columns.\n\n- **Breaking out OwnerAddress:**  Similar to above, splits `OwnerAddress` into individual components (`OwnerAddress`, `OwnerCity`, `OwnerState`) using `PARSENAME` and `REPLACE`, and stores them in new columns.\n  \n- **Change Y and N to Yes and No:** Converts values in the `SoldAsVacant` column from 'Y' to 'Yes' and 'N' to 'No'.\n\n- **Remove Duplicates:** Utilizes a Common Table Expression (CTE) with `ROW_NUMBER()` to identify and remove duplicate rows based on certain columns.\n\n- **Delete Unused Columns:** Drops specified columns (`OwnerAddress`, `TaxDistrict`, `PropertyAddress`, `SaleDate`) from the table.\n\n\n*Repository created by [Diyan].*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffazal-coder%2Fsql_nashville_housing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffazal-coder%2Fsql_nashville_housing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffazal-coder%2Fsql_nashville_housing/lists"}