Jeg antager, at two.id er et autoinkrementerende heltal, så jeg overlader det til måltabellen at tildele disse værdier.
select id as fk_id, 'first_name' as attribute, first_name as value
from one
union all
select id as fk_id, 'last_name', last_name
from one
order by fk_id, attribute