select status,userid,order_id,discounts,create_time,deliver_time,time_expand,is_virtual from ys_product_order where ( status = 1 or status =3 or (status =2 and is_virtual = 1)) and buyer_id = '0' Unknown column 'discounts' in 'field list'