Oracle
1Z0-047 · Question #95
View the Exhibit and examine the structure of the PRODUCT_INFORMATION table. You want to see the product names and the date of expiration of warranty for all the products, if the product is…
The correct answer is B. SELECT product_name, category_id, SYSDATE+warranty_period AS "Warranty expire date" FROM. See the full explanation below for the reasoning.
Question
View the Exhibit and examine the structure of the PRODUCT_INFORMATION table. You want to see the product names and the date of expiration of warranty for all the products, if the product is purchased today. The products that have no warranty should be displayed at the top and the products with maximum warranty period should be displayed at the bottom. Which SQL statement would you execute to fulfill this requirement?
Options
- ASELECT product_name, category_id, SYSDATE+warranty_period AS "Warranty expire date" FROM
- BSELECT product_name, category_id, SYSDATE+warranty_period AS "Warranty expire date" FROM
- CSELECT product_name, category_id, SYSDATE+warranty_period AS "Warranty expire date" FROM
- DSELECT product_name, category_id, SYSDATE+warranty_period "Warranty expire date" FROM
How the community answered
(34 responses)- A18% (6)
- B71% (24)
- C3% (1)
- D9% (3)
Community Discussion
No community discussion yet for this question.