主题:这句话有错么?
guzhen813
[专家分:50] 发布于 2006-06-23 12:35:00
sql="select avg(rentmon) from ploupan where date between #2005-01-01# to #2005-01-31#";
这句话有错么?为什么调不通那
回复列表 (共5个回复)
沙发
wangsdong [专家分:21390] 发布于 2006-06-23 12:45:00
between...and
板凳
mengchen [专家分:0] 发布于 2006-07-30 17:58:00
应该是
sql="select avg(rentmon) from ploupan where date between '2005-01-01' to '2005-01-31'";
3 楼
mengchen [专家分:0] 发布于 2006-07-30 17:59:00
应该是:sql="select avg(rentmon) from ploupan where date between '2005-01-01' and '2005-01-31'";
4 楼
nxcgh2006 [专家分:30] 发布于 2006-08-17 11:01:00
呵呵
我来回复