Test
SQL
Crea una cuenta gratis para terminar este test
Guarda tu progreso y consulta tu resultado final.
¿Ya tienes cuenta? Inicia sesión
Preguntas del test (38)
1You can not order the results of a set operation
- AVerdadero
- BFalso
2 A table can be created with or without data.
- AVerdadero
- BFalso
3Transaction control determines when data manipulation becomes permanent in a database.
- AVerdadero
- BFalso
4Consider the SQL statement. Which of the following clauses does not sort the result rows by the salary values in the ascending order? SELECT last_name “Employee”, salary “Salary” FROM employees
- AORDER BY salary;
- BORDER BY 2;
- CORDER BY Salary DESC;
- DORDER BY “Salary” ASC;
5You can rename a table with the RENAME or the ALTER TABLE command.
- AVerdadero
- BFalso
6\Which of the following functions is not single-row function?
- ACONCAT
- BSUM
- CUPPER
- DROUND
7Write SQL statement for display the department numbers with more than employees in each dept.
- ASelect deptno, count(deptno) from emp group by deptno having count(*)>3;
- BSelect deptno, count (deptno) from emp group by deptno having count(*)>2;
- CSelect deptno, count (emp) from deptno group by emp having count(*)>2;
- DSelect deptno, count(deptno) from deptno group by emp having count(*)>3;
8You cannot drop a user if objects exist in the user’s schema.
- AVerdadero
- BFalso
9Queries that return more than one row from the inner SELECT statement are called
- AMultiple-row subqueries
- BMultiple-column subqueries
- CSing-column subqueries
- DSingle-row subqueries
10Use the _______ operator to return all rows from multiple tables and eliminate any duplicate rows.
- AUNION ALL
- BMINUS
- CINTERSECT
- DUNION
11Which statement discards all pending data changes
- ASAVEPOINT
- BCOMMIT
- CDISCARD
- DROLLBACK
12Privileges, roles, and synonyms are all used to implement security in an Oracle Database.
- AVerdadero
- BFalso
13The ____ operator returns all rows that are selected by either query
- AUNOIN ALL
- BINTERSECT
- CUNION
14You can update only a single column at a time in a table.
- AVerdadero
- BFalso
15Both object and system privileges can be granted through a single role to a user.
- AVerdadero
- BFalso
16DML statement such as INSERT, UPDATE, DELETE, and MERGE obtain a lock on the row(s), so other users cannot manipulate it.
- AVerdadero
- BFalso
1743. The UNION and UNION ALL set operator have the opposite effect other.
- AVerdadero
- BFalso
18A DISTINCT must always be user in the top-most SELECT statement of a set operation
- AVerdadero
- BFalso
19The TRANCATE command and the TRUNC function can be used interchangeably.
- AVerdadero
- BFalso
20To obtain a list of last names that students and instructors share, you use the MINUS set operator.
- AVerdadero
- BFalso
21Any user can grant or revoke any type of system privilege to or from another user
- AVerdadero
- BFalso
22The data dictionary view USER_TAB_PRIVS_MADE lists details of table privilege grants performed by the current user.
- AVerdadero
- BFalso
23Consider the EMPLOYEES table. Which of the following displays the maximum average salary for each department?
- ASELECT MAX(AVG(salary)) FROM employees
- BSELECT department_id, MAX(AVG(salary)) FROM employees GROUP BY department_id
- CSELECT AVG(MAX(salary)) FROM employees GROUP BY department_id
- DSELECT MAX(AVG(salary)) FROM employees GROUP BY department_id
24The TRUNCATE command removes all data permanently from a table.
- AVerdadero
- BFalso
25By default, the foreign key restricts deletes of any parent row has a corresponding child row(s).
- AVerdadero
- BFalso
26The ______ operator compares a value to every value returned by a subquery.
- ANOT
- BALL
- CSOME
- DANY
27When inserting data into a table form another table, the table names and columns must be the same.
- AVerdadero
- BFalso
28The data of a temporary table is visible to all session.
- AVerdadero
- BFalso
29The condition INSERT FIRST command evaluates the WHEN condition in order. For all conditions that are true a row is inserted into the appropriate table.
- AVerdadero
- BFalso
30The ____ operator compares a value to EACH value returned by a subquery
- ANOT
- BANY
- CALL
31A parent table referenced by a child table may not be dropped.
- AVerdadero
- BFalso
32You cannot drop a user if objects exist in the user’s schema.
- AVerdadero
- BFalso
33You can nor selectively delete rows a table.
- AVerdadero
- BFalso
34It is possible to combine from two tables that do not have a primary key/foreign key relationship into one result using a set operation
- AVerdadero
- BFalso
35Which of the following functions finds the numeric position of a named character?
- ACONCAT
- BINSTR
- CTRIM
- DSUBSTR
36Which of the following functions joins two strings together?
- ACONCAT
- BTRIM
- CINSTR
- DSUBSTR
37You can nor selectively delete rows a table.
- AVerdadero
- BFalso
38Use the _____ operator to return all rows from multiple tables and eliminate any duplicate rows.
- AUNION
- BMINUS
- CUNION ALL
Información
- Descripción
- Test sobre SQL, creado por 1610 R el 14/12/2017.
- Autor
- 1610 R
- Idioma
- English
- Visitas
- 69
- Valoración
- Aún sin valoraciones Valora este test