
COMP9. DATA MANIPULATION LANGUAGE
Authored by Michael Atienza
Computers
9th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
You have a table Employees with columns EmployeeID, FirstName, LastName, and Position. How would you insert a new employee with the following details: EmployeeID = 101, FirstName = 'John', LastName = 'Doe', Position = 'Manager'?
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
If a table Orders has columns OrderID, ProductName, and Quantity and you only want to insert a value for ProductName and Quantity, which command is correct?
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What happens if you execute the following command and the StudentID column in the Students table is set to auto-increment?
4.
MULTIPLE SELECT QUESTION
1 min • 2 pts
You have a table Products with columns ProductID, ProductName, Price, and Stock. Which of the following statements would add a new product named "Notebook" with a price of 15.99 and stock of 100?
INSERT INTO Products VALUES (NULL, 'Notebook', 15.99, 100);
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What would happen if you attempt to execute the following command on a table where EmployeeID is the primary key and already contains the value 201?
INSERT INTO Employees (EmployeeID, FirstName, LastName) VALUES (201, 'Jake', 'Brown');
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
You are inserting data into a table with a column that allows NULL values. Which statement will successfully insert a NULL into that column?
INSERT INTO Sales (Product, Price) VALUES ('Pen', NULL);
INSERT INTO Sales (Product, Price) VALUES ('Pen', 'NULL');
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
You have a table Customers with columns CustomerID, Name, and Email. If you want to add a new customer with only their Name and Email, leaving CustomerID to be auto-generated, which command should you use?
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?
Similar Resources on Wayground
25 questions
Adobe Flash
Quiz
•
9th Grade
34 questions
Multimedia Webpage Design 1.01
Quiz
•
9th - 12th Grade
30 questions
COLOR Theory
Quiz
•
9th - 12th Grade
25 questions
Programming in Python
Quiz
•
9th Grade
26 questions
Macromedia Flash
Quiz
•
8th Grade - Professio...
25 questions
Understanding Strings and Functions Quiz
Quiz
•
8th Grade - University
25 questions
Code.org Quiz1
Quiz
•
7th Grade - University
25 questions
Examen de Redes
Quiz
•
9th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade