LogInfo
table with itself to create a new table that contains all possible pairs of login sessions.account_id
is the same but the ip_address
is different, indicating potential concurrent logins from different locations.account_id
s, as these represent the accounts that violated the login policy and should be banned.account_id
s to be banned.erDiagram LogInfo { int account_id int ip_address datetime login datetime logout }