0
点赞
收藏
分享

微信扫一扫

mysql查询java时间戳类型转换成日期类型的内置函数


select f.`id` as '文件ID',f.`file_path` as '文件名',from_unixtime(f.`lastModifyTime`/1000) as '上传时间',f.`download_count` as '下载次数' from dfs_file f where f.`lastModifyTime`>1309146844777 and f.`download_count`>0 order by f.`download_count` desc

 

举报

相关推荐

0 条评论