sql语句中 加上一个负数怎么写?
扔个三星炸死你
扔个三星炸死你 2017-02-27 15:53:45
0
1
1957
$sql ="update lzh_cds_items set ci_fetch_num = ci_fetch_num+(-20)";

这么写对吗


扔个三星炸死你
扔个三星炸死你

reply all(1)
巴扎黑

……加负值,不就是减吗???

$sql ="update lzh_cds_items set ci_fetch_num = ci_fetch_num-20";


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!