Oracle 鍒嗛〉鏌ヨ 鎻掑彊涓嶅嚭鏁版嵁

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle 鍒嗛〉鏌ヨ 鎻掑彊涓嶅嚭鏁版嵁相关的知识,希望对你有一定的参考价值。

鏍囩锛?a href='http://www.mamicode.com/so/1/use' title='use'>use   鍒悕   瀵艰嚧   rac   order   param   sele   nbsp   time   

 

 

杩涜鍒嗛〉鏌ヨ鏃?nbsp;浣跨敤浜唕ownum鍏抽敭瀛楀鑷存煡璇㈡椂鏌ヨ涓嶅嚭鏁版嵁 锛屼慨鏀?nbsp;缁檙ownum瀛楁鍙栦釜鍒悕锛岃閬縪racle鍏抽敭瀛?/p>

select * from
(select  rownum,row_.* from
(select vil.*, c.audit_title, nvl(vil.update_time,鈥?001-01-01鈥? update_time2, u.user_name as user_name, prop.property_name as pname, param.description as description from hmfs_bas_village vil left join hmfs_bas_property prop on vil.property_id = prop.id left join hmfs_auth_village_audit c on c.village_id = vil.id and c.audit_state = 鈥?3024001鈥?left join hmfs_sys_param param on vil.audit_state = param.param_value left join hmfs_auth_user u on u.id = vil.updater where 1=1 and vil.audit_state = 鈥?3024001鈥?order by coalesce(vil.update_time, 鈥?001-01-01鈥? desc)
row_ )
where rownum < 20 and rownum >= 10

鎶€鏈浘鐗? src=

 

 

 

select * from
(select rownum as rownum_,row_.* from
(select vil.*, c.audit_title, nvl(vil.update_time,鈥?001-01-01鈥? update_time2, u.user_name as user_name, prop.property_name as pname, param.description as description from hmfs_bas_village vil left join hmfs_bas_property prop on vil.property_id = prop.id left join hmfs_auth_village_audit c on c.village_id = vil.id and c.audit_state = 鈥?3024001鈥?left join hmfs_sys_param param on vil.audit_state = param.param_value left join hmfs_auth_user u on u.id = vil.updater where 1=1 and vil.audit_state = 鈥?3024001鈥?order by coalesce(vil.update_time, 鈥?001-01-01鈥? desc)
row_ )
where rownum_ < 20 and rownum_ >= 10

鎶€鏈浘鐗? src=

 

以上是关于Oracle 鍒嗛〉鏌ヨ 鎻掑彊涓嶅嚭鏁版嵁的主要内容,如果未能解决你的问题,请参考以下文章

鏌ヨSAP澶氫釜鏁版嵁搴撹〃澶у皬

NMPA | 鍖荤枟鍣ㄦ鍞竴鏍囪瘑鏁版嵁搴撶殑鏌ヨ涓庝笅杞?鍚暟鎹簱蹇嵎鍏ュ彛)

JMeter 涔嬫暟鎹簱鎿嶄綔鍙婂弬鏁板寲

Sql Server杩炶〃鏌ヨ瀛楁涓簄ull

鏁版嵁鍙鍖?[娼滃叆娼滃嚭]

鏁版嵁搴撳垎鐗?Sharding)