Help sql

People need to know why it’s duplicating the accounts, can anyone explain it to me?

Print:

Script when registration is: js-register