모든 쿼리는 mysql에서 작성 서브 쿼리 1. 서브 쿼리 기본 # 전체 나라수, 전체 도시수, 전체 언어수를 1개의 row로 출력 use world; select (select count(*) from country) as total_country, (select count(*) from city) as total_city, (select count(distinct language) from countrylanguage) as total_language from dual ; DUAL 테이블을 이용하여 SELECT절에서 다양한 연산 처리를 할 수 있다. # 국토 면적이 가장 넓은 나라를 출력 # 서브 쿼리를 이용해서 한 개의 sql문으로 출력할 수 있다 select code, name, surfacear..