ballhogjoni Posted November 8, 2008 Share Posted November 8, 2008 SELECT o.*,og.name AS group FROM Offer_group as og LEFT JOIN Offer as o ON o.offer_group_id = og.group_id Link to comment https://forums.phpfreaks.com/topic/131956-whats-wrong-with-this-query/ Share on other sites More sharing options...
Mchl Posted November 8, 2008 Share Posted November 8, 2008 http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html (hint: you use one of the reserved words, as a column name) Link to comment https://forums.phpfreaks.com/topic/131956-whats-wrong-with-this-query/#findComment-685638 Share on other sites More sharing options...
ballhogjoni Posted November 8, 2008 Author Share Posted November 8, 2008 group is a reserved name? wow I'm a noob! Link to comment https://forums.phpfreaks.com/topic/131956-whats-wrong-with-this-query/#findComment-685644 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.