数据库 | 取一条SQL |
Postgresql | select * from user limit 1 |
Mysql | select * from user limit 1 |
SQlServer | select top 1 * from user |
Oracle | select * from user where rownum<=1 |
DM | 以上都行 |
Kingbase | select * from user limit 1 |
Oscar | select * from user limit 1 |
SQL查询结果只取一条
于 2023-03-29 10:02:16 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)