首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

,查询有关问题!

2013-04-21 
求助,求助,查询问题!!求助,我想查询1月开户数量,这样写 有什么问题..怎么查不出来啊?SELECT * FROM issued

求助,求助,查询问题!!
求助,我想查询1月开户数量,这样写 有什么问题..
怎么查不出来啊?
SELECT * FROM issuedetail a , nodeinfor b
WHERE a.nodeno =b.nodeno and a.tracode='07' AND a.opetime between '20090101' and '20090131' AND b.nodetree LIKE '5100000151000077%'


opetime 交易时间
ISSUEDETAIL 发卡交易明细表
nodeno  卡号
tracode 开户交易类型 

select CNNIC sql? 类
[解决办法]
try this,


select * 
 from issuedetail a, nodeinfor b
 where a.nodeno=b.nodeno and a.tracode='07' 
 and a.opetime between '2009-01-01 00:00:00' and '2009-01-31 23:59:59' 
 and b.nodetree like '5100000151000077%'

热点排行