Sign In
Home/Oracle/1z0-061/Free questions

1z0-061 — Free Practice Questions

10 free sample questions from a bank of 85, with the correct answers and explanations. No signup required — start practising right now.

1Evaluate the following SQL statement: Which statement is true regarding the outcome of the above query?
1z0-061 question 1
  • It executes successfully and displays rows in the descending order of PROMO_CATEGORY.
  • It produces an error because positional notation cannot be used in the order by clause with set operators.
  • It executes successfully but ignores the order by clause because it is not located at the end of the compound statement.
  • It produces an error because the order by clause should appear only at the end of a compound query-that is, with the last select statement.
Answer: D
2Which three SQL statements would display the value 1890.55 as $1, 890.55?
1z0-061 question 2
  • Option A
  • Option B
  • Option C
  • Option D
Answer: A, D
3You want to display 5 percent of the employees with the highest salaries in the EMPLOYEES table. Which query will generate the required result?
1z0-061 question 3
  • Option A
  • Option B
  • Option C
  • Option D B
Answer:
4In the customers table, the CUST_CITY column contains the value 'Paris' for the CUST_FIRST_NAME 'Abigail'. Evaluate the following query: What would be the outcome?
1z0-061 question 4
  • Abigail PA
  • Abigail Pa
  • Abigail IS
  • An error message
Answer: B
5View the Exhibit and evaluate the structure and data in the CUST_STATUS table. You issue the following SQL statement: Which statement is true regarding the execution of the above query?
1z0-061 question 51z0-061 question 5
  • It produces an error because the AMT_SPENT column contains a null value.
  • It displays a bonus of 1000 for all customers whose AMT_SPENT is less than CREDIT_LIMIT.
  • It displays a bonus of 1000 for all customers whose AMT_SPENT equals CREDIT_LIMIT, or AMT_SPENT is null.
  • It produces an error because the TO_NUMBER function must be used to convert the result of the NULLIF function before it can be used by the NVL2 function.
Answer: C
6You execute the following commands: For which substitution variables are you prompted for the input?
1z0-061 question 6
  • None, because no input required
  • Both the substitution variables 'hiredate' and 'mgr_id\
  • Only 'hiredate'
  • Only 'mgr_id'
Answer: D
7View the Exhibit and examine the data in the employees table: You want to display all the employee names and their corresponding manager names. Evaluate the following query: Which join option can be used in the blank in the above query to get the required output?
1z0-061 question 71z0-061 question 7
  • INNER JOIN
  • FULL OUTER JOIN
  • LEFT OUTER JOIN
  • RIGHT OUTER JOIN
Answer: C
8View the Exhibit and examine the structure of the product, component, and PDT_COMP tables. In product table, PDTNO is the primary key. In component table, COMPNO is the primary key. In PDT_COMP table, SELECT pdtno, pdtname, compno, compname FROM product _____________ pdt_comp USING (pdtno) ____________ component USING (compno) WHERE compname IS NOT NULL; Which combination of joins used in the blanks in the above query gives the correct output?
1z0-061 question 8
  • JOIN; JOIN
  • FULL OUTER JOIN; FULL OUTER JOIN
  • RIGHT OUTER JOIN; LEFT OUTER JOIN
  • LEFT OUTER JOIN; RIGHT OUTER JOIN
Answer: C
9Examine the structure of the transactions table: You want to display the date, time, and transaction amount of transactions that where done before 12 noon. The value zero should be displayed for transactions where the transaction amount has not been entered. Which query gives the required result?
1z0-061 question 91z0-061 question 9
  • Option A
  • Option B
  • Option C
  • Option D
Answer: B
10Evaluate the following SQL commands: The command to create a table fails. Identify the two reasons for the SQL statement failure?
1z0-061 question 10
  • You cannot use SYSDATE in the condition of a check constraint.
  • You cannot use the BETWEEN clause in the condition of a check constraint.
  • You cannot use the NEXTVAL sequence value as a default value for a column.
  • You cannot use ORD_NO and ITEM_NO columns as a composite primary key because ORD_NO is also the foreign key.
Answer: A, C

Want the full bank of 85 questions for 1z0-061? See all practice exams.