笔记 - MySQL随机取一条数据
笔记MySQL随机取一条数据的代码,重复率高,但是代码简单("select*fromredurl_jumpwhereid>=(selectfloor(rand()*(selectmax(id)fromredurl_jump)))orderbyidlimit1;");
关于 学习 的文章共有1条
阅读(7253)评论(0)
笔记MySQL随机取一条数据的代码,重复率高,但是代码简单("select*fromredurl_jumpwhereid>=(selectfloor(rand()*(selectmax(id)fromredurl_jump)))orderbyidlimit1;");