SELECT *,DATE_FORMAT(FROM_UNIXTIME(createtime), "%Y/%m/%d %H:%i:%s") AS dateFormat FROM `InApp_AdLog` where imei != '' ORDER BY id desc limit 10;