首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

ORACLE中先ORDER BY又ROWNUM

2012-08-17 
ORACLE中先ORDER BY再ROWNUMselect t.*,t.rowid,rownum from test1 t where rownum3 order by CJ张三英语

ORACLE中先ORDER BY再ROWNUM

select t.*,t.rowid,rownum from test1 t where rownum<3 order by CJ

张三      英语      75AAAHhOAALAAATSIAAC1
李四      英语      78AAAHhOAALAAATSIAAF2

热点排行