Академический Документы
Профессиональный Документы
Культура Документы
Question 1 Which of the following is the correct example of modifying the
Not yet column lastname? Change the datatype size to 20.
answered
Marked out of Select one:
1.00
a. ALTER TABLE EMPLOYEES
MODIFY LASTNAME VARCHAR(20);
b. ALTER EMPLOYEES
SET LASTNAME = VARCHAR(20);
d. ALTER EMPLOYEES
MODIFY LASTNAME VARCHAR(20);
Clear my choice
c. ALTER STUDENTS
MODIFY ADDRESS VARCHAR(20);
Clear my choice
Marked out of
Answer: Database Management System
1.00
Question 4 Which of the following is the correct example of creating a new
Not yet table STUDENTS? The column STUD_ID is set to primary key.
answered
c. Insert
Clear my choice
c. COMMIT
d. CREATE
Clear my choice
c. ALTER EMPLOYEES
FROM N FIRSTNAME;
d. ALTER EMPLOYEES
FROM COLUMN FIRSTNAME;
Clear my choice
Question 8 Which of the following is not true about ALTER statement?
Not yet
answered
Select one:
Marked out of
a. Insert new row in a table
1.00
b. Define a default value for the new column
c. Modify an existing column definition
d. Drop a column
Clear my choice
b. INSERT
c. TRUNCATE
d. DELETE
Clear my choice
Marked out of
Answer: Datum
1.00
Question 13 Suppose that a user uses the DELETE statement as shown below:
Not yet what is/are the possible output.
answered
Marked out of
1.00 DELETE from STUDENT;
Select one:
a. 0 rows are updated.
Clear my choice
Question 14 Which of the following is the correct example of updating the
Not yet LASTNAME to ‘REYES’ of all students from STUDENTS table whose
answered
STUD_ID is equal to 01020564?
Marked out of
1.00
Select one:
a. UPDATE STUDENTS
SET LASTNAME = ‘REYES’
c. UPDATE STUDENTS
SET STUD_ID = 01020564;
WHERELASTNAME = ‘REYES’;
Clear my choice
c. Table
d. View
Clear my choice
Question 18 Are applied to the table and form the logical schema.
Not yet
answered
Answer: Constraints
Marked out of
1.00
Question 19 Is the underlying the structure of a database.
Not yet
answered
Answer: Data Models
Marked out of
1.00
Question 20 Which of the following is the correct example of updating the
Not yet COURSE to ‘N/A’ of all students from STUDENTS table whose
answered
course IS NULL;
Marked out of
1.00
Select one:
a. UPDATE TABLE STUDENTS
SET COURSE = ‘N/A’
c. UPDATE STUDENTS
SET COURSE = ‘N/A’
WHERE COURSE = NULL;
d. UPDATE STUDENTS
SET COURSE = ‘N/A’
WHERE COURSE IS NULL;
Clear my choice
b. DELETE
c. ADD
d. DROP
Clear my choice
c. TRUNCATE EMPLOYEES;
Clear my choice
Question 23 It is a bundle of actions which are done within a database to
Not yet bring it from one consistent state to a new consistent state.
answered
Marked out of
Answer: Transaction
1.00
Question 24 Which of the following is the correct example of renaming the
Not yet table EMPLOYEES to WORKERS?
answered
Clear my choice
b. Relational model
c. Relational server
Clear my choice
Marked out of
1.00
Question 28 Which of the following is the correct example of dropping the
Not yet table EMPLOYEES?
answered
b. DROP EMPLOYEES;
Clear my choice
Question 29 Which of the following is the correct example of removing a
Not yet column SALARY from EMPLOYEES table?
answered
c. ALTER EMPLOYEES
DROP COLUMN SALARY;
d. ALTER EMPLOYEES
DROP SALARY;
Clear my choice
b. Select
c. DML
d. DDL
Clear my choice
Stay in touch
AMA EDUCATION SYSTEM
https://blended.amauonline.com/helpdesk