Examining the table for null values

PHOTO EMBED

Tue May 21 2024 07:48:24 GMT+0000 (Coordinated Universal Time)

Saved by @Uncoverit #sql

-- Examining the table for null values
SELECT COUNT(*)-COUNT(rating) AS rating
	 , COUNT(*)-COUNT(numberofreviews) AS n_of_reviews
	 , COUNT(*)-COUNT(isbn) AS isbn
	 , COUNT(*)-COUNT(publishing_year) AS publishing_year
	 , COUNT(*)-COUNT(genres) AS genres
	 , COUNT(*)-COUNT(rating_count) AS rating_count
	 , COUNT(*)-COUNT(title) AS title
FROM PortfolioProject.dbo.Goodreads;
content_copyCOPY

https://github.com/Susanna-Uncover/SQL-projects/blob/Projects/1%20SQL%20Goodreads%20Data%20Cleaning%20Project.sql