I have a table and having two columns account and rt_exclude.I need to select only the word "exclusion" from the rt_exclude column with the prefix.The rt_exclude column contains many rows with different length so i dont want to use case statement.
123 , 278-C Share Exclusion; 3405-B Share Exclusion; 5784-Reit Exclusion
333 , 278-C Share Exclusion; 3405-B Share Exclusion; 5784-Reit Exclusion; 6532-Exclude GIREX 39822J102
444, 3274-TSSAX Exclusion; 3370-BFAFX Exclusion; 3405-B Share Exclusion; 5784-Reit Exclusion
Required out put should be like this with the account column
123, Share Exclusion
123, Share Exclusion
123, Reit Exclusion
333, Share Exclusion
333, Share Exclusion
123, Reit Exclusion
444, TSSAX Exclusion
444, BFAFX Exclusion
444, Reit Exclusion