Join two tables to get the number of total access for user in MySql

Thank you so much for help!