exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 101 discussion

Actual exam question from Oracle's 1z0-071
Question #: 101
Topic #: 1
[All 1z0-071 Questions]

Examine this query:

SELECT INTERVAL ‘100’ MONTH DURATION FROM DUAL;

What will be the output?

  • A. an error
  • B. DURATION -
    ----------
    +100
  • C. DURATION -
    ----------
    +08
  • D. DURATION -
    ----------
    +08-04
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CyberP
Highly Voted 7 months, 2 weeks ago
Selected Answer: D
Explanation: The given query is using an interval literal with a value of '100' and a unit of 'MONTH'. When using the interval literal syntax, the specified value represents the number of intervals of the given unit. In this case, the query is requesting an interval of 100 months. Since there are 12 months in a year, the interval '100' months is equivalent to 8 years and 4 months. The output format for intervals in Oracle is '+YY-MM', where YY represents the number of years and MM represents the number of months. Therefore, the output will be '+08-04', indicating an interval of 8 years and 4 months. The correct answer is D. +08-04.
upvoted 11 times
...
lucemqy
Most Recent 1 month, 3 weeks ago
Selected Answer: D
D is the correct answer
upvoted 1 times
...
metallers
2 months, 2 weeks ago
Selected Answer: D
D respuesta revisada y correcta
upvoted 1 times
...
zouve
6 months, 2 weeks ago
Selected Answer: D
try SELECT INTERVAL '100' MONTH as DURATION FROM DUAL;
upvoted 1 times
...
kuff
8 months, 1 week ago
Selected Answer: D
D is the answer
upvoted 1 times
...
pmeyer
8 months, 2 weeks ago
Selected Answer: A
In my test, it returned an error, even though I adjusted the quotes.
upvoted 1 times
pmeyer
8 months ago
I fond my error, the correct is "D"
upvoted 2 times
...
...
Skye21
10 months, 1 week ago
it's gets an error when I try it on https://livesql.oracle.com/apex
upvoted 2 times
jr_C
10 months ago
Don't copy because of bad quote char, write it it's work
upvoted 1 times
...
...
dexdinh91
1 year ago
Selected Answer: D
beware of alias
upvoted 1 times
...
cadcadley
1 year ago
D is correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago