Hello,
I have this problem:
I have this sql query:
SELECT * FROM cars a left join (buyer g ) ON (g.car_id = a.id) where a.termin_end != '0000-00-00 00:00:00' group by a.id order by g.price desc limit 5.
But this sql sentence not working. Left join get first suggestion. I want get biggest price from buyer table.
Very very thanks. Who helps for me.