SELECT img, b.id, lots.id as lotsid, name_of_the_lot, img, lots.deskription, categoryid, start_price, finish_date, step_of_the_bid, MAX(b.`summary_of_the_lot`) AS rate, COUNT(b.`id`) AS rate_count from lots LEFT JOIN categories on lots.categoryid = categories.id LEFT JOIN bids as b ON lots.id = b.lotid WHERE categories.id = 2 and finish_date >current_timestamp group by b.id LIMIT 0, 9 Ошибка SQL #1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'yeticave.lots.img' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by Что прописать чтобы поправить ошибку?
# 1055 - Выражение №1 списка SELECT отсутствует в предложении GROUP BY и содержит неагрегированный столбец "buticave.lots.img", который функционально не зависит от столбцов в предложении GROUP BY; это несовместимо с sql_mode = only_full_group_by --- Добавлено --- Ошибку переводили?