15 lines
183 B
MySQL
15 lines
183 B
MySQL
|
SELECT
|
||
|
posts.id,
|
||
|
posts.post_title,
|
||
|
posts.isanon,
|
||
|
posts.post_time,
|
||
|
authors.name
|
||
|
FROM
|
||
|
posts,
|
||
|
authors
|
||
|
WHERE
|
||
|
posts.authorid = authors.id
|
||
|
ORDER BY
|
||
|
posts.post_time DESC
|
||
|
LIMIT 10;
|