SELECT idPost FROM posts WHERE `idRecordPost` = 83 and moder = 1 ORDER BY datePost ASC
SELECT users.loginUser, users.groupUser, posts.idPost, posts.textPost, posts.datePost FROM users INNER JOIN posts ON posts.idUserPost = users.idUser and posts.`idRecordPost` = 83 and posts.moder = 1 ORDER BY posts.datePost ASC