-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and liansai='nba' ORDER BY newstime DESC LIMIT 50)
' at line 1
(SELECT *, 1 as isa FROM ***_ecms_news and liansai='nba' ORDER BY newstime DESC LIMIT 50) UNION ALL (SELECT *, 0 as isa FROM ***_ecms_news and liansai<>'nba' ORDER BY newstime DESC LIMIT 20) ORDER BY isa DESC, DATE(FROM_UNIXTIME(newstime)) DESC, RAND() LIMIT 20;