I will try to explain this as best as possible and I do apologize in advance if this does not make sense. I have two columns (First_Name and Last_Name) from one table (Table.a) where a lot of the data are incorrect. I am trying to update those columns with the correct data from another table (Table.b). The issue is that the column for table.b contain both the first name and last name data in one column. For example, table.a column and value is First_Name = Richard and Last_Name = Johnsondev while table.b column and value is Full_Name = Johnsondev, Richard. Is there a way to update table.a two columns using portions of table.b data? The only consistent is that table.b last name ends with 'dev,' like "Johnsondev, Richard"
EDIT:
I am using Microsoft SQL Server. Hopefully the below information is helpful!
Current Table Data
TABLE.B
FULL_NAME
Johnsondev, Richard
Smithdev, Kevin
TABLE.A
FIRST_NAME / LAST_NAME
Richard / Jacksondev
Kevin / Standev
Expected Output using a query
TABLE.B stays the same
TABLE.A
FIRST_NAME / LAST_NAME
Richard / Johnsondev
Kevin / Smithdev