SQL OPERATORS AFL

SQL OPERATORS AFL

11th Grade

5 Qs

quiz-placeholder

Similar activities

Functii diverse SQL

Functii diverse SQL

11th Grade

9 Qs

Post-Test

Post-Test

11th Grade

10 Qs

SIMPLE AZURE

SIMPLE AZURE

University

9 Qs

Mastering Basic SQL Concepts

Mastering Basic SQL Concepts

11th Grade

10 Qs

MongoDB Concepts 1

MongoDB Concepts 1

University

10 Qs

Chapter Quiz

Chapter Quiz

University

10 Qs

Comandos SQL

Comandos SQL

University

10 Qs

SQL PRE-ASSESSMENT (MOTIVATION)

SQL PRE-ASSESSMENT (MOTIVATION)

University

10 Qs

SQL OPERATORS AFL

SQL OPERATORS AFL

Assessment

Quiz

Information Technology (IT)

11th Grade

Hard

Created by

SUMAIYA BEEVI

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the AND operator do in SQL?

The AND operator combines conditions and returns true if any condition is true.

The AND operator combines conditions and returns true only if all conditions are true.

The AND operator is used to delete records from a table.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

If I want to find records that match either condition, which operator should I use?

NOT

AND

OR

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the NOT operator do in SQL?

The NOT operator combines two conditions in SQL.

The NOT operator is used to select all records in SQL.

The NOT operator adds a condition in SQL.

The NOT operator negates a condition in SQL.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the result of the following SQL statement?

Students younger than 10 who are named Bob.

Students younger than 10 who are not named Bob.

All students who are not younger than 10.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following queries will return records of teachers who either have the name 'Mr. Smith' or are older than 30?

SELECT * FROM teachers WHERE TeacherName = 'Mr. Smith' AND Age > 30;

SELECT * FROM teachers WHERE TeacherName = 'Mr. Smith' OR Age > 30;

SELECT * FROM teachers WHERE NOT (TeacherName = 'Mr. Smith' OR Age > 30);