GoConqr has a new look! Let us know what you think.

Quiz

1ZO-071

Joshua Nkongho 87 questions

Take the quiz

Questions in this quiz (87)

  1. 1Which two statements execute successfully?
    1. AA. SELECT TO_ DATE('2019-DEC-25 15:30' 'YYYY-MON-DD HH24:MI', 'NLS_ DATE_
      LANGUAGE
      =AMERICAN' ) FROM DUAL;
    2. BB. SELECT TO_CHAR('2019-DEC-25 15:30" YY-MON-D HH24:M2', 'NLS_DATE LANGUAGE =
      AMERICAN') FROM DUAL;
    3. CC. SELECT TO _DATE (TO_ CHAR ('2019-DEC-25 03:30', 'YYYY-MON-DD HH12:MI')) FROM
      DUAL;
    4. DD. SELECT TO _CHAR(TO_DATE('2019-DEC-25 03:30','YYYY-MON-DD HH12:MI')) FROM
      DUAL
    5. EE. SELECT TO _ CHAR('2019-DEC-25 15:30'.'YYYY-MON-DD HH24:MI')
      FROMDUAL
  2. 2Which two statements are true about the results of using the intersect operator in compound queries?
    1. AA. intersect ignores nulls.
    2. BB. Reversing the order of the intersected tables can sometimes affect the output.
    3. CC. Column names in each select in the compound query can be different.
    4. DD. intersect returns rows common to both sides of the compound query.
    5. EE. The number of columns in each select in the compound query can be different.
  3. 3You issue this command which succeeds: SQL> DROP TABLE products;
    Which three statements are true?
    1. AA. All existing views and synonyms that refer to the table are invalidated but retained.
    2. BB. Any uncommitted transaction in the session is committed.
    3. CC. Table data and the table structure are deleted.
    4. DD. All the table’s indexes if any exist, are invalidated but retained.
    5. EE. Table data is deleted but the table structure is retained.
  4. 4Which two statements are true regarding the COUNT function?
    1. AA. A SELECT statement using the COUNT function with a DISTINCT keyword cannot have a WHERE clause.
    2. BB. COUNT (DISTINCT inv_amt) returns the number of rows excluding rows containing duplicates and NULL values in the INV_AMT column.
    3. CC. COUNT (cust_id) returns the number of rows including rows with duplicate customer IDs and NULL value in the CUST_ID column.
    4. DD. COUNT (*) returns the number of rows including duplicate rows and rows containing NULL value in any of the columns.
    5. EE. The COUNT function can be used only for CHAR, VARCHAR2, and NUMBER data types.
  5. 5Evaluate this ALTER TABLE statement: (Choose the best answer.) ALTER TABLE orders
    SET UNUSED (order_date); Which statement is true?
    1. AA. After executing the ALTER TABLE command, a new column called ORDER_DATE can be added to the ORDERS table.
    2. BB. The ORDER_DATE column must be empty for the ALTER TABLE command to execute successfully.
    3. CC. ROLLBACK can be used to restore the ORDER_DATE column.
    4. DD. The DESCRIBE command would still display the ORDER_DATE column.
  6. 6Which task can be performed by using a single Data Manipulation Language (DML) statement?
    1. AA. Removing all data only from a single column on which a primary key constraint is defined.
    2. BB. Removing all data from a single column on which a unique constraint is defined.
    3. CC. Adding a column with a default value while inserting a row into a table.
    4. DD. Adding a column constraint while inserting a row into a table.
  7. 7Which two statements are true regarding constraints?
    1. AA. A foreign key column cannot contain null values.
    2. BB. A column with the UNIQUE constraint can contain null values.
    3. CC. A constraint is enforced only for INSERT operation on the table.
    4. DD. A constraint can be disabled even if the constraint column contains data.
    5. EE. All constraints can be defined at the column level and at the table level.
  8. 8Examine the data in the CUST_NAME column of the CUSTOMERS table.
    CUST_NAME------------------
    Renske Ladwig Jason Mallin Samuel McCain Allan MCEwen Irene Mikilineni Julia Nayer
    You need to display customers' second names where the second name starts with "Mc" or "MC". Which query gives the required output?
    1. AA. SELECT SUBSTR (cust_name, INSTR (cust_name, ' ')+1)FROM customersWHERE SUBSTR (cust_name, INSTR (cust_name, ' ')+1)LIKE INITCAP ('MC%');
    2. BB. SELECT SUBSTR (cust_name, INSTR (cust_name, ' ')+1)FROM customersWHERE INITCAP (SUBSTR(cust_name, INSTR (cust_name, ' ')+1)) ='Mc';
    3. CC. SELECT SUBSTR (cust_name, INSTR (cust_name, ' ')+1)FROM customersWHERE INITCAP (SUBSTR(cust_name, INSTR (cust_name, ' ')+1))LIKE 'Mc%';
    4. DD. SELECT SUBSTR (cust_name, INSTR (cust_name, ' ')+1)FROM customersWHERE INITCAP (SUBSTR(cust_name, INSTR (cust_name, ' ')+1)) =INITCAP
      'MC%'
  9. 9View the exhibit for the structure of the STUDENT and FACULTY tables. STUDENT
    NameNull?Type-------------------------------------------------- STUDENT_IDNOT NULLNUMBER(2) STUDENT_NAMEVARCHAR2(20) FACULTY_IDVARCHAR2(2)
    LOCATION_IDNUMBER(2) FACULTY
    NameNull?Type-------------------------------------------------- FACULTY_IDNOT NULLNUMBER(2) FACULTY_NAMEVARCHAR2(20) LOCATION_IDNUMBER(2)
    You need to display the faculty name followed by the number of students handled by the faculty at the base location.
    Examine the following two SQL statements: Statement 1
    SQL>SELECT faculty_name, COUNT(student_id) FROM student JOIN faculty
    USING (faculty_id, location_id) GROUP BY faculty_name; Statement 2
    SQL>SELECT faculty_name, COUNT(student_id)
    FROM student NATURAL JOIN faculty GROUP BY faculty_name;
    Which statement is true regarding the outcome?
    1. AA. Only statement 2 executes successfully and gives the required result.
    2. BB. Only statement 1 executes successfully and gives the required result.
    3. CC. Both statements 1 and 2 execute successfully and give different results.
    4. DD. Both statements 1 and 2 execute successfully and give the same required result
  10. 10Which statement is true regarding the USING clause in table joins? (Choose two.)
    A. It can be used to join a maximum of three tables.
    B. It can be used to access data from tables through equijoins as well as nonequijoins.
    C. It can be used to join tables that have columns with the same name and compatible data types.
    D. It can be used to restrict the number of columns used in a NATURAL join.
    1. AA. It can be used to join a maximum of three tables.
    2. BB. It can be used to access data from tables through equijoins as well as nonequijoins.
    3. CC. It can be used to join tables that have columns with the same name and compatible data types.
    4. DD. It can be used to restrict the number of columns used in a NATURAL join.

Information

Description
Quiz on 1ZO-071, created by Joshua Nkongho on 08/02/2026.
Language
English
Views
0
Tags
sas
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?