QUARTER(날짜)SELECT QUARTER(‘2016-01-16') SELECT QUARTER(‘2016-01-16 00:00:00')로그인 후 복사-> 1 (表示返回date的是当年的第几个季度,返回1,2,3,4)로그인 후 복사