Q
qrsgroup
Unregistered / Unconfirmed
GUEST, unregistred user!
请教,这样的SQL语句怎么些?<br>select top 2 * from info where sex='男' order by rnd(cid)<br>union<br>select top 3 * from info where sex='女' order by rnd(cid)<br><br>order by rnd(cid)随机查询<br>使用联合查询的时候不允许出现2个Order By ...<br><br>该如何随机抽取出2个男的,3个女的???