Oracle 取最近 10 条数据
Oracle 大约 111 字SQL
select * from(
select * from test_table order by id desc
) where rownum < 10;
注意
不能直接在一句语句中添加rownum
的过滤。
阅读 1063 · 发布于 2020-12-03
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称:
随便看看
换一批
-
Elasticsearch GET/PUT/DELETE/HEAD 指令阅读 2053
-
移动端 input 输入框使软键盘回车键变为搜索按钮阅读 4510
-
Prometheus+Grafana+rabbitmq_prometheus 监控 RabbitMQ阅读 1763
-
走进 Spring Boot 第二步之 SpringApplicaiton 构造函数阅读 3952
-
MongoDB 批量更新和删除字段阅读 3467
-
Go 字符串与字节数组互相转换阅读 4154
-
minikube 导入本地 Docker 镜像阅读 940
-
Redis删除数据后内存不释放解决方法阅读 3654
-
Android ContentLoadingProgressBar 进度条控件阅读 8219
-
Chrome 打包插件 - Windows 平台阅读 1718