Exploring the most popular tags in the genres column

PHOTO EMBED

Tue May 21 2024 08:02:22 GMT+0000 (Coordinated Universal Time)

Saved by @Uncoverit #sql

-- Exploring the most popular tags in the genres column
SELECT TOP 100
	value [word],
	COUNT(*) [#times]
FROM  PortfolioProject.dbo.Goodreads
CROSS APPLY STRING_SPLIT(Goodreads.genres, '|') 
GROUP BY value
ORDER BY COUNT(*) DESC
content_copyCOPY