SELECT
substr(fullnames,1,1)||substr(fullnames,instr(fullnames,' ')+1,1) initials
FROM
names