일반 집합 연산자 (1) Union 수학에서 말하는 흔히 합집합연산이라고 보면 된다. 공통 교집합의 중복을 없애기 위한 사전작업으로 정렬 작업을 먼저 수행한다. 그리고 합집합연산을 수행한다. cf) Union all :공통집함을 중복해서 그대로 보여줌 이때 정렬 작

city 테이블의 칼럼과 데이터타입은 위와 같다.Q: Query the average population for all cities in CITY, rounded down to the nearest integer.소수점을 모두 버리는 floor함수를 적용해서 문제를 풀

Q: Find the difference between the total number of CITY entries in the table and the number of distinct CITY entries in the table.For example, if ther

이때 문제의 조건 A,B,C는 삼각형 변의 길이를 의미한다. (A<B<C) Write a query identifying the type of each record in the TRIANGLES table using its three side lengths