Is there anyway to join 3 columns to create a new column with the date value
I have a column name
Month
Day
Year
and I need to join them and show the date result of the values form those columns
Is there anyway to join 3 columns to create a new column with the date value
I have a column name
Month
Day
Year
and I need to join them and show the date result of the values form those columns
Here is a solution using concatenation and casting:
SELECT CAST(CONCAT(dia, '-', mes, '-', ano) AS Date)
FROM s