You are on page 1of 3

4/7/24, 12:30 AM Post-Quiz: Attempt review


 Dashboard / My courses / MySQL Database / Data Definition Language / Post-Quiz

Quiz review
Started on Saturday, 6 April 2024, 11:54 PM
State Finished
Completed on Sunday, 7 April 2024, 12:02 AM
Time taken 7 mins 34 secs
Marks 4.00/5.00
Grade 80.00 out of 100.00
Feedback Congratulations!!! You have passed by securing more than 80%
49241

Question 1
Correct

Mark 1.00 out of 1.00


49241

A table consists of ______ primary keys.

Select one:
Any number
1
2
4

The correct answer is: 1

Question 2
Correct

Mark 1.00 out of 1.00

Which of the following options is not correct?

Select one:
alter table emp add column_name varchar(25);
alter emp drop column_name;
49241
alter table emp modify name varchar(30);
alter table emp drop column column_name;

The correct answer is: alter emp drop column_name;


https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1723126&cmid=6303 1/3
4/7/24, 12:30 AM Post-Quiz: Attempt review

Question 3
Correct

Mark 1.00 out of 1.00

Choose the correct option

creditcardtype should be sliver or platinum only check 

cardholderphoneno unique 

validitydate not null 

cardholdername 49241 not null 

creditcardno primary key 

Your answer is correct.


49241
The correct answer is: creditcardtype should be sliver or platinum only → check, cardholderphoneno → unique, validitydate → not null, cardholdername →
not null, creditcardno → primary key

Question 4
Correct

Mark 1.00 out of 1.00

An emp table contains fields employ name, desig and salary. How do you drop column salary?

Select one:
alter table emp delete salary;
alter table emp delete column salary;
alter table emp drop column salary;
delete from emp where column = salary;

The correct answer is: alter table emp drop column salary;

49241


https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1723126&cmid=6303 2/3
4/7/24, 12:30 AM Post-Quiz: Attempt review

Question 5
Incorrect

Mark 0.00 out of 1.00

We need to ensure that the amount withdrawn should be less then the credit card limit amount, to ensure this integrity what type constraint will be used?

Select one:
table level foreign key constraint

column level check constraint 

49241
table level check constraint

column level foreign key constraint

49241
Your answer is incorrect.
The correct answer is: table level check constraint

◄ Drop 1

Jump to...

Pre-Quiz ►

49241


https://accenturelearning.tekstac.com/mod/quiz/review.php?attempt=1723126&cmid=6303 3/3

You might also like