I have a table with
col1 col2 both are datetime columns
I made a derived table to display
col1, col2, col2-col1 as difference
what I want to do now is add all the row values of difference together. The sum function butchers it and date_add does not seem to be for this.
Thanks,
col1 col2 both are datetime columns
I made a derived table to display
col1, col2, col2-col1 as difference
what I want to do now is add all the row values of difference together. The sum function butchers it and date_add does not seem to be for this.
Thanks,