1、查找t_result表中第二行的数据:(基础)

select * from (select t.*,rownum as rnum from t_result t where rownum<=2) where rnum=2;

2、删除t_result表中第二行数据(fczdz是t_result表中的一个字段):

delete from t_result where fczdz=(select fczdz from (select t.*,rownum as rnum from t_result t where rownum<=2) where rnum=2);

3、修改表中第?行的数据(fczdz是t_result表中的一个字段):

update t_result set swglm=xxx,fczdz=xxx,numb=xxx

where fczdz=(select fczdz from (select t.*,rownum as rnum from t_result t where rownum<=?) where rnum=?);

相关文章:

  • 2021-07-01
  • 2021-07-03
  • 2022-12-23
  • 2021-04-25
  • 2021-05-20
  • 2022-01-27
  • 2021-08-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案