Hello good afternoon everyone, along with hello I wanted to see if you can guide me in the following: have a table accounts with an id Autoincremental account, a field idRegistro and a user and password, this table will be to create user accounts.
The idRegistro field is primary key in two different tables (official and professional) and here is where the problem comes to me: when I try to insert an account, indifferent if it is an official or professional, I throw the error:
the tests are done with idRegistro that are in the bd, so it is not a matter of wrong data, I think something logical is wrong, but I do not realize what can be the blunder.
Greetings to all, thanks in advance