筆記 - MySQL隨機取一條數據
筆記MySQL隨機取一條數據的代碼,重復率高,但是代碼簡單("select*fromredurl_jumpwhereid>=(selectfloor(rand()*(selectmax(id)fromredurl_jump)))orderbyidlimit1;");
關于 學習 的文章共有1條
閱讀(7540)評論(0)
筆記MySQL隨機取一條數據的代碼,重復率高,但是代碼簡單("select*fromredurl_jumpwhereid>=(selectfloor(rand()*(selectmax(id)fromredurl_jump)))orderbyidlimit1;");