Lecture 10 - COMP1551

Lecture 10 - COMP1551

University

10 Qs

quiz-placeholder

Similar activities

Multipletables, functions, sub-queries

Multipletables, functions, sub-queries

University

10 Qs

Exception handling -oracle plsql

Exception handling -oracle plsql

University

15 Qs

RDBMS-SQL

RDBMS-SQL

University

10 Qs

IT 321 2nd Live Quiz

IT 321 2nd Live Quiz

University

15 Qs

Database Exam: 3 - Manipulating Data

Database Exam: 3 - Manipulating Data

University

15 Qs

SIG - SQL - Limbajul de interogare a bazelor de date Oracle

SIG - SQL - Limbajul de interogare a bazelor de date Oracle

University

10 Qs

Conhecimentos básicos em SQL

Conhecimentos básicos em SQL

University

10 Qs

Big Data Analytics Quiz for HDS

Big Data Analytics Quiz for HDS

University

15 Qs

Lecture 10 - COMP1551

Lecture 10 - COMP1551

Assessment

Quiz

Computers

University

Hard

Created by

Long Nguyen

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the primary purpose of SQL?

To develop graphical applications

To create machine learning models

To manipulate data in relational databases

To write low-level system programs

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which SQL category includes the `CREATE TABLE` statement?

Data Definition Language (DDL)

Data Manipulation Language (DML)

Data Query Language (DQL)

Data Control Language (DCL)

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following SQL statements retrieves data from a table?

INSERT

UPDATE

SELECT

DELETE

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of the `JOIN` operation in SQL?

To delete data from two tables simultaneously

To insert values into multiple tables

To combine rows from two or more tables based on a related column

To modify the schema of a table

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which SQL join returns only the matching rows from both tables?

LEFT JOIN

RIGHT JOIN

FULL JOIN

INNER JOIN

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which SQL function returns the total number of rows that match a condition?

SUM()

COUNT()

AVG()

MIN()

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which SQL clause is used to group rows based on a specific column?

ORDER BY

HAVING

GROUP BY

DISTINCT

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?