數據庫中隨機查詢 10條數據

oracle:select * from (select * from test_table order by dbms_random.random()) where rownum <=10oracle MySQL:   SELECT * FROM T_USER  ORDER BY  RAND() LIMIT 10 dom SQL Server:  SELECT TOP 10 * FROM T_U
相關文章
相關標籤/搜索