UHm
Così sembrerebbe funzionare
Codice PHP:
SELECT p.post_ID AS idp.post_title AS titlep.post_preamble AS preamble
        
u.user_name AS authoru.user_ID AS uidc.category_ID AS cidc.category_title         AS ctitle,countco.post_ID ) AS ncomment 
        FROM posts 
AS p INNER JOIN users AS u ON p.user_ID=u.user_ID
        INNER JOIN categories 
AS c ON p.category_ID=c.category_ID
        LEFT JOIN 
(SELECT post_ID FROM comments WHERE comment_approved='1'
        AS 
co ON p.post_ID =co.post_ID 
        GROUP BY p
.post_ID DESC LIMIT 0 30
Se mi date il VS autorevole parere vi sarei enormemente
grato