oschina-過年動彈抽獎sql
來源:懂視網(wǎng)
責編:小采
時間:2020-11-09 16:12:15
oschina-過年動彈抽獎sql
oschina-過年動彈抽獎sql:老大的sql很精練。 無 SELECT DISTINCT(u.id) FROM osc_opt_logs l, osc_users u WHERE l.user=u.id AND l.obj_type=100 AND u.role 100 AND DATE(l.create_time) = '2013-2-xx' ORDER BY RAND() LI
導讀oschina-過年動彈抽獎sql:老大的sql很精練。 無 SELECT DISTINCT(u.id) FROM osc_opt_logs l, osc_users u WHERE l.user=u.id AND l.obj_type=100 AND u.role 100 AND DATE(l.create_time) = '2013-2-xx' ORDER BY RAND() LI
老大的sql很精練。 無 SELECT DISTINCT(u.id) FROM osc_opt_logs l, osc_users u WHERE l.user=u.id AND l.obj_type=100 AND u.role 100 AND DATE(l.create_time) = '2013-2-xx' ORDER BY RAND() LIMIT 2
老大的sql很精練。
<無>
$velocityCount-->
SELECT DISTINCT(u.id) FROM osc_opt_logs l, osc_users u
WHERE l.user=u.id AND l.obj_type=100 AND u.role < 100
AND DATE(l.create_time) = '2013-2-xx'
ORDER BY RAND()
LIMIT 2
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
oschina-過年動彈抽獎sql
oschina-過年動彈抽獎sql:老大的sql很精練。 無 SELECT DISTINCT(u.id) FROM osc_opt_logs l, osc_users u WHERE l.user=u.id AND l.obj_type=100 AND u.role 100 AND DATE(l.create_time) = '2013-2-xx' ORDER BY RAND() LI