We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb682b3 commit 358d339Copy full SHA for 358d339
1747-leetflex-banned-accounts.sql
@@ -0,0 +1,5 @@
1
+# Write your MySQL query statement below
2
+SELECT DISTINCT L1.account_id FROM LogInfo L1 INNER JOIN LogInfo L2
3
+ON L1.account_id = L2.account_id
4
+AND L1.ip_address <> L2.ip_address
5
+AND (L1.login BETWEEN L2.login AND L2.logout OR L1.logout BETWEEN L2.login AND L2.logout);
0 commit comments