Search Header Logo

SQL Assessment 2

Authored by Tochukwu Stanley Amaechi

Information Technology (IT)

Professional Development

Used 1+ times

SQL Assessment 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the acronym CRUD stand for in the context of database operations?

Copy, Run, Update, Dump

Calculate, Round, Unite, Divide

Create, Read, Update, Delete

Connect, Retrieve, Upload, Disconnect

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A user runs a query to view a list of all employees in the 'Sales' department. Which CRUD operation are they performing?

Create

Read

Update

Delete

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL command is used to add a new row to a table?

ADD

INSERT

NEW

CREATE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the UPDATE statement?

To remove a table from the database.

To change the data in existing rows of a table.

To add a new column to an existing table.

To retrieve data from the database.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following SQL statements would permanently remove a specific customer record from a 'Customers' table?

DELETE FROM Customers WHERE CustomerID = 123;

REMOVE FROM Customers WHERE CustomerID = 123;

UPDATE Customers SET Status = 'Inactive' WHERE CustomerID = 123;

DROP Customers WHERE CustomerID = 123;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You need to add a new product called 'Wireless Mouse' with a price of $25.99 to the 'Inventory' table. Which statement would you use?

INSERT INTO Inventory (ProductName, Price) VALUES ('Wireless Mouse', 25.99);

ADD TO Inventory (ProductName, Price) VALUES ('Wireless Mouse', 25.99);

UPDATE Inventory SET ProductName = 'Wireless Mouse', Price = 25.99;

INSERT ROW INTO Inventory VALUES ('Wireless Mouse', 25.99);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A common mistake when performing an UPDATE or DELETE operation is forgetting to include which clause, potentially affecting all rows in the table?

THE ORDER BY clause

THE LIMIT clause

THE WHERE clause

THE GROUP BY clause

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?