http://community.csdn.net/Expert/topic/5060/5060107.xml?temp=.8398706
关于这个问题再请教下如果我想查询特定日期段的时候改为下面语句
select 出售日期,sum(出售价格) as 价格 into a from 出售历史记录 where 出售日期=2006-9-21 group by 出售日期得不到结果但是改为
select 出售日期,sum(出售价格) as 价格 into a from 出售历史记录 where 操作员= "aa" group by 出售日期
可以得到结果
表中出售日期字段的属性是短日期。。
在查询的时候应该怎么写?
有点糊涂了。。