I am trying to get rows from the table Mails if the column [To] has the mail abc@mail.
The simple solution would be Select * from Mails where [To] = 'abc@mail'
But the thing is [To] column has data like 123@mail;abc@mail;aabc@mail etc separated by semicolons where To is multiple emails sent
I know I could do something like Select * from Mails where [To] like '