日にちを取り出す select dayofmonth(work_in) from kintai_work_in;