¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Oracle SQL

Brandon Gagon 19 preguntas

Hacer el test

Preguntas del test (19)

  1. 1What is true about the WITH GRANT OPTION clause?
    1. AIt allows privileges on specified columns of tables.
    2. BIt is used to grant an object privilege on a foreign key column.
    3. CIt allows a grantee DBA privileges.
    4. DIt is required syntax for object privileges.
    5. EIt allows the grantee to grant object privileges to other users and roles.
  2. 2Which single-row function could you use to return a specific portion of a character string?

    1. AINSTR
    2. BLEAST
    3. CLPAD
    4. DSUBSTR
  3. 3Where can sub queries be used?
    1. Afield names in the SELECT statement
    2. Bthe FROM clause in the SELECT statement
    3. Cthe WHERE clause in SELECT as well as all DML statements
    4. Dthe HAVING clause in the SELECT statement
    5. Ethe WHERE clause in only the SELECT statement
    6. Fthe GROUP BY clause in the SELECT statement
  4. 4In the following SELECT statement, which component is a literal?

    SELECT 'Employee Name: ' || ename
    FROM emp WHERE deptno = 10;
    1. A||
    2. Bename
    3. CEmployee Name:
    4. D10
  5. 5The EMPLOYEES table has EMPLOYEE_ID, DEPARTMENT_ID, and FULL_NAME columns. The DEPARTMENTS table has DEPARTMENT_ID and DEPARTMENT_NAME columns.

    Which two of the following queries return the department ID, name, and employee name, listing department names even if there is no employee assigned to that department?
    1. ASELECT d.department_id, d.department_name, e.full_name FROM departments d NATURAL LEFT OUTER JOIN employees e;
    2. BSELECT d.department_id, d.department_name, e.full_name FROM departments d LEFT OUTER JOIN employees eON (d.department_id = e.department_id);
    3. CSELECT d.department_id, d.department_name, e.full_name FROM departments d LEFT OUTER JOIN employees eUSING (d.department_id);
    4. DSELECT department_id, department_name, full_name FROM departments NATURAL LEFT JOIN employees;
  6. 6Evaluate the SQL statement DROP TABLE DEPT:

    Which four statements are true of the SQL statement?
    1. AAll indexes based on the DEPT table are dropped.
    2. BYou cannot roll back this statement.
    3. CAll data in the table is deleted, but the structure of the table is retained.
    4. DAll views based on the DEPT table are deleted.
    5. EAll synonyms based on the DEPT table are deleted.
    6. FAll pending transactions are committed.
    7. GAll data in the table is deleted, and the table structure is also deleted.
  7. 7Which statement is true regarding sub queries?

    1. AThe NOT IN operator is equivalent to IS NULL with single- row subqueries.
    2. BThe LIKE operator cannot be used with single- row subqueries.
    3. CThe NOT operator can be used with IN, ANY, and ALL operators in multiple- row subqueries.
    4. D=ANY and =ALL operators have the same functionality in multiple- row subqueries.
  8. 8Which statement is true regarding tables?
    1. AA table name can be of any length.
    2. BA column that has a DEFAULT value cannot store null values.
    3. CA table and a view can have the same name in the same schema.
    4. DA table and a synonym can have the same name in the same schema.
    5. EThe same table name can be used in different schemas in the same database.
    6. FA table can have any number of columns.
  9. 9Which date components does the CURRENT_TIMESTAMP function display?
    1. ASession date and session time zone offset
    2. BSession date and session time
    3. CSession date, session time, and session time zone offset
    4. DSession time zone offset
  10. 10SELECT ROUND(45.953, -1), TRUNC(45.936, 2)
    FROM dual;

    Which values are displayed?
    1. A46 and 45
    2. B50 and 45.9
    3. C46 and 45.93
    4. D45.95 and 45.93
    5. E50 and 45.93
    6. F45 and 45.93

Información

Descripción
Test sobre Oracle SQL, creado por Brandon Gagon el 08/02/2019.
Idioma
English
Visitas
5
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?