MySQL 5.0.18 - проблема с join
[sql]
SELECT shows.show_id, shows.name, images_shows.image_url, reviews.short_text, reviews.review_small
FROM shows, reviews
INNER JOIN images_shows ON (images_shows.show_id = shows.show_id AND images_shows.class = 1)
[/sql]
Ругается на #1054 - Unknown column 'shows.show_id' in 'on clause'
На 4-ке это работает
[sql]
SELECT shows.show_id, shows.name, images_shows.image_url, reviews.short_text, reviews.review_small
FROM shows, reviews
INNER JOIN images_shows ON (images_shows.show_id = shows.show_id AND images_shows.class = 1)
[/sql]
Ругается на #1054 - Unknown column 'shows.show_id' in 'on clause'
На 4-ке это работает