select pri.code,pri.Product,pri.warranty,pri.First ,recommend.rec_discount ,recommend.note as rec_note ,'' as pic_had,'' as path,'' as pic_type,recommend.imp,'' as Note ,recommend.rec_srp /*,if(recommend.rec_name='',IF( recommend.`rec_product` = '', pri.Product,pri.Product),recommend.rec_name) AS Product*/ ,pri.menu_id FROM advice_co_th.price pri inner join advice_co_th.menu_list_dtl mdtl on pri.menu_dtl_id = mdtl.menu_dtl_id left join advice_co_th.spec_picture sp on pri.code = sp.code left join system_44352001.recommend on pri.code = recommend.rec_code WHERE pri.online_only='T' and ((sp.pic_type ='s' and sp.pic_had <> '' and recommend.rec_discount > 0 and mdtl.menu_dtl_alive = 'T' ) or pri.code like 'D%' ) and mdtl.menu_dtl_id = '022101' GROUP BY pri.code order by pri.Url Health & Fitness Gadgets
พบสินค้า 1 รายการ

select bandle,quantity_ from advice_co_th.branch_bandle where code='A0121383'
Earphone Wireless (E02) 'Magictech' Blue
ประกัน 1 ปี
190 บาท
รวม VAT แล้ว
229 บาท
ประหยัด 39 บาท