SELECT p.*,c.discount as discount1 FROM product AS p inner JOIN product_core as c ON p.no = c.parent_id where 1 and c.is_check = 'Y' and product_address = '151' order by c.sort
Unknown column 'product_address' in 'where clause'