Home 程式語言 PHP 如何依照特定條件隨機取得某...程式語言PHPSQL語法[SQL語法]如何依照特定條件隨機取得某一列?By 傑克老師 -2690 在使用像每日一佳句…的功能時,若想依照特定條件隨機取得某一列?簡單的使用sql語法就可以達到囉!SELECT column FROM table where x <>”” ORDER BY RAND() LIMIT 1-傑克老師網路創業顧問站內所有文章歡迎轉貼,但請註明出處及網址- 回覆留言 取消回覆Please enter your comment! Please enter your name here You have entered an incorrect email address!Please enter your email address here Save my name, email, and website in this browser for the next time I comment. Notify me of follow-up comments by email. Notify me of new posts by email. Δ