Bu cevaplar olmadan soru görünmüyor
SELECT
M.id, M.j_surname,
Q.id as qid, Q.qus_view_count, Q.qus_owner, Q.qus_title, Q.qus_description,
Q.qus_createddate,
COUNT(A.qus_id) as ans_count,
A.qus_id FROM jt_questions Q
LEFT JOIN jt_members M ON M.id = Q.qus_owner
LEFT JOIN jt_answers A ON Q.id = A.qus_id
GROUP BY A.qus_id
ORDER BY Q.qus_createddate DESC
LIMIT $offset, $recordsPerPage;