SQL 날짜 처리
                                                                
                                                                
                                                                    이번에는 SQL을 통해 날짜를 처리하는 방식에 대해서 다뤄보고자 한다.  날짜 출력 (DATE_FORMAT)SQL에서는 날짜를 다루는 포맷 함수를 제공한다. select date(date) date_type,       datefrom payments 해당 데이터 포맷을 다루기 위해서는 아래 조건을 사용하면 된다.년 : Y (4자리), y(년도 끝 2자리)월 : M, m일 : d, e요일 : wselect date(date) date_type,       date_format(date(date), '%Y') "년",       date_format(date(date), '%m') "월",       date_format(date(date), '%d') "일",       date_format(date(d..