All pastes #765993 Raw Edit

Mine

public text v1 · immutable
·published 2007-11-08 15:15 UTC
rendered paste body
select job_number,
case left(order_date, locate(' ', order_date) - 1)
	when 'JAN' then 1
	when 'FEB' then 2
end case 
from order_log