摘要:
作者:罗代均 ldj_work#126.com,转载请保持完整性 1. Oracle,随机查询20条 select * from ( select * from 表名 order by dbms_random.value ) where rownum <= 20; 2.MS SQL Server,随机查询20条 select top 20 * from 表名order... 阅读全文
摘要:
作者:罗代均 ldj_work#126.com,转载请保持完整性 1. Oracle,随机查询20条 select * from ( select * from 表名 order by dbms_random.value ) where rownum <= 20; 2.MS SQL Server,随机查询20条 select top 20 * from 表名order... 阅读全文
|