select distinct substr(campo, 1, 3) from tabella