SQL - 전체 페이지 수 구하기 Posted Feb 15, 2026 By 1 min read구문 1 2 3 SELECT (COUNT(*) + size - 1) / size AS total_pages FROM table_name Language, SQL sql paging size page mysql This post is licensed under CC BY 4.0 by the author. Share