select id, phone,time,year(time),month(time), DAY(time),TIME(time) from user where phone='xxxxxx' #分別取年、月、日、時間
select id, phone,time from user where phone='xxxxxx' #
select id, phone,time,year(time) from user where phone='xxxxxx' #分別取年
select id, phone,time,month(time) from user where phone='xxxxxx' #分別取月
select id, phone,time,DAY(time) from user where phone='xxxxxx' #分別取日
select id, phone,time,TIME(time) from user where phone='xxxxxx' #分別取時間