I have one database table dealing with users login totals and another table dealing with individual login sessions. Should I keep these tables separate or should I go ahead and merge them?
users_logins
users_id
successful_logins(total)
last_online
users_logins_sessions
users_id
session_id
ip_address
user_agent
last_activity(time-stamp)
You could lose user_logins, as I assume last_online and last_activity contain same value.
You would however have to query the user_logins_sessions table to get the total for successful logins for a given user.