So that a day number can be directly mapped to year, month, and day, and the calendar date can be mapped back with a year-month LUT.
select xxxxx as a , a * 2 as b
So that a day number can be directly mapped to year, month, and day, and the calendar date can be mapped back with a year-month LUT.