码迷,mamicode.com
首页 > 数据库 > 详细

sql备份

时间:2019-01-31 13:06:04      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:_for   asc   date   unix   ack   oid   format   set   备份   

MariaDB [codex_game]> select c.roleId, r.username, r.rolename, r.lv, c.chargeId, c.stone, c.isFirst, date_format(FROM_UNIXTIME(c.lastUpdateTime/1000),‘%Y-%m-%d %H:%i:%s‘) lastUpdateTime  from charge c, role r where c.roleid=r.id order by lastUpdateTime asc;

+--------------------+------------+-----------------------+------+-------------------+-------+---------+---------------------+

| roleId             | username   | rolename              | lv   | chargeId          | stone | isFirst | lastUpdateTime      |

+--------------------+------------+-----------------------+------+-------------------+-------+---------+---------------------+

| 576605887838289923 | 1000005616 | 冲破地平线            |   17 | ANDROID_300       |   600 |       1 | 2019-01-23 12:08:52 |

+--------------------+------------+-----------------------+------+-------------------+-------+---------+---------------------+

48 rows in set (0.00 sec)

sql备份

标签:_for   asc   date   unix   ack   oid   format   set   备份   

原文地址:https://www.cnblogs.com/xingchong/p/10341345.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!