select top 20 * from tb order by newid() 这样取就不会有重复的
select distinct top 20 * from table1 order by newid();
SELECT DISTINCT TOP 20 NEWID(), * FROM Clothes c (NOLOCK) ORDER BY NEWID();
6,128
社区成员
4,451
社区内容
加载中
试试用AI创作助手写篇文章吧