exam questions

Exam 1z0-082 All Questions

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

Exam 1z0-082 topic 1 question 22 discussion

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

Which three statements are true about single-row functions? (Choose three.)

  • A. They can be used only in the WHERE clause of a SELECT statement
  • B. The argument can be a column name, variable, literal or an expression
  • C. The data type returned can be different from the data type of the argument
  • D. They can be nested to any level
  • E. They can accept only one argument
  • F. They return a single result row per table
Show Suggested Answer Hide Answer
Suggested Answer: BCD 🗳️

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
avanand
Highly Voted 4 years, 1 month ago
Correct choice is B C D. single row function can be nested to any level.
upvoted 14 times
danito
4 years, 1 month ago
D is not correct, more than three nested functions return ora0935
upvoted 2 times
antonica
3 months, 3 weeks ago
Hi, it is posible . This pdf http://moko.lecturer.pens.ac.id/file/Basis%20Data%201/Les03%20-%20Using%20Single-Row%20Functions%20to%20Customize%20Output.pdf
upvoted 1 times
...
elvegaa
3 years, 8 months ago
I had no such error in 11.2 select DECODE(COALESCE(NVL(ROUND(TRUNC(5)),4),3),2)1) from dual;
upvoted 2 times
saidov1981
3 years, 3 months ago
statement correction: select decode(coalesce(nvl(round(trunc(5)),4),3),5,5,1) from dual; -- or select decode(coalesce(nvl(round(trunc(5)),4),3),2,1) from dual;
upvoted 1 times
...
...
...
...
Oracle2020
Most Recent 3 months, 2 weeks ago
I agree BCD
upvoted 1 times
...
nautil2
9 months, 4 weeks ago
Selected Answer: BCD
A - FALSE; can be used after SELECT, in WHERE clause, in START WITH clause, in CONNECT BY clause and in HAVING clause B - TRUE C - TRUE; typically conversion functions, e.g. TO_CHAR, TO_DATE D - TRUE E - FALSE; they can accept more arguments, e.g. TO_DATE('2023-09-19 16:15','YYYY-MM-DD HH24:MI') F - FALSE; group functions return a single result per group, while single-row functions returns a result for each input value
upvoted 2 times
...
emburria
2 years, 5 months ago
Selected Answer: BCD
B, C, D for sure
upvoted 1 times
...
ryuah
2 years, 6 months ago
B,C,D is correct
upvoted 1 times
...
Guhborges
2 years, 9 months ago
BCDE is right for me. E- We can use upper for only one and we can use CONCAT for more than two, isn't that correct?
upvoted 1 times
...
Guhborges
2 years, 9 months ago
Why not E? They can only accept one argument, they can also accept more. Is different when we use the word MUST.... I'm not a native English speaker...
upvoted 1 times
...
dbaclaudio
3 years, 6 months ago
B,C,D A - Incorrect -> Documentation: "can appear in select lists, WHERE clauses, START WITH and CONNECT BY clauses, and HAVING clauses." B - Correct -> EXAMPLE: select lower(&data), lower(DUMMY), lower('TABLE'),LOWER(TO_DATE('12-JAN-08','DD-MONTH-RR')) from dual; RESULT: 12-jan-21 x table 12-jan-08 C - Correct -> Like in length or months_between D - Correct -> there's no limit in documentation. EXAMPLE: select instr(substr(decode(mod(6,4),4,'abcabcabc',1,'bcabcabca','cabcabcab'),4),'abc') from dual; RESULT: 2 E - Incorrect -> Functions like substr, accepts more than one parameter F - Incorrect -> Here's a catch, documentation: "Single-row functions return a single result row for every row of a queried table or view" NOT "...return a single result row per table"
upvoted 4 times
thuto
1 year, 10 months ago
Thank you for Clarifying F...
upvoted 2 times
...
valiantvimal
2 months, 2 weeks ago
Thanks for showcasing the difference with respect to F..
upvoted 1 times
...
...
elvegaa
3 years, 8 months ago
B C D & E seems right to me :\ I guess.. D is the most close to wrong, since i'm sure there's some kind of nesting limit, but this limit is not specified in oracle documentation.
upvoted 2 times
SimoneF
3 years, 7 months ago
There is no such limit for single-row functions, and E is certainly false: for instance, CONCAT is a single-row function and it accepts two arguments.
upvoted 2 times
...
...
Ekos
3 years, 8 months ago
C, D, and E
upvoted 1 times
Ekos
3 years, 7 months ago
Sorry, B,C,D is the correct one
upvoted 2 times
...
...
dkmraju
3 years, 9 months ago
Correct one B, C, F
upvoted 2 times
...
you1234
4 years ago
B & C & D is correct answer
upvoted 4 times
ama
4 years ago
yes, D is also correct … see Question 30 > https://www.tutorialspoint.com/sql_certificate/using_single_row_functions_questions.htm
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