SELECT *
FROM `forum_posts`
WHERE `forum_posts-id` IN ( 20, 10, 14 )
_____________
Одесса - мой город!)))
SELECT *
FROM `forum_posts`
WHERE `forum_posts-id` IN ( 20, 10, 14 )
SELECT *
FROM `forum_posts`
WHERE `forum_posts-id` IN ( 20, 10, 14 )
ORDER BY FIELD(forum_posts-id, 20, 10, 14);
Цитата (paul85 @ 12.01.2015 - 22:45) |
SELECT * |