Or in SQL, specify the UNIQUE keyword in the CREATE INDEX command, e.g. in the Console:

create unique index sqlfullname on employees (trim(lastname)+" "+firstname)