ERROR SELECT product_post.*, category.cate_name, product_img.*, product_s_img.* FROM product_post INNER JOIN category ON product_post.cate_id = category.id INNER JOIN product_img ON product_post.id = product_img.prd_id INNER JOIN product_s_img ON product_post.id = product_s_img.prd_id WHERE product_post.id='3141'