首页 > 数据库技术 > 详细

sql备份

时间:2019-01-31 12:12:32      阅读:202      评论:0      收藏:0      [点我收藏+]

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备份

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!