摘要: 1.查询行号 SELECT @rowno:=@rowno+1 as rowno,t.* from xxx t,(select @rowno:=0) r; 参考:https://blog.csdn.net/muzizhuben/article/details/49449853 2.随机取数据 SELE 阅读全文
posted @ 2018-08-06 16:58 cdfive 阅读(107) 评论(0) 推荐(0)