0232NAME IS NULL垢版 | 大砲2017/05/01(月) 16:57:59.25ID:??? >>230 そういうこと言ってるからいつまでたってもスキルが向上しないんだよ select case when month < 4 then year - 1 else year end as fiscal_year, sum(hoge) from foo group by case when month < 4 then year - 1 else year end