Laravel-QuestionAnswer
Laravel-QuestionAnswer copied to clipboard
Database\QueryException Error while colning the project
I have Database\QueryException Error:
SQLSTATE[42000]: Syntax error or access violation: 1055 'qa_laravel.questions.user_id' isn't in GROUP BY (SQL: select `questions`.*, sum(votes.vote) as vote_ttl from `questions` inner join `votes` on `questions`.`id` = `votes`.`question_id` where `questions`.`created_at` >= 2013-04-29 02:10:22 group by `questions`.`id` order by `vote_ttl` desc, `questions`.`created_at` desc limit 3)
Anyone can help me how to fix it?
me too