Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 3 fuera de 16 páginas
Examen

DBMS - Database Management Systems: Q’s And A’s

Document preview thumbnail
Vista previa 3 fuera de 16 páginas

DBMS - Database Management Systems: Q’s And A’s

Vista previa del contenido

DBMS - Database Management Systems: Q’s And A’s

1.
The SQL command that lets you insert data into a table is ____.
a. INSERT
b. SELECT
c. COMMIT
d. UPDATE Right Ans - a. INSERT

2.
The SQL command that lets you save your work to disk is ____.
a. INSERT
b. SELECT
c. COMMIT
d. UPDATE Right Ans - c. COMMIT

3.
The SQL command used to list the contents of a table is ____.
a. INSERT
b. SELECT
c. COMMIT
d. UPDATE Right Ans - b. SELECT

4.
The SQL command that enables you to make changes in the data is ____.
a. INSERT
b. SELECT
c. COMMIT
d. UPDATE Right Ans - d. UPDATE

5.
The current fully approved version of standard SQL prescribed by the
American National Standards Institute is ____.
a. SQL-2003
b. SQL-99
c. SQL-4
d. SQL2 Right Ans - a. SQL-2003

6.

,____ is/are SQL character data type(s).
a. CHAR & VARCHAR2
b. VARCHAR2 only
c. ALPHANUMERIC
d. CHAR only Right Ans - a. CHAR & VARCHAR2

7.
To list all the contents of the PRODUCT table you would use ____.
a. LIST * FROM PRODUCT;
b. SELECT * FROM PRODUCT;
c. DISPLAY * FROM PRODUCT;
d. SELECT ALL FROM PRODUCT; Right Ans - b. SELECT * FROM PRODUCT;

8.
In Oracle, the ____ command is used to place a $ in front of a numeric value.
a. DISPLAY
b. FORMAT
c. CHAR
d. CONVERT Right Ans - b. FORMAT

9.
Which command would you use when changing the date in the PRODUCT
table?
a. CHANGE PRODUCT
SET P_INDATE = '18-JAN-2008'
WHERE P_CODE = '13-Q2/P2';

b. ROLLBACK PRODUCT
SET P_INDATE = '18-JAN-2008'
WHERE P_CODE = '13-Q2/P2';

c. EDIT PRODUCT
SET P_INDATE = '18-JAN-2008'
WHERE P_CODE = '13-Q2/P2';

d. UPDATE PRODUCT
SET P_INDATE = '18-JAN-2008'
WHERE P_CODE = '13-Q2/P2'; Right Ans - d. UPDATE PRODUCT
SET P_INDATE = '18-JAN-2008'

, WHERE P_CODE = '13-Q2/P2';

10.
Which command is used to restore the table contents?
a. COMMIT; RESTORE;
b. COMMIT; BACKUP;
c. COMMIT; ROLLBACK;
d. ROLLBACK; Right Ans - d. ROLLBACK;

11.
Which command would be used to delete the table row where the P_CODE =
'BRT-345'?
a. DELETE FROM PRODUCT

WHERE P_CODE = 'BRT-345';
b. REMOVE FROM PRODUCT

WHERE P_CODE = 'BRT-345';
c. ERASE FROM PRODUCT

WHERE P_CODE = 'BRT-345';
d. ROLLBACK FROM PRODUCT

WHERE P_CODE = 'BRT-345'; Right Ans - a. DELETE FROM PRODUCT

WHERE P_CODE = 'BRT-345';

12.
Some RDBMSs (like Oracle) will automatically ____ data changes when issuing
data definition commands.
a. ROLLBACK
b. COMMIT
c. UPDATE
d. INVOKE Right Ans - b. COMMIT

13.
What happens when you issue the DELETE FROM tablename command
without specifying a WHERE condition?
a. no rows will be deleted

Información del documento

Subido en
14 de noviembre de 2024
Número de páginas
16
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$15.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
LeCrae
4.0
(445)
Vendido
2117
Seguidores
1409
Artículos
22284
Última venta
2 días hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes