12 lines
177 B
MySQL
12 lines
177 B
MySQL
|
SELECT
|
||
|
authors.name,
|
||
|
comments.isanon,
|
||
|
comments.comment_text
|
||
|
FROM
|
||
|
comments,
|
||
|
authors
|
||
|
WHERE
|
||
|
comments.author = authors.id AND
|
||
|
comments.postid = :id
|
||
|
ORDER BY post_time DESC;
|