Oops, good morning.
I have a sql database, in this database there is a table for People, it is a second table for registering credentials, in a third table and made the association of the credential with the person, ie there is a Table called CRED_PESSOAS, where through person's code is the number of the credential is made the association of the credential to person.
I have a client who requested to feed this credential information through scripts, I already fed the two tables (PEOPLE AND CREDENTIALS) my question is how to create a condition, where I take for example the credential X for person Y, credential and for person x and so on.
Thank you in advance. Gustavo Braga