1Z0-061 Exam Details

  • Exam Code
    :1Z0-061
  • Exam Name
    :Oracle Database 12c: SQL Fundamentals
  • Certification
    :Oracle Certifications
  • Vendor
    :Oracle
  • Total Questions
    :339 Q&As
  • Last Updated
    :Oct 10, 2022

Oracle 1Z0-061 Online Questions & Answers

  • Question 41:

    Examine the description of the EMPLOYEES table:

    EMP_ID NUMBER(4) NOT NULL

    LAST_NAME VARCHAR2(30) NOT NULL

    FIRST_NAME VARCHAR2(30)

    DEPT_ID NUMBER(2)

    Which statement produces the number of different departments that have employees with last name Smith?

    A. SELECT COUNT(*) FROM employees WHERE last_name='Smith';
    B. SELECT COUNT (dept_id) FROM employees WHERE last_name='Smith';
    C. SELECT DISTINCT(COUNT(dept_id)) FROM employees WHERE last_name='Smith';
    D. SELECT COUNT(DISTINCT dept_id) FROM employees WHERE last_name='Smith';
    E. SELECT UNIQUE(dept_id) FROM employees WHERE last_name='Smith';

  • Question 42:

    You are currently located in Singapore and have connected to a remote database in Chicago.

    You issue the following command:

    Exhibit:

    PROMOTIONS is the public synonym for the public database link for the PROMOTIONS table.

    What is the outcome?

    A. Number of days since the promo started based on the current Singapore data and time.
    B. An error because the ROUND function specified is invalid
    C. An error because the WHERE condition specified is invalid
    D. Number of days since the promo started based on the current Chicago data and time

  • Question 43:

    A sequence is created as follows:

    create sequence seq1 maxvalue 50;

    If the current value is already 50, when you attempt to select SEQ1.NEXTVAL what will happen?

    A. The sequence will cycle and issue 0.
    B. The sequence will cycle and issue 1.
    C. The sequence will reissue 50.
    D. There will be an error.

  • Question 44:

    Which statement is true regarding synonyms?

    A. Synonyms can be created only for a table
    B. Synonyms are used to reference only those tables that are owned by another user
    C. The DROP SYNONYM statement removes the synonym and the table on which the synonym has been created becomes invalid D. A public synonym and a private synonym can exist with the same name for the same table

  • Question 45:

    In 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?

    A. Abigail PA
    B. Abigail Pa
    C. Abigail IS
    D. An error message

  • Question 46:

    View the Exhibit and examine the structure of the PROMOTIONS table.

    You need to generate a report of all promos from the PROMOTIONS table based on the following conditions:

    1.

    The promo name should not begin with 'T' or 'N'.

    2.

    The promo should cost more than $20000.

    3.

    The promo should have ended after 1st January 2001. Which WHERE clause would give the required result?

    A. WHERE promo_name NOT LIKE 'T%' OR promo_name NOT LIKE 'N%' AND promo_cost > 20000 AND promo_end_date > '1-JAN-01'
    B. WHERE (promo_name NOT LIKE 'T%' AND promo_name NOT LIKE 'N%')OR promo_cost > 20000 OR promo_end_date > '1-JAN-01'
    C. WHERE promo_name NOT LIKE 'T%' AND promo_name NOT LIKE 'N%' AND promo_cost > 20000 AND promo_end_date > '1-JAN-01'
    D. WHERE (promo_name NOT LIKE '%T%' OR promo_name NOT LIKE '%N%') AND(promo_cost > 20000 AND promo_end_date > '1-JAN-01')

  • Question 47:

    What is true of using group functions on columns that contain NULL values?

    A. Group functions on columns ignore NULL values.
    B. Group functions on columns returning dates include NULL values.
    C. Group functions on columns returning numbers include NULL values.
    D. Group functions on columns cannot be accurately used on columns that contain NULL values.
    E. Group functions on columns include NULL values in calculations if you use the keyword INC_NULLS.

  • Question 48:

    You want to display the date for the first Monday of the next month and issue the following command:

    SQL>SELECT TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE), 'MON'), 'dd "is the first Monday for 'fmmonth rrrr') FROM DUAL;

    What is the outcome?

    A. It executes successfully and returns the correct result.
    B. It executes successfully but does not return the correct result.
    C. It generates an error because TO_CHAR should be replaced with TO_DATE.
    D. It generates an error because rrrr should be replaced by rr in the format string.
    E. It generates an error because fm and double quotation marks should not be used in the format string.

  • Question 49:

    Examine the structure of the employees table.

    You want to display the maximum and minimum salaries of employees hired 1 year ago. Which two statements would get the correct output?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 50:

    Evaluate the following SQL statement:

    Which statement is true regarding the above query if one of the values generated by the subquery is null?

    A. It produces an error.
    B. It executes but returns no rows.
    C. It generates output for null as well as the other values produced by the subquery.
    D. It ignores the null value and generates output for the other values produced by the subquery.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-061 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.