日期:2014-05-16 浏览次数:20812 次
select ID,GoodsName,price,nowprice,picture from tb_goods where sale=1 order by INTime desc limit 2; MONEY类型在MYSQL中可以用两步: 1、用DECIMAL类型, 2、用FORMAT函数显示。 比如 select format(2000000.5222,3);
------解决方案--------------------
支持ls:
----------
select ID,GoodsName,price,nowprice,picture from tb_goods where sale=1 order by INTime desc limit 2;