1 頁 (共 1 頁)

RAND 隨機讀取

發表於 : 2006-07-25 13:47:41
yehlu
select e.*,a.author,e1.php_name from e_news_articale e,author a,e_news_sub e1 where e.e_news_sub_id = e1.e_news_sub_id and e.author_id = a.author_id and e.homepage = 'Y' and state = 'Y' ORDER BY RAND() limit 0,1