First add a column whose length is greater than all 3 together.
alter table tbl add fullname varchar(100);
Then update it using concat input of old columns.
update tbl set fullname = concat(lastname, ', ', firstname, ' ', middlename)
(It ends in the form of "Kirk, John M")
Then remove the old columns
alter table tbl drop column firstname;
alter table tbl drop column middlename;
alter table tbl drop column lastname;
source
share