I have a column named Install_date of type char(15) with dates written in this format: "5-Nov-17"
What's the easiest way to convert that column to a date type so that I can sort it please?
I have a column named Install_date of type char(15) with dates written in this format: "5-Nov-17"
What's the easiest way to convert that column to a date type so that I can sort it please?
select STR_TO_DATE("5-Nov-17","%d-%M-%y")
https://dbfiddle.uk/?rdbms=mysql_8.0&fiddle=cabdc038d3653e072fcb37454b769983