SELECT date_format(idate,'%Y-%m-%d') AS idate FROM 테이블명


idate라는 컬럼의 데이터가 000-00-00 포맷이 아니라면 해당 형태로 변환하여 SELECT

+ Recent posts