9
MySQL - Operand harus berisi 1 kolom
Saat mengerjakan sistem yang saya buat, saya mencoba menggunakan kueri berikut dalam proyek saya: SELECT topics.id, topics.name, topics.post_count, topics.view_count, COUNT( posts.solved_post ) AS solved_post, (SELECT users.username AS posted_by, users.id AS posted_by_id FROM users WHERE users.id = posts.posted_by) FROM topics LEFT OUTER JOIN posts ON posts.topic_id = topics.id WHERE topics.cat_id = …