Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

8/24/23, 8:01 PM 1z0-071 Exam – Free Actual Q&As, Page 5 | ExamTopics

- Expert Verified, Online, Free.

 Custom View Settings

Question #21 Topic 1

Which two are true about unused columns? (Choose two.)

A. A query can return data from unused columns, but no DML is possible on those columns.

B. Unused columns retain their data until they are dropped.

C. Once a column has been set to unused, a new column with the same name can be added to the table.

D. The DESCRIBE command displays unused columns.

E. A primary key column cannot be set to unused.

F. A foreign key column cannot be set to unused.

Correct Answer: BC
Reference:
https://decipherinfosys.wordpress.com/2007/11/15/back-to-the-basics-dropping-unused-columns-in-oracle/

Community vote distribution


BC (100%)

Question #22 Topic 1

Which two are true about the precedence of operators and conditions? (Choose two.)

A. || has a higher order of precedence than + (addition).

B. + (addition) has a higher order of precedence than * (multiplication).

C. NOT has a higher order of precedence than AND and OR in a condition.

D. AND and OR have the same order of precedence in a condition.

E. Operators are evaluated before conditions.

Correct Answer: CE

Community vote distribution


CE (100%)

https://www.examtopics.com/exams/oracle/1z0-071/view/5/ 1/4
8/24/23, 8:01 PM 1z0-071 Exam – Free Actual Q&As, Page 5 | ExamTopics

Question #23 Topic 1

In your session, the NLS_DATE_FORMAT is DD-MM-YYYY.


There are 86400 seconds in a day.
Examine this result:

DATE -
-----------
02-JAN-2020
Which statement returns this?

A. SELECT TO_CHAR(TO_DATE('29-10-2019') + INTERVAL '2' MONTH + INTERVAL '4' DAY - INTERVAL '120' SECOND, 'DD-MON-YYYY') AS "date"
FROM DUAL;

B. SELECT TO_CHAR(TO_DATE('29-10-2019') + INTERVAL '3' MONTH + INTERVAL '7' DAY - INTERVAL '360' SECOND, 'DD-MON-YYYY') AS "date"
FROM DUAL;

C. SELECT TO_CHAR(TO_DATE('29-10-2019') + INTERVAL '2' MONTH + INTERVAL '5' DAY - INTERVAL '120' SECOND, 'DD-MON-YYYY') AS "date"
FROM DUAL;

D. SELECT TO_CHAR(TO_DATE('29-10-2019') + INTERVAL '2' MONTH + INTERVAL '5' DAY - INTERVAL '86410' SECOND, 'DD-MON- YYYY') AS
"date" FROM DUAL;

E. SELECT TO_CHAR(TO_DATE('29-10-2019') + INTERVAL '2' MONTH + INTERVAL '6' DAY - INTERVAL '120' SECOND, 'DD-MON-YYYY') AS "date"
FROM DUAL;

Correct Answer: C

Community vote distribution


C (100%)

https://www.examtopics.com/exams/oracle/1z0-071/view/5/ 2/4
8/24/23, 8:01 PM 1z0-071 Exam – Free Actual Q&As, Page 5 | ExamTopics

Question #24 Topic 1

Examine the data in the INVOICES table:

Examine the data in the CURRENCIES table:

Which query returns the currencies in CURRENCIES that are not present in INVOICES?
A.

B.

C.

D.

Correct Answer: C

Question #25 Topic 1

The SALES table has columns PROD_ID and QUANTITY_SOLD of data type NUMBER.
Which two queries execute successfully? (Choose two.)

A. SELECT prod_id FROM sales WHERE quantity_sold > 55000 AND COUNT(*) > 10 GROUP BY COUNT(*) > 10;

B. SELECT prod_id FROM sales WHERE quantity_sold > 55000 GROUP BY prod_id HAVING COUNT(*) > 10;

C. SELECT COUNT(prod_id) FROM sales GROUP BY prod_id WHERE quantity_sold > 55000;

D. SELECT prod_id FROM sales WHERE quantity_sold > 55000 AND COUNT(*) > 10 GROUP BY prod_id HAVING COUNT(*) > 10;

E. SELECT COUNT(prod_id) FROM sales WHERE quantity_sold > 55000 GROUP BY prod_id;

Correct Answer: BE

Community vote distribution


BE (100%)

 Previous Questions Next Questions 

https://www.examtopics.com/exams/oracle/1z0-071/view/5/ 3/4
8/24/23, 8:01 PM 1z0-071 Exam – Free Actual Q&As, Page 5 | ExamTopics

https://www.examtopics.com/exams/oracle/1z0-071/view/5/ 4/4

You might also like