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
相關文章
相關標籤/搜索