/*
* 查询 product_id,与car_id不重复的列(是组合不重复)
*/
SELECT DISTINCT product_id ,car_id from bs_pro_car
select * from bs_consignee_info bci where (bci.area_id <=> NULL);
select * from bs_consignee_info bci where not (bci.area_id <=> NULL);
/*
* sto_sale_time 存储格式 2017-03-01 16:43:31
*/
select * from t_sto_sales ss where (ss.sto_sale_useraddr_citycode <=> NULL) and ss.sto_sale_time >STR_TO_DATE('2017-03-01 00:00:00','%Y-%m-%d %H:%i:%s');
/*
* 替换部分值
*/
update wheel w SET w.CarPCD = replace(w.CarPCD, ',', '.')