摘要:
-- 升序首先以年字段排序,然后以月字段排序 select * from BD_TREND where type='国土资源交易额' and area_name='市本级' order by year,month; --降序 select * from BD_TREND where type='国土 阅读全文
摘要:
-- 两种方式实现 --top函数实现,震惊,oracle数据库不支持top函数,笑了,所以oracle数据库还是用rownum函数实现 select top 5 name,StuID from Students order by StuID --rownum函数实现,rownum不支持>, >=, 阅读全文