Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bigdisc65

PDF 1z0-071 Study Guide

Page: 18 / 24
Question 72

Examine the description of the CUSTOMERS table:

You want to display details of all customers who reside in cities starting with the letter D followed by at least two character.

Which query can be used?

Options:

A.

SELECT * FROM customers WHERE city ='D_%';

B.

SELECT * FROM customers WHERE city ='%D_';

C.

SELECT * FROM customers WHERE city LIKE'D %';

D.

SELECT * FROM customers WHERE city LIKE'D_';

Question 73

You want to return the current date and time from the user session, with a data type of TIMESTAMP WITH TIME ZONE.

Which function will do this?

Options:

A.

CURRENT DATE

B.

CURRENT_ TIMESTAMP

C.

SYSDATE

D.

LOCALTIMESTAMP

Question 74

Which two are true about queries using set operators such as UNION?

Options:

A.

An expression in the first SELECT list must have a column alias for the expression

B.

CHAR columns of different lengths used with a set operator retum a vAacsua mhtoe e equals the longest CHAR value.

C.

Queries using set operators do not perform implicit conversion across data type groups (e.g. character, numeric)

D.

In a query containing multiple set operators INTERSECT always takes precedence over UNION and UNION ALL

E.

All set operators are valid on columns all data types.

Question 75

Examine this statement:

SELECT1 AS id,‘ John’ AS first_name, NULL AS commission FROM dual

INTERSECT

SELECT 1,’John’ null FROM dual ORDER BY 3;

What is returned upon execution?[

Options:

A.

2 rows

B.

0 rows

C.

An error

D.

1 ROW

Page: 18 / 24
Exam Code: 1z0-071
Exam Name: Oracle Database 12c SQL
Last Update: May 9, 2024
Questions: 324
1z0-071 pdf

1z0-071 PDF

$28  $80
1z0-071 Engine

1z0-071 Testing Engine

$33.25  $95
1z0-071 PDF + Engine

1z0-071 PDF + Testing Engine

$45.5  $130