select * from table a where a.date >= '2013-12-01' and a.date <= '2013-12-30' and a.name = '张三'注意时间的类型,如果是date类型的要to_char()下,如果是varchar的,就直接用
你不把表结构贴上来怎么给你查?
select * from CQ where name='张三'
select * from table_name where name=zhangsan;这样的?