Vea el ejemplo y examine la estructura de la tabla STORES. Tabla TIENDAS NameNull?Type ---------------------- ------------- STORE_IDNUMBER NAMEVARCHAR2(100) ADDRESSVARCHAR2(200) CITYVARCHAR2(100) COUNTRYVARCHAR2(100) START_DATEDATE END_DATE PROPERTY_PRICENUMBER Usted desea mostrar el NOMBRE de la tienda junto con la DIRECCIÓN, START_DATE, PROPERTY_PRICE, y el precio proyectado de la propiedad, que es 115% del precio de la propiedad. Las tiendas mostradas deben tener una FECHA_INICIO comprendida entre 36 meses a partir de
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;