
DMLC
Authored by V Analysts
Other, Other
Professional Development
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The command to change some records/ rows of a particular column is?
Change command
Update command
modify command
Alter command
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The query to update a field Designation to “Data Scientist” of all records in a table UserDetails is?
update userdetails set designation = "Data Scientist"
Modify userdetails set designation = "Data Scientist"
Alter userdetails set designation = "Data Scientist"
change userdetails set designation = "Data Scientist"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The query to update a field Designation to “Data Scientist” of all records having Name = ”Julie” in a table UserDetails is?
update userdetails set designation = "Data Scientist" where Name ="Julie"
update userdetails to designation = "Data Scientist" where Name ="Julie"
modify userdetails set designation = "Data Scientist" change Name ="Julie"
update userdetails set designation = "Data Scientist" change Name ="Julie"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct option:
Update command can be used to modify multiple columns at same time
Modify command is used to rename the column name
Update command can be used to modify single column at same time
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Lets say we have a table named Users which has fields name, email and phonenumber. Suppose a particular user named “Ashley” has left the portal and we want to remove her record from the table. Which of the following queries will do the required job?
remove user where name is Ashley
delete from users where name ="Ashley"
delete from users where name in ("Ashley")
remove user from users where name in ("Ashley")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the command “delete from Users;” do in MySQL
It will ask for which users to delete
it is an incorrect statement it will throw error
It will delete all rows and make table empty
It will delete first row
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The command to permanently remove data from a table is?
Select
Delete
Ampute
Purge
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?