SELECT * from new_shop_product as a INNER JOIN new_shop_product_ctg_tag as b on (a.`no` = b.`prd_no`)INNER JOIN new_images as c on c.no = b.img_no where b.`def_no` = 8 and a.`visible` = 1 and `visible_toch` = 1 ORDER BY RAND() LIMIT ?,?
Column 'visible_toch' in where clause is ambiguous