Error!

MySQL Error: Column 'id' in where clause is ambiguous
SQL Statement: SELECT image, image_type FROM images JOIN content_images on images.id = content_images.image_id and content_images.id=8594 WHERE id = '8594' LIMIT 1