Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Convert Name of day to number -e.g- Monday to 1

I don't have timpestamp table. I just need to convert using name string,

SELECT day_of_week;

Ouput should look like

day_of_week sum Friday 5 Monday 1 Saturday 6 Sunday 7 Thursday 4 Tuesday 2 Wednesday 3

Comments