sql转化为int类型

cast(`time_str` as SIGNED INTEGER)
原文地址:https://www.cnblogs.com/xiaobiaomei/p/7883890.html