Skip to content

Commit

Permalink
Update Portfolio Project- Nashvillehousing.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnosky committed Feb 18, 2023
1 parent 2695131 commit c2e2a48
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Portfolio Project- Nashvillehousing.sql
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ WHERE a.PropertyAddress is null

-- Breaking out Address Into Individual Columns (Address, City, State)

SELECT PropertyAddress
FROM PortfolioProject.dbo.NashvilleHousing
--WHERE PropertyAddress is null
--ORDER BY ParcelID

SELECT
SUBSTRING(PropertyAddress, 1, CHARINDEX(',', PropertyAddress) -1) AS Address,
SUBSTRING(PropertyAddress, CHARINDEX(',', PropertyAddress) +1, LEN(PropertyAddress)) AS Address
Expand Down Expand Up @@ -145,8 +140,6 @@ DROP COLUMN OwnerAddress, TaxDistrict, PropertyAddress
ALTER TABLE PortfolioProject.dbo.NashvilleHousing
DROP COLUMN SaleDate

SELECT *
FROM PortfolioProject.dbo.NashvilleHousing



Expand Down

0 comments on commit c2e2a48

Please sign in to comment.