Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 1z0-071 topic 1 question 95 discussion

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

Examine the description of the EMPLOYEES table:



Which two statements will run successfully? (Choose two.)

  • A. SELECT ‘The first_name is ‘‘ || first_name || ‘‘ FROM employees;
  • B. SELECT ‘The first_name is ‘‘‘ || first_name || ‘‘‘‘ FROM employees;
  • C. SELECT ‘The first_name is ‘‘‘ || first_name || ‘‘‘ FROM employees;
  • D. SELECT ‘The first_name is ‘ || first_name || ‘‘ FROM employees;
  • E. SELECT ‘The first_name is \‘‘ || first_name || ‘\‘‘ FROM employees;
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
archit4321
3 weeks ago
Selected Answer: BD
A. SELECT 'The first_name is " || first_name || " FROM (select 'user' first_name from dual); --O/P = ORA-00923: FROM keyword not found where expected B. SELECT 'The first_name is ''' || first_name || '''' FROM (select 'user' first_name from dual); --O/P = The first_name is 'user' C. SELECT 'The first_name is ''' || first_name || ''' FROM (select 'user' first_name from dual); --O/P = ORA-00923: FROM keyword not found where expected D. SELECT 'The first_name is ' || first_name || '' FROM (select 'user' first_name from dual); --O/P = The first_name is user E. SELECT 'The first_name is \" || first_name || '\" FROM (select 'user' first_name from dual); --O/P = ORA-24450: Cannot pre-process OCI statement
upvoted 1 times
...
yaya32
4 months ago
Selected Answer: BD
BD for me
upvoted 1 times
...
lucemqy
6 months ago
Selected Answer: BD
BD is correct checked
upvoted 1 times
...
Sushmasri
9 months, 3 weeks ago
Can someone explain why B,D is correct ?
upvoted 3 times
...
jelenadinere_1
9 months, 4 weeks ago
it depends on quotation mark, since we can not copy from this question normally you have to guess where are double qoutes and where are single ones, but if it like that: SELECT 'The first_name is ' " || first_name || ' ' " FROM temp; (column name || first_name || ' ' ) SELECT 'The first_name is ' " || first_name || ' " FROM temp; (column name || first_name || ' ) SELECT 'The first_name is ' || first_name || ' ' FROM temp; ( The first_name is Jhon ) then 3 answers are right: BCD
upvoted 1 times
...
zouve
11 months ago
Selected Answer: BD
BD checked
upvoted 1 times
...
CyberP
11 months, 3 weeks ago
Why its BD ? explain the reason logically & don't tell me I tested it. In the exam there will be no tool to test anything if something changed so we need to understand the logic please.
upvoted 1 times
...
kuff
1 year ago
Selected Answer: BD
BD is the answer
upvoted 1 times
...
pmeyer
1 year ago
Selected Answer: BD
Who chose the correct answer?
upvoted 2 times
...
MooonLight
1 year ago
I tried... none works.... anybody can explain even just a bit?
upvoted 2 times
...
Poke90
1 year, 2 months ago
Selected Answer: BD
tested it
upvoted 1 times
...
Orakol
1 year, 2 months ago
*Tested in SQL* - BD are correct.
upvoted 1 times
...
jfc1
1 year, 3 months ago
Selected Answer: BD
BD is the correct answer
upvoted 2 times
...
dexdinh91
1 year, 4 months ago
Selected Answer: BD
BD are correct
upvoted 2 times
...
cadcadley
1 year, 4 months ago
BD is correct regarding to try in SQL
upvoted 2 times
...
Viviana3184
1 year, 4 months ago
BD are correct
upvoted 2 times
...
abdullah_barham
1 year, 5 months ago
Selected Answer: BD
BD are 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 ...