[Apr 23, 2024] Verified 1z1-071 dumps and 308 unique questions
1z1-071 Dumps for Pass Guaranteed - Pass 1z1-071 Exam 2024
NEW QUESTION # 66
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 characters.
Which query can be used?
- 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_%';
Answer: D
NEW QUESTION # 67
Which statement is true about SQL query processing in an Oracle database instance? (Choose the best answer.)
- A. During parsing, a SQL statement containing literals in the WHERE clause that has been executed by any session and which is cached in memory, is always reused for the current execution.
- B. During optimization, execution plans are formulated based on the statistics gathered by the database instance, and the lowest cost plan is selected for execution.
- C. During execution, the Oracle server may read data from storage if the required data is not already in memory.
- D. During row source generation, rows that satisfy the query are retrieved from the database and stored in memory.
Answer: C
NEW QUESTION # 68
In the EMPLOYEEStable there are 1000 rows and employees are working in the company for more than 10 years.
Evaluate the following SQL statement:
What would be the result?
- A. It gives an error because multiple NVLfunctions are used in an expression.
- B. It gives an error because NVLfunction cannot be used with UPDATE.
- C. It executes successfully and updates the records of those employees who have been working in the company for more than 600 days.
- D. It executes successfully but no rows updated.
Answer: C
NEW QUESTION # 69
Examine the data in the ORDERS table:
Examine the data in the INVOICE table:
Examine this query:
Which three rows will it return?
- A. 3 01-JAN-2019
- B. 5 01-MAR-2019
- C. 5 <null>
- D. 3 <null>
- E. 1 <null>
- F. 4 01-FEB-2019
- G. 2 <null>
Answer: A,B,G
NEW QUESTION # 70
Examine this query:
Which two methods should you use to prevent prompting for a hire date value when this query is executed?
- A. Execute the SET VERIFY ONcommand before executing the query.
- B. Execute the SET VERIFY OFF command before executing the query.
- C. Store the query in a script and pass the substitution value to the script when executing it.
- D. Replace '&1'with '&&1'in the query.
- E. Use the UNDEFINEcommand before executing the query.
- F. Use the DEFINEcommand before executing the query.
Answer: A,C
NEW QUESTION # 71
Examine this statement:
What is returned upon execution?
- A. an error
- B. 2 rows
- C. 0 rows
- D. 1 row
Answer: D
NEW QUESTION # 72
Examine the structure of the PROGRAMS table:
Which two SQL statements would execute successfully? (Choose two.)
- A. SELECT NVL(ADD_MONTHS(END_DATE,1)SYSDATE)FROM programs;
- B. SELECT TO_DATE(NVL(SYSDATE-END_DATE,SYSDATE))FROM programs;
- C. SELECT NVL(MONTHS_BETWEEN(start_date,end_date),'Ongoing')FROM programs;
- D. SELECT NVL(TO_CHAR(MONTHS_BETWEEN(start-date,end_date)),'Ongoing')FROM programs;
Answer: B,D
NEW QUESTION # 73
The CUSTOMERStable has a CUST_CREDIT_LIMITcolumn of data type NUMBER.
Which two queries execute successfully? (Choose two.)
- A. SELECT NVL(cust_credit_limit * .15, 'Not Available') FROM customers;
- B. Available') FROM customers;
SELECT NVL2(cust_credit_limit * .15, 'Not Available') FROM customers; - C. SLECT NVL(TO_CHAR(cust_credit_limit * .15), 'Not Available') FROM customers;
- D. SELECT TO_CHAR(NVL(cust_credit_limit * .15, 'Not Available')) FROM customers;
- E. SELECT NVL2(cust_credit_limit, TO_CHAR(cust_credit_limit * .15), 'Not
Answer: B,C
NEW QUESTION # 74
View the exhibit and examine the description of the EMPLOYEES table. (Choose two.)
You executed this SQL statement:
SELECT first_name, department_id, salary
FROM employees
ORDER BY department_id, first_name, salary desc;
Which two statements are true regarding the result? (Choose two.)
- A. The values in all columns would be returned in descending order.
- B. The values in the SALARY column would be returned in descending order for all employees having the same value in the DEPARTMENT_ID and FIRST_NAME column.
- C. The values in the FIRST_NAME column would be returned in descending order for all employees having the same value in the DEPARTMENT_ID column.
- D. The values in the SALARY column would be returned in descending order for all employees having the same value in the DEPARTMENT_ID column.
- E. The values in the FIRST_NAME column would be returned in ascending order for all employees having the same value in the DEPARTMENT_ID column.
Answer: B,E
NEW QUESTION # 75
You want to write a query that prompts for two column names and the WHERE condition each time It is executed in a session but only prompts for the table name the first time it is executed. The variables used in your query are never undefined in your session . Which query can be used?
- A. SELECT&&col1, &&col2
FROM &table
WHERE &&condition; - B. SELECT &col1, &col2
FROM &&table
WHERE &condition; - C. SELECT &&col1,&&col2
FROM &table
WHERE &&condition= &&cond; - D. SELECT'&co11','&&co12'
FROM &table
WHERE'&&condition' ='&cond'; - E. SELECT &col1, &col2
FROM "&table"
WHERE &condition;
Answer: B
NEW QUESTION # 76
Examine the business rule:
Each student can work on multiple projects and each project can have multiple students.
You need to design an Entity Relationship Model (ERD) for optimal data storage and allow for generating reports in this format:
STUDENT_ID FIRST_NAME LAST_NAME PROJECT_ID PROJECT_NAME PROJECT_TASK
Which two statements are true in this scenario? (Choose two.)
- A. An associative table must be created with a composite key of STUDENT_ID and PROJECT_ID, which is the foreign key linked to the STUDENTS and PROJECTS entities.
- B. PROJECT_ID must be the primary key in the PROJECTS entity and foreign key in the STUDENTS entity.
- C. The ERD must have a M:M relationship between the STUDENTS and PROJECTS entities that must be resolved into 1:M relationships.
- D. STUDENT_ID must be the primary key in the STUDENTS entity and foreign key in the PROJECTS entity.
- E. The ERD must have a 1:M relationship between the STUDENTS and PROJECTS entities.
Answer: A,C
Explanation:
http://www.oracle.com/technetwork/issue-archive/2011/11-nov/o61sql-512018.html
NEW QUESTION # 77
Examine the description or the BOOKS_TRANSACTIONS table:
FOR customers whose income level has a value, you want to display the first name and due amount as 5% of their credit limit. Customers whose due amount is null should not be displayed.
Which query should be used?
- A. SELECT cust_first_name, cust_credit_limit * . 05 AS DUE AMOUNT
FROM customers
WHERE cust income_level !=NULL
AND due_amount !=NULL; - B. SELECT cust_first_name, cust_credit_limit * . 05 AS DUE AMOUNT
FROM customers
WHERE cust income_level !=NULL
AND cust credit_level !=NULL; - C. SELECT cust_first_name, cust_credit_limit * . 05 AS DUE AMOUNT
FROM customers
WHERE cust income_level IS NOT NULL
AND due_amount IS NOT NULL; - D. SELECT cust_first_name, cust_credit_limit * . 05 AS DUE AMOUNT
FROM customers
WHERE cust_income_level IS NOT NULL
AND cust_credit_limit IS NOT NULL; - E. SELECT cust_first_name, cust_credit_limit * . 05 AS DUE AMOUNT
FROM customers
WHERE cust income_level <> NULL
AND due_amount <> NULL;
Answer: D
NEW QUESTION # 78
The customers table has the following structure:
You need to write a query that does the following tasks:
1. Display the first name and tax amount of the customers. Tax is 5% of their credit limit.
2. Only those customers whose income level has a value should be considered.
3. Customers whose tax amount is null should not be considered.
Which statement accomplishes all the required tasks?
- A. SELECT cust_first_name, cust_credit_limit * .05 AS TAX_AMOUNTFROM customersWHERE cust_income_level IS NOT NULL ANDcust_credit_limit IS NOT NULL;
- B. SELECT cust_first_name, cust_credit_limit * .05 AS TAX_AMOUNTFROM customersWHERE (cust_income_level, tax_amount) IS NOT NULL;
- C. SELECT cust_first_name, cust_credit_limit * .05 AS TAX_AMOUNTFROM customersWHERE cust_income_level IS NOT NULL ANDtax_amount IS NOT NULL;
- D. SELECT cust_first_name, cust_credit_limit * .05 AS TAX_AMOUNTFROM customersWHERE cust_income_level <> NULL ANDtax_amount <> NULL;
Answer: A
NEW QUESTION # 79
The following are the steps for a correlated subquery, listed in random order:
1) The WHERE clause of the outer query is evaluated.
2) The candidate row is fetched from the table specified in the outer query.
3) The procedure is repeated for the subsequent rows of the table, till all the rows are processed.
4) Rows are returned by the inner query, after being evaluated with the value from the candidate row in the outer query. Identify the option that contains the steps in the correct sequence in which the Oracle server evaluates a correlated subquery.
- A. 4,1,2,3
- B. 2,1,4,3
- C. 4,2,1,3
- D. 2,4,1,3
Answer: D
NEW QUESTION # 80
Examine the description of the PRODUCTS table:
Which three queries use valid expressions? (Choose three.)
- A. SELECT product_id, (unit_price * 0.15 / (4.75 + 552.25)) FROM products;
- B. SELECT product_id, expiry_date * 2 FROM products;
- C. SELECT product_id, unit_price, 5 "Discount", unit_price + surcharge - discount FROM products;
- D. SELECT product_id, unit_price | | 5 "Discount", unit_price + surcharge - discount FROM products;
- E. SELECT product_id, (expiry_date - delivery_date) * 2 FROM products;
- F. SELECT product_id, unit_price, unit_price + surcharge FROM products;
Answer: A,D,E
NEW QUESTION # 81
Examine these statements:
Which two are true?
- A. The MGR column In the DEPT table will not be able to contain null values.
- B. All three statements execute successfully in the order shown.
- C. The DEPTNO column in the EMP table will be able to contain null values.
- D. The create TABLE EMP statement must precede the create table DEPT statement for all three statements to execute successfully.
- E. Both foreign key constraint definition must be removed from the CREATE statements, and be added with ALTER TABLE statements once both tables are created, for the two CREATE TABLE statements to execute successfully in the order shown.
- F. The DEPT_FKEY constraint definition must be removed from the CREATE TABLE DEPT statement. and the added with an D. ALTER statement once both tables are created, for the two CREATE TABLE statements to execute successfully in the order shown.
Answer: C,F
NEW QUESTION # 82
......
Latest 100% Passing Guarantee - Brilliant 1z1-071 Exam Questions PDF: https://www.exam-killer.com/1z1-071-valid-questions.html
1z1-071 Exam Dumps - Try Best 1z1-071 Exam Questions: https://drive.google.com/open?id=1rCDbjen5clQtcmHU_ZBtZF1kc6VVW-1a

