READ Free Dumps For Oracle- 1z0-001
Question ID 8061 | You want to display the details of all employees whose last names is Smith. But you are not sure in which case last names are stored. Which statement will list all the employees whose last name is Smith? |
Option A | Select last name, first name. FROM emp WHERE last name= 'smith'; |
Option B | Select last name, first name. FROM emp WHERE UPPER (last name)= 'smith'; |
Option C | Select last name, first name. FROM emp WHERE last name=UPPER ('smith'); |
Option D | Select last name, first name. FROM emp WHERE LOWER (last name)= 'smith'; |
Correct Answer | D |
Question ID 8062 | You need to analyze how long your orders to be shipped from the date that the order is placed. To do this you must create a report that displays the customer number, date order, date shipped and the number of months in whole numbers from the time the order is placed to the time the order is shipped. Which statement produces the required results? |
Option A | SELECT custid, orderdate, shipdate, ROUND(MONTHS_BETWEEN(shipdate,orderdate)) "Time Taken" FROM ord; |
Option B | SELECT custid, orderdate, shipdate, ROUND(DAYS_BETWEEN(shipdate,orderdate))/30. FROM ord; |
Option C | SELECT custid, orderdate, shipdate, ROUND OFF (shipdate-orderdate) "Time Taken" FROM ord; |
Option D | SELECT custid, orderdate, shipdate, MONTHS_BETWEEN (shipdate,orderdate) "Time Taken". FROM ord; |
Correct Answer | A |