SQL OPERATORS AFL

SQL OPERATORS AFL

11th Grade

5 Qs

quiz-placeholder

Similar activities

Database

Database

11th Grade

10 Qs

2TDS - Banco de Dados - Aula 01

2TDS - Banco de Dados - Aula 01

11th Grade

5 Qs

22 CEH M2 Footprinting and Reconnaissance

22 CEH M2 Footprinting and Reconnaissance

University

6 Qs

Web Hosting

Web Hosting

12th Grade

10 Qs

SQL PRE-ASSESSMENT (MOTIVATION)

SQL PRE-ASSESSMENT (MOTIVATION)

University

10 Qs

SQL Quiz

SQL Quiz

University

10 Qs

Internet & Jaringan Komputer

Internet & Jaringan Komputer

10th Grade - University

10 Qs

Database Concepts Quiz

Database Concepts Quiz

12th Grade

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);