三種數據庫隨機查詢語句寫法

1. Oracle,隨機查詢查詢語句-20條dom select * fromspa (   select  *  from 表名  order by dbms_random.valueit )  where rownum <= 20;select 2.MS SQL Server,隨機查詢語句-20條im select top 20  * from  表名order by newid()查詢 3.
相關文章
相關標籤/搜索