데이터를 조회했는데 값이 없을 때:where '컬럼명 is not null': null값 제외해서 조회하기coalesce(age, 대체값) : null 값을 다른 값으로 대체하기(null이 아닌데 대체할 경우엔 if 문 사용) pivot table: 데이터를 표 형식으로 배열해서 보여줌예시:select restaurant_name, max(if(hh='15', cnt_order, 0)) "15", max(if(hh='16', cnt_order, 0)) "16", max(if(hh='17', cnt_order, 0)) "17", max(if(hh='18', cnt_order, 0)) "18", max(if(hh='19', cnt_order, 0)) "..