猿问
SQL、MySQL、Oracle随机查询语句?
SQL、MySQL、Oracle随机查询语句?
哔哔one
浏览 557
回答 3
3回答
慕哥9229398
比如随机插4条oracleselect * from (select * from 表名 order by dbms_random.value) where rownum<=4sqlserverselect top 4 * from 表名 order by newid()mysqlselect * from 表名 order by rand() limit 4;
0
0
0
随时随地看视频
慕课网APP
相关分类
SQL Server
我要回答