exam questions

Exam 1z0-071 All Questions

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

Exam 1z0-071 topic 1 question 78 discussion

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

You have been tasked to create a table for a banking application.
One of the columns must meet three requirements:
1) Be stored in a format supporting date arithmetic without using conversion functions
2) Store a loan period of up to 10 years
3) Be used for calculating interest for the number of days the loan remains unpaid
Which data type should you use?

  • A. INTERVAL YEAR TO MONTH
  • B. TIMESTAMP WITH TIMEZONE
  • C. INTERVAL DAY TO SECOND
  • D. TIMESTAMP WITH LOCAL TIMEZONE
  • E. TIMESTAMP
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Thameur01
2 weeks ago
Selected Answer: C
C. The data type of each column returned by the second query must be implicitly convertible to the data type of the corresponding column returned by the first query. The data types must be implicitly convertible between corresponding columns. For example: A NUMBER column in the first query can correspond to a VARCHAR column in the second query, provided Oracle can implicitly convert the VARCHAR to a NUMBER. E. The number, but not names, of columns must be identical for all select statements in the query. All queries in a UNION, INTERSECT, or MINUS statement must return the same number of columns, but the column names do not have to match.
upvoted 1 times
...
kay000001
2 months, 1 week ago
Selected Answer: C
C is correct.
upvoted 1 times
...
Misi_Oracle
8 months, 2 weeks ago
C is correct because it fulfill all the condition. 1) store without conversion 2) store up to 99 years and 11 month 3) can be use for calculation
upvoted 1 times
...
archit4321
8 months, 3 weeks ago
Selected Answer: A
The INTERVAL DAY TO SECOND data type is used to store a period of time in terms of days, hours, minutes, and seconds. It does not support storing a loan period of up to 10 years, as it does not have a year component. To meet the requirements of storing a loan period of up to 10 years and supporting date arithmetic without using conversion functions, you should use the INTERVAL YEAR TO MONTH data type instead. This data type allows you to store a period of time in terms of years and months, which aligns with the requirement of storing a loan period.
upvoted 1 times
...
oblitius
1 year, 2 months ago
Selected Answer: C
ChatGPT came back with C (INTERVAL DAY TO SECOND): -This data type stores a period of time in terms of days, hours, minutes, and seconds. -It supports date arithmetic and can precisely represent the number of days a loan remains unpaid, making it suitable for calculating daily interest. -This seems like the most appropriate choice for the given requirements. Based on the analysis: The most appropriate choice is C. INTERVAL DAY TO SECOND because it fulfills all the requirements. Options A, B, D, and E are not suitable because they either don't consider the number of days specifically (A) or represent specific points in time rather than durations (B, D, E). -------- Please correct me if I'm wrong.
upvoted 1 times
...
ESZ
1 year, 2 months ago
ChatGPT comes back with INTERVAL YEAR TO MONTH
upvoted 1 times
kay000001
3 months ago
Thank you for your thorough research.
upvoted 1 times
...
...
obsy
1 year, 6 months ago
Selected Answer: B
B is correct
upvoted 1 times
Izzicertificacion
1 year, 5 months ago
¿porque es correcto?
upvoted 1 times
...
...
dilshod
1 year, 7 months ago
C is correct
upvoted 1 times
TheOracleWasTaken
1 year, 5 months ago
but why?
upvoted 1 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