Hi,
Step 1. Modify your indexes as I did in my DB. This way, you will be sure that no duplicate records with str1, str2, str3 will be the same.
Just follow the steps in my DB. There is most likely a shorter way to do it, but this is my solution. You can play around to make it better but it...