SELECT
	post_title,
	post_text,
	posts.authorid,
	posts.isanon,
	authors.name
FROM
	posts,authors
WHERE
	posts.authorid = authors.id AND
	posts.id = :id;
