SELECT * FROM (SELECT * FROM t_sys_area t WHERE t.area_level='2' ORDER BY dbms_random.random)
WHERE ROWNUM<=10
ORDER BY area_id;
oracle取随机数
原创mb6434c781b2176 ©著作权
©著作权归作者所有:来自51CTO博客作者mb6434c781b2176的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:什么是同比与环比,如何计算?
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
javascript 取随机数 js如何获取随机数
Math.round(Math.random()*1000+1) ;//取得1-1000的随即数
javascript 取随机数 Math