SELECT d.* FROM 202000095_article d WHERE d.tb=3 and d.lang = 'tw' and (d.inuse = '1' or (d.inuse ='2' and CONCAT(d.sdate, ' ', IFNULL(d.stime, '00:00:00')) <= '2024-07-27 21:06:13' and CONCAT(d.edate, ' ', IFNULL(d.etime, '23:59:59')) >='2024-07-27 21:06:13')) order by d.seq desc
![](http://www.hongbin888.com/archive/image/model/images/rnd0766931001705654777.png)
![](http://www.hongbin888.com/archive/image/model/images/rnd0910613001705650965.png)
![](http://www.hongbin888.com/archive/image/model/images/rnd0428117001705650967.png)
![](http://www.hongbin888.com/archive/image/model/images/rnd0793963001705650968.png)
![](http://www.hongbin888.com/archive/image/model/images/rnd0178969001705650970.png)
![](http://www.hongbin888.com/archive/image/model/images/rnd0642161001705650971.png)