NutzCN Logo
问答 nutz拼接条件时有没有随机rand排序的固定写法,select * from xx order by rand()
发布于 2430天前 作者 qq_4f7a40b4 1761 次浏览 复制 上一个帖子 下一个帖子
标签:

select GROUP_CONCAT(id),teq.competence from talent_evalution_questions teq
where teq.competence in('xxx1','xxx2')
GROUP BY teq.competence
order by RAND();

1 回复

用自定义SQL或者new Static写条件

添加回复
请先登陆
回到顶部