Mysql经常使用的一些方法

一、时间戳转日期 select *,FROM_UNIXTIME(create_time,'%Y-%m-%d %H:%i%s') as date from user where FROM_UNIXTIME(create_time,'%Y-%m-%d %H:%i%s') > curdate() group by date order by date desc; 上面的sql语句,把create_tim
相关文章
相关标签/搜索