SELECT
	raw_text.post_text, posts.post_title, posts.unlisted, posts.hash
FROM
	raw_text, posts
WHERE
	raw_text.id = posts.id AND
	raw_text.id = :postid
