Free Oracle 1Z0-071 Exam Braindumps (page: 30)

Which three statements are true regarding group functions? (Choose three.)

  1. They can be used on columns or expressions.
  2. They can be passed as an argument to another group function.
  3. They can be used only with a SQL statement that has the GROUP BY clause.
  4. They can be used on only one column in the SELECT clause of a SQL statement.
  5. They can be used along with the single-row function in the SELECT clause of a SQL statement.

Answer(s): A,B,E


Reference:

https://www.safaribooksonline.com/library/view/mastering-oracle-sql/0596006322/ch04.html



Which three statements are true? (Choose three.)

  1. The data dictionary is created and maintained by the database administrator.
  2. The data dictionary views consist of joins of dictionary base tables and user-defined tables.
  3. The usernames of all the users including database administrators are stored in the data dictionary.
  4. The USER_CONS_COLUMNS view should be queried to find the names of columns to which constraints apply.
  5. Both USER_OBJECTS and CAT views provide the same information about all objects that are owned by the user.
  6. Views with the same name but different prefixes, such as DBA, ALL and USER, reference the same base tables from the data dictionary.

Answer(s): C,D,F


Reference:

https://docs.oracle.com/cd/B10501_01/server.920/a96524/c05dicti.htm



View the exhibits and examine the structures of the COSTS and PROMOTIONS tables.



Evaluate the following SQL statement:

What would be the outcome of the above SQL statement?

  1. It displays prod IDs in the promo with the lowest cost.
  2. It displays prod IDs in the promos with the lowest cost in the same time interval.
  3. It displays prod IDs in the promos with the highest cost in the same time interval.
  4. It displays prod IDs in the promos which cost less than the highest cost in the same time interval.

Answer(s): D



View the exhibit and examine the descriptions of the DEPT and LOCATIONS tables.


You want to update the CITY column of the DEPT table for all the rows with the corresponding value in the CITY column of the LOCATIONS table for each department.

Which SQL statement would you execute to accomplish the task?

  1. UPDATE dept d
    SET city = ALL (SELECT city
    FROM locations 1
    WHERE d.location_id = l.location_id);
  2. UPDATE dept d
    SET city = (SELECT city
    FROM locations 1)
    WHERE d.location_id = l.location_id;
  3. UPDATE dept d
    SET city = ANY (SELECT city
    FROM locations 1)
  4. UPDATE dept d
    SET city = (SELECT city
    FROM locations 1
    WHERE d.location_id = 1.location_id);

Answer(s): D



Viewing page 30 of 95
Viewing questions 117 - 120 out of 380 questions



Post your Comments and Discuss Oracle 1Z0-071 exam prep with other Community members:

1Z0-071 Exam Discussions & Posts