Test
Chapter 4
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 (11)
1The SQL command:
SELECT city + state location FROM customers;- Auses a function
- Buses a label
- Cuses an operator
- Dhas a clause
- Eperforms an update
2The SQL command:
SELECT MAX(city), COUNT(*) counter FROM customers WHERE nls_language='eng';- Auses a function
- Bit is inccorect because MAX doesn't apply to characters
- Cdisplays two columns
- Ddisplays three columns
- Edisplays the tuples found in the table counter
3CREATE TABLE command allows:
- Aloading data into a table
- Bupdating the data structure of a table
- Cdefining integrity restrictions
- Ddefining the domains for attributes
- Edefining the type for attributes
4SELECT command:
- Amay use an aggregation function
- Bmay use arithmetic operators
- Cmay use a group function
- Dperforms a query
- Ecan display only some columns of a table
5The SQL command:
SELECT c.city o.order_date FROM customers c, orders o WHERE c.customer_id = o.customer_id;
implements the relational operators- Aunion
- Bjoin
- Cselection
- Dconcatenation
- Eintersection
6SELECT command:
- Acan implement just three relational operators
- Bcan perform the update operation
- Ccan update the data structure
- Dcan display only a part of the table tuples
- Ecan define integrity constrains
- Fnone of the above
7The following command:
INSERT INTO customers SET customer_id = 22 WHERE nls_language = 'eng';- Aadds a tuple between two existing ones
- Bis wrong because it has the SET clause
- Cis wrong because it has the INTO clause
- Dadds a tuple in the table customer_id
- Eis wrong because it has the WHERE clause
8The SQL command:
DELETE ALL FROM customers;- Adeletes all tuples from customers table
- Bis wrong because it has the ALL clause
- Cis a manipulation command
- Dis incorrect because the DELETE command doesn't exist
- Eis incorrect because no table name must be indicated
9The SQL command:
UPDATE customers SET nls_language = 'eng' WHERE customer_id = 22;- Amodifies all tuples in the table
- Bupdates all the attributes of the table
- Cmodifies only some tuples in the table
- Dupdates the table called nls_language
- Eupdates a single attribute of the table
10CREATE VIEW command:
- Adefines a virtual table
- Bworks with a view
- Cdisplays data from a table
- Ddisplays data in a virtual table
- Eopens a virtual table
11ALTER TABLE command:
- Adefins the data from a table
- Bonly works with virtual tables
- Cdisplays the data in a table
- Dupdates data in a table
- Euploads the data into a table
- Fnone of the above
Información
- Descripción
- Database Test sobre Chapter 4, creado por Claudia Piscociu el 07/02/2017.
- Autor
- Claudia Piscociu
- Idioma
- English
- Visitas
- 20
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test