Skip to content

Instantly share code, notes, and snippets.

Created Mar 17, 2019
What would you like to do?
@"CREATE VIEW View_BlogPostCounts AS
SELECT b.Name, Count(p.PostId) as PostCount
FROM Blogs b
JOIN Posts p on p.BlogId = b.BlogId
GROUP BY b.Name");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment