SELECT `c`.*, a`.name as c_name, `t`.`name` AS `type_name`, FROM_UNIXTIME(`c`.`date`, '%Y-%m-%d') AS `adddate`, `t`.`id` AS `type_id` FROM `bin_content` AS `c`, `bin_c_news` AS `a`, `bin_type` AS `t` WHERE `c`.`language`='zh-cn' AND `c`.`id`=`a`.`id` AND `c`.`status`='1' AND `c`.`typeid`=`t`.`id` AND `c`.`typeid` IN (39) ORDER BY `c`.`listorder` DESC, `c`.`date` DESC
MySQL Query : SELECT `c`.*, a`.name as c_name, `t`.`name` AS `type_name`, FROM_UNIXTIME(`c`.`date`, '%Y-%m-%d') AS `adddate`, `t`.`id` AS `type_id` FROM `bin_content` AS `c`, `bin_c_news` AS `a`, `bin_type` AS `t` WHERE `c`.`language`='zh-cn' AND `c`.`id`=`a`.`id` AND `c`.`status`='1' AND `c`.`typeid`=`t`.`id` AND `c`.`typeid` IN (39) ORDER BY `c`.`listorder` DESC, `c`.`date` DESC
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 't`.`name` AS `type_name`, FROM_UNIXTIME(`c`.`date`, '%Y-%m-%d') AS `adddate`, `t' at line 1
MySQL Errno : 1064
Message : MySQL Query Error