阅读背景:

用于从日志表计算访问持续时间的SQL查询

来源:互联网 

I have a MySQL table LOGIN_LOG with fields ID, PLAYER, TIMESTAMP and ACTION. ACTION can be either 'login' or 'logout'. Only around 20% of the logins have an accompanying logout row. For those that do, I want to calculate the average duration.I have a MySQL table LOGIN_LOG with fields ID,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: