12 lines
154 B
MySQL
12 lines
154 B
MySQL
|
SELECT
|
||
|
post_title,
|
||
|
post_text,
|
||
|
posts.authorid,
|
||
|
posts.isanon,
|
||
|
authors.name
|
||
|
FROM
|
||
|
posts,authors
|
||
|
WHERE
|
||
|
posts.authorid = authors.id AND
|
||
|
posts.id = :id;
|