Here is the code I have an issue with: https://i.ibb.co/0VrvCqj/code2.jpg
It works for small databases but not the big ones. Here the code works and shows Albus when it should show Lavander. As you can see, the sequence decodes fine because what's showing here is the sequence for Lavander.
I'm already upset I couldn't figure out the sequence code on my own, and this problem is really upsetting me. Can anyone tell me what's wrong here and how I fix it cause at this point I want to learn what I can from this and move on to SQL and perhaps some tracks.
Probably will do tracks instead of wasting time on the final problem as I don't feel I deserve the cert anyway.