各位高手请帮我看一下这个SQL语句,
select goods_name,sum((all_weight-blank_weight)*goods_price) money,sum(all_weight-blank_weight) weight from bill
where bill_state=0 and bill_date>='2003-4-1' and bill_date<='2003-4-30' and bill_type="调拨"
group by goods_name;我在SQL Serser中用Query Analysize 运行没有问题,可我的程序用的是Access数据库,运行时老有错!
select goods_name,sum((all_weight-blank_weight)*goods_price) money,sum(all_weight-blank_weight) weight from bill
where bill_state=0 and bill_date>='2003-4-1' and bill_date<='2003-4-30' and bill_type="调拨"
group by goods_name;我在SQL Serser中用Query Analysize 运行没有问题,可我的程序用的是Access数据库,运行时老有错!
解决方案 »
- 求达人解决Delphi7 Windows XP 安装问题
- 请教各位:delphi中formclose时,哪些东西需要手动释放?来者有分
- 在delphi中package是否能够调用其他package中的类呢?
- 急急。。在线等..iso-8859 转换成中文
- 真是服了DELPHI了,谁能解决这个问题,不知道是不是SQL的问题,我折腾了两天了!
- 问一下数据库字段的小问题!!(抢分吧!)
- active form在web上发布的问题,请教各位,急!!!
- 谁知道InterBase6.0的注册码啊?急用!
- 急!我该选哪份工作?在线等待!
- 大侠,谁能帮帮我,高分求助
- 还是修改程序:::::::找《guestman(天涯浪子) ( 》?????
- 如何判断一个form已经创建
where bill_state=0 and bill_date>=#2003-4-1# and bill_date<=#2003-4-30# and bill_type="调拨"
group by goods_name
datevalue('2003-4-1')