Veja a exibição e examine a estrutura da tabela STORES. Tabela LOJAS NameNull?Type ---------------------- ------------- STORE_IDNUMBER NAMEVARCHAR2(100) ADDRESSVARCHAR2(200) CITYVARCHAR2(100) COUNTRYVARCHAR2(100) START_DATETE END_DATETE PROPERTY_PRICENUMBER Pretende-se apresentar o NOME da loja juntamente com o ENDEREÇO, START_DATE, PROPERTY_PRICE e o preço projetado da propriedade, que é 115% do preço da propriedade. As lojas exibidas devem ter START_DATE no intervalo de 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;