SELECT `object`.`id`, `object`.`title`,`object`.`canonical`, `object`.`image`, `object`.`created`, `object`.`viewed`, `object`.`description`, `object`.`short_description`, (SELECT fullname FROM user WHERE user.id = object.userid_created) as user_created, (SELECT title FROM article_catalogue WHERE article_catalogue.id = object.catalogueid) as catalogue_title, (SELECT count(id) FROM comment WHERE comment.detailid = object.id AND comment.module = 'article') as comment
FROM `catalogue_relationship` as `att`
INNER JOIN `article` as `object`
WHERE `att`.`module` = 'article' AND `att`.`moduleid` = `object`.`id` AND (`att`.`catalogueid` = 134) AND `object`.`publish_time` <= "2024-09-08 08:34:28" AND `object`.`publish` = 0 AND `object`.`alanguage` = 'vietnamese'
GROUP BY `att`.`moduleid`
ORDER BY `object`.`updated` desc, `object`.`id` desc
LIMIT 60 , 30
GIỚI THIỆU MÔ HÌNH XANH
Trường Trung cấp Thuận Thành (huyện Thuận Thành, tỉnh Bắc Ninh Chúc mừng năm mới 2024