Возможно, это
MariaDB [sandbox]> select title,firstname,middlename,lastname from awperson limit 10;
+-------+-----------+------------+------------+
| title | firstname | middlename | lastname |
+-------+-----------+------------+------------+
| | Ken | J | Sánchez |
| | Terri | Lee | Duffy |
| | Roberto | | Tamburello |
| | Rob | | Walters |
| Ms. | Gail | A | Erickson |
| Mr. | Jossef | H | Goldberg |
| | Dylan | A | Miller |
| | Diane | L | Margheim |
| | Gigi | N | Matthew |
| | Michael | | Raheem |
+-------+-----------+------------+------------+
10 rows in set (0.00 sec)
MariaDB [sandbox]>
MariaDB [sandbox]> drop table if exists t;
Query OK, 0 rows affected (0.19 sec)
MariaDB [sandbox]> create table t (fullname varchar(100));
Query OK, 0 rows affected (0.42 sec)
MariaDB [sandbox]> insert into t(fullname)
-> select trim(concat(ifnull(title,''),' ',ifnull(firstname,''),' ',ifnull(middlename,''),' ',ifnull(lastname,'')))
-> from awperson
-> limit 10;
Query OK, 10 rows affected (0.17 sec)
Records: 10 Duplicates: 0 Warnings: 0
MariaDB [sandbox]>
MariaDB [sandbox]> select * from t;
+-----------------------+
| fullname |
+-----------------------+
| Ken J Sánchez |
| Terri Lee Duffy |
| Roberto Tamburello |
| Rob Walters |
| Ms. Gail A Erickson |
| Mr. Jossef H Goldberg |
| Dylan A Miller |
| Diane L Margheim |
| Gigi N Matthew |
| Michael Raheem |
+-----------------------+
10 rows in set (0.00 sec)