SQL Data Manipulation

SQL Data Manipulation

University

17 Qs

quiz-placeholder

Similar activities

JDBC

JDBC

University

20 Qs

Mastering SQL Queries

Mastering SQL Queries

University

18 Qs

DATABASE LEVEL 1

DATABASE LEVEL 1

University

15 Qs

DBMS MCQ - 4

DBMS MCQ - 4

University

20 Qs

Basis data

Basis data

11th Grade - University

20 Qs

Unstructure Databases - Chapter 1-2

Unstructure Databases - Chapter 1-2

University

20 Qs

Pengelolaan Basis Data

Pengelolaan Basis Data

University

20 Qs

SQL Quiz

SQL Quiz

University

20 Qs

SQL Data Manipulation

SQL Data Manipulation

Assessment

Quiz

Other

University

Easy

Created by

Luisa Martich

Used 21+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the UPDATE statement do in SQL?

It retrieves data from a database table.

It modifies data in a database table.

It deletes data from a database table.

It creates a new database table.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to insert new data into a database?

UPDATE

INSERT

SELECT

DELETE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for the UPDATE statement in SQL?

UPDATE table_name SET column1 = value1, column2 = value2, ... WHERE condition

UPDATE table_name SET column1 = value1, column2 = value2, ... SET column3 = value3

UPDATE table_name SET column1 = value1, column2 = value2, ...

UPDATE table_name SET column1 = value1 WHERE condition

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Avery, Grace, and Aria are working on a project where they have to manage a database. They have some unnecessary data in their database. Which SQL statement should they use to delete this data from their database?

REMOVE

DELETE

ERASE

CLEAR

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are aggregate functions in SQL?

Aggregate functions in SQL are functions that perform calculations on a set of values and return a single value.

Aggregate functions in SQL are functions that perform calculations on a set of values and return no value.

Aggregate functions in SQL are functions that perform calculations on a single value and return a set of values.

Aggregate functions in SQL are functions that perform calculations on a set of values and return multiple values.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which aggregate function is used to calculate the average value of a column in SQL?

COUNT

MAX

AVG

SUM

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the GROUP BY clause in SQL?

The GROUP BY clause in SQL is used to sort the data in ascending order.

The GROUP BY clause in SQL is used to filter rows based on a condition.

The GROUP BY clause in SQL is used to update values in a table.

The purpose of the GROUP BY clause in SQL is to group rows with the same values in specified columns.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?