I've been searching for hours but haven't been able to find an answer. I'm hoping somebody might know how to split a date into 3 columns. I have a mysql table that looks like the following
Id Email First_Name Last_Name DOB Gender
1 yo@1.com Jack Smith 1969-03-09 M
2 yo1@1.com Jill Smith 1982-11-29 F
I want the final format to be as follows
Id Email First_Name Last_Name DOB DOB_Yr DOB_Mo DOB_Day Gender
1 yo@1.com Jack Smith 1969-03-09 1969 03 09 M
2 yo1@1.com Jill Smith 1982-11-29 1982 11 29 F
I have access to HeidiSql and MySQL Workbench. Does anybody how to do this? Thanks.