I have a table more or less looking like
Name | Lastname | ID | Date Is there a way to prevent the database from running the insert function if a person which such Name, Lastname and ID already exists without running additional queries searching for him?