9
MySQL - Operando deve conter 1 coluna (s)
Ao trabalhar em um sistema que estou criando, tentei usar a seguinte consulta em meu projeto: 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 …