当前位置:数据库 > Oracle >>

如何查询oracle数据库一周的数据

oracle查询一周的数据怎么在jsp里面显示这一周数据每天的数据 例如: select name,time stutrs from table where time>=to-dat('2012-07-16','yyyy-mm-dd') and time<=to-dat('2012-07-20','yyyy-mm-dd') 查询结果为: 北大街 2012-07-16 70 北大街 2012-07-17 80 北大街 2012-07-18 98 北大街 2012-07-19 43 北大街 2012-07-20 56 在jsp页面显示 名称 07-16 07-17 07-18 07-19 07-20 北大街 70 80 98 43 56 亲各位大侠帮忙
Oracle
MySQL
Access
SQLServer
DB2
Excel
SQLite
SYBASE
Postgres
如果你遇到数据库难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,