If you're using version 9.0 or greater, you can use something like this:
SELECT *
FROM View_CMS_Tree_Joined
INNER JOIN Content_BlogPost ON DocumentForeignKeyValue = BlogPostID
WHERE ClassName = 'cms.blogpost'
If you're using a version less than 9.0, then you can use the view specifically for the page type:
SELECT *
FROM View_Content_BlogPost_Joined