千家信息网

oracle中获取行号

发表于:2025-02-04 作者:千家信息网编辑
千家信息网最后更新 2025年02月04日,使用关键字rownum;如:select rownum,s.* from winf_sv_ex_hybs_sxclgc swhere s.sxbm='441600782965164024000' or
千家信息网最后更新 2025年02月04日oracle中获取行号

使用关键字rownum;


如:
select rownum,s.* from winf_sv_ex_hybs_sxclgc s
where s.sxbm='441600782965164024000' order by s.xh;


即可;

0