예제를 보고 STORES 테이블의 구조를 살펴봅니다. STORES 테이블 NameNull?Type ---------------------- ------------- STORE_IDNUMBER NAMEVARCHAR2(100) ADDRESSVARCHAR2(200) CITYVARCHAR2(100) COUNTRYVARCHAR2(100) START_DATED END_DATEDATE PROPERTY_PRICENUMBER 상점의 이름과 함께 주소, START_DATE, PROPERTY_PRICE 및 예상 부동산 가격(부동산 가격의 115%)을 표시하고자 합니다. 표시되는 스토어는 다음 날짜부터 36개월 범위의 START_DATE를 가져야 합니다
A. SELECT name, concat (address| | ','| |city| |', ', country) AS full_address,start_date,property_price, property_price*115/100FROM storesWHERE MONTHS_BETWEEN (start_date, '01-JAN-2000')<=36;
B. SELECT name, concat (address| | ','| |city| |', ', country) AS full_address,start_date,property_price, property_price*115/100FROM storesWHERETO_NUMBER(start_date-TO_DATE('01-JAN-2000','DD-MON-RRRR')) <=36;
C. SELECT name, address||','||city||','||country AS full_address,start_date,property_price, property_price*115/100FROM storesWHERE MONTHS_BETWEEN (start_date, TO_DATE('01-JAN-2000','DD-MON-RRRR')) <=36;
D. SELECT name, concat (address||','| |city| |', ', country) AS full_address,start_date,property_price, property_price*115/100FROM storesWHERE MONTHS_BETWEEN (start_date, TO_DATE('01-JAN-2000','DD-MON-RRRR')) <=36;