mysql(3) : 數據庫隨機選取多條數據

SELECT * FROM tp_news WHERE id >= ( (SELECT MAX(id) FROM tp_news) - (SELECT MIN(id) FROM tp_news) ) * RAND() + (SELECT MIN(id) FROM tp_news) LIMIT 11 或者html SELECT sh1.* FROM mp_ae_group AS sh1
相關文章
相關標籤/搜索