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 81:

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

    Evaluate the query statement:

    What would be the outcome of the above statement?

    A. It executes successfully.
    B. It produces an error because the condition on CUST_LAST_NAME is invalid.
    C. It executes successfully only if the CUST_CREDIT_LIMIT column does not contain any null values.
    D. It produces an error because the AND operator cannot be used to combine multiple BETWEEN clauses.

  • Question 82:

    You need to modify the STUDENTS table to add a primary key on the STUDENT_ID column. The table is currently empty.

    Which statement accomplishes this task?

    A. ALTER TABLE students ADD PRIMARY KEY student_id;
    B. ALTER TABLE students ADD CONSTRAINT PRIMARY KEY (student_id);
    C. ALTER TABLE students ADD CONSTRAINT stud_id_pk PRIMARY KEY student_id;
    D. ALTER TABLE students ADD CONSTRAINT stud_id_pk PRIMARY KEY (student_id);
    E. ALTER TABLE students MODIFY CONSTRAINT stud_id_pk PRIMARY KEY (student_id);

  • Question 83:

    Examine the data in the ORD_ITEMS table:

    ORD_NO ITEM_NO QTY

    1 111 10

    1 222 20

    1 333 30

    2 333 30

    2 444 40

    3 111 40

    Evaluate the following query:

    SQL>SELECT item_no, AVG(qty) FROM ord_items

    HAVING AVG(qty) > MIN(qty) * 2

    GROUP BY item_no;

    Which statement is true regarding the outcome of the above query?

    A. It gives an error because the HAVING clause should be specified after the GROUP BY clause.
    B. It gives an error because all the aggregate functions used in the HAVING clause must be specified in the SELECT list.
    C. It displays the item nos with their average quantity where the average quantity is more than double the minimum quantity of that item in the table.
    D. It displays the item nos with their average quantity where the average quantity is more than double the overall minimum quantity of all the items in the table.

  • Question 84:

    View the Exhibit and examine the structure of the CUSTOMERS table. Evaluate the following SQL statement:

    Which statement is true regarding the outcome of the above query?

    A. It executes successfully.
    B. It returns an error because the BETWEEN operator cannot be used in the HAVING clause.
    C. It returns an error because WHERE and HAVING clauses cannot be used in the same SELECT statement.
    D. It returns an error because WHERE and HAVING clauses cannot be used to apply conditions on the same column.

  • Question 85:

    Evaluate the following SQL statements:

    Exhibit:

    Exhibit:

    The above command fails when executed. What could be the reason?

    A. The BETWEEN clause cannot be used for the CHECK constraint
    B. SYSDATE cannot be used with the CHECK constraint
    C. ORD_NO and ITEM_NO cannot be used as a composite primary key because ORD_NO is also the FOREIGN KEY
    D. The CHECK constraint cannot be placed on columns having the DATE data type

  • Question 86:

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

    You need to generate a report in the following format: CATEGORIES

    5MP Digital Photo Camera's category is Photo

    Y Box's category is Electronics

    Envoy Ambassador's category is Hardware

    Which two queries would give the required output? (Choose two.)

    A. SELECT prod_name || q'''s category is ' || prod_category CATEGORIES FROM products;
    B. SELECT prod_name || q'['s ]'category is ' || prod_category CATEGORIES FROM products;
    C. SELECT prod_name || q'\'s\' || ' category is ' || prod_category CATEGORIES FROM products;
    D. SELECT prod_name || q'

  • Question 87:

    The ORDERS TABLE belongs to the user OE. OE has granted the SELECT privilege on the ORDERS table to the user HR.

    Which statement would create a synonym ORD so that HR can execute the following query successfully?

    SELECT * FROM ord;

    A. CREATE SYNONYM ord FOR orders; This command is issued by OE.
    B. CREATE PUBLIC SYNONYM ord FOR orders; This command is issued by OE.
    C. CREATE SYNONYM ord FOR oe.orders; This command is issued by the database administrator.
    D. CREATE PUBLIC SYNONYM ord FOR oe.orders; This command is issued by the database administrator.

  • Question 88:

    You need to perform these tasks:

    Which set of SQL statements achieves the desired results?

    A. CREATE ROLE manager;GRANT create table, create viewTO manager;GRANT manager TO BLAKE, CLARK;
    B. CREATE ROLE manager;GRANT create table, create voewTO manager;GRANT manager ROLE TO BLAKE, CLARK;
    C. GRANT manager ROLE TO BLAKE, CLARK;GRANT create table, create voewTO BLAKE CLARK;***MISSING***

  • Question 89:

    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. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 90:

    On your Oracle 12c database, you invoked SQL *Loader to load data into the EMPLOYEES table in the HR schema by issuing the following command:

    $> sqlldr hr/hr@pdb table=employees

    Which two statements are true regarding the command?

    A. It succeeds with default settings if the EMPLOYEES table belonging to HR is already defined in the database.
    B. It fails because no SQL *Loader data file location is specified.
    C. It fails if the HR user does not have the CREATE ANY DIRECTORY privilege.
    D. It fails because no SQL *Loader control file location is specified.

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.