I am trying to find the IDs that have duplicate emails due to case sensitivity.
For below table
ID Email
101 [email protected]
101 [email protected]
102 [email protected]
102 [email protected]
103 [email protected]
103 [email protected]
The output should give below
ID Email
101 [email protected]
101 [email protected]
Only ID 101 and its email addresses should be displayed because that's the only ID that has duplicate emails due to case sensitivity.
Thank you in advance!