<a onclick="if ( confirm('삭제할까요?') == false ) return false;" href="./doDelete.php?id=<?=$article['id']?>">삭제</a></td>
SELECT cateId, COUNT(*) AS board_count
FROM board WHERE cateId = 'IT';
UNION
SELECT cateId, COUNT(*) AS board_count
FROM board
WHERE cateId = '축구';
UNION 붙일수잇다 -> UNION으로 각 게시판 별 글 갯수 출력 가능
SELECT boardId, COUNT(*)
FROM article
GROUP BY boardId;
* 중요 위에하고 결과는 똑같
group by ~~ -> 여기여기 붙어라 ?!