求教一条SQL语句 数据库中有1字段出生年月,怎么样把某一段(比如2006-1-1到2006-12-30)排在前面 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from [Table] order by case when [Date] between '2006-1-1' and '2006-12-30' then 0 else 1 end,[Date] select * from 表 where 字段 between '2006-1-1' and '2006-12-30'union allselect * from 表 where 字段< '2006-1-1' and 字段> '2006-12-30' select * from 表 where 字段 between '2006-1-1' and '2006-12-30'union allselect * from 表 where 字段 not between '2006-1-1' and '2006-12-30' sql server2005 数据类型的疑问 SQLSERVER2005中能使用isql bcp工具倒入数据吗? bom树的排列方式 各位朋友一个问题,cute和compute的区别和用法? 请高人帮助一下,在线等 sqlserver 多表按照时间排序 安装ms sql2000中遇到的一个问题 急!!!!四舍五入问题!! 如何-----------简单列转行? (急)数据库引擎不能登录数据库 请问:如何写这个更新的SQL语句呀! 帮我修改一个SELECT语句,散分贴。
union all
select * from 表 where 字段< '2006-1-1' and 字段> '2006-12-30'
union all
select * from 表 where 字段 not between '2006-1-1' and '2006-12-30'