SELECT product.p_ID,product.pro_ID,product.p_no,product.p_name,product.p_info,p_size_tag,p_size_fit,product.p_price_retail,product.p_price_sell,product.con_ID,cat.cate2,brand.b_e,brand.b_j,100-product.p_price_sell/product.p_price_retail*100 as discount FROM product left join cat on product.cate_ID=cat.cate_ID left join brand on product.b_ID=brand.b_ID where p_rout=1 and (p_posit=10 or p_posit=20) and CONCAT(`p_name`,`p_info`,`b_e`,`b_j`,`b_info`,`cate1`,`cate2`) like '%ケリーバッグ%' group by p_no order by rand() limit 0,4