当前日期时间转换存在问题“xl_date”的日期为 MM/DD/YYYY
示例查询:-
SELECT orders.*,
customer.id AS userid,
customer.login,
convert(datetime, orders.xl_date, 101) as ddates
FROM orders
LEFT JOIN customer
ON orders.userid = customers.id
WHERE 1
ORDER BY ddates DESC LIMIT 0, 30