此SQL语句咋写? 一本书: 章 节 内容 1 1 1 2 1 3 1 4 2 1 2 2 2 3 3 1 4 1 4 2 4 3 4 4查询从第2章第2节到第4章第3节之间的内容? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from a where 章 = 2 and 节>2unionselect * from a where 章 > 2 and 章 <4unionselect * from a where 章 = 4 and 节 <3 或者你可以将章节写成2001(第2章第1节),2003(第2章第3节)然后就可以直接比较了。(也可以用sql实现。) select * from a where 章 = 2 and 节>2unionselect * from a where 章 = 4 and 节 <3 关于FORM销毁问题 散分不需要理由! 对一个表格的查询操作,急求指点!!!!!谢谢 如何判断某个对话框被激活? 串口通信与生产监控系统 如何把一个目录下的文件名(全称)显示到Listview上 Wally_wu, 请进 如何把treeview拖放到listview中 如何实现给一个网页模拟点击按钮和模拟输入文字? 请教高手们,batchmove与database 的问,急!!!!! Delphi高手,是不是也是VC高手,或是说C++很在行。 vc中的cap系列函数在delphi里对什么函数或组件?
where 章 = 2 and 节>2
union
select * from a
where 章 > 2 and 章 <4
union
select * from a
where 章 = 4 and 节 <3
然后就可以直接比较了。
(也可以用sql实现。)
where 章 = 2 and 节>2unionselect * from a
where 章 = 4 and 节 <3