F1-Quiz

F1-Quiz

University

28 Qs

quiz-placeholder

Similar activities

Intro DBMS 2023-3

Intro DBMS 2023-3

University

30 Qs

SQL Test

SQL Test

University

25 Qs

Unit 1 APCSA

Unit 1 APCSA

9th Grade - University

32 Qs

MELINIA - SEQUELVERSE - ROUND 1

MELINIA - SEQUELVERSE - ROUND 1

University

30 Qs

MELINIA - SEQUELVERSE - ROUND 1

MELINIA - SEQUELVERSE - ROUND 1

University

30 Qs

1TCSS2IUB3

1TCSS2IUB3

University

30 Qs

UTS Basisdata 12RPL sem 5 22-23

UTS Basisdata 12RPL sem 5 22-23

2nd Grade - University

30 Qs

SQL Bootup

SQL Bootup

University

25 Qs

F1-Quiz

F1-Quiz

Assessment

Quiz

Computers

University

Easy

Created by

ELLAINE CERVANTES

Used 1+ times

FREE Resource

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following clauses is used to filter rows returned by a SQL query?

SELECT

ORDER BY

WHERE

GROUP BY

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What will the following query return?

SELECT DISTINCT city FROM customers;

All the cities in the customers table

Only unique cities from the customers table

All customers in the customers table

Unique customer IDs

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which keyword is used to sort the result set in ascending or descending order?

SORT BY

ORDER BY

GROUP BY

FILTER BY

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following clauses is used to group rows that have the same values?

GROUP BY

ORDER BY

WHERE

HAVING

5.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Which of the following SQL queries will return rows where the column status is not null?

  • WHERE status IS NULL

WHERE status != NULL

WHERE status NOT NULL

WHERE status IS NOT NULL

6.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

What is the result of the following query?

SELECT name FROM students WHERE grade IS NOT NULL;

It will return all students whose grades are NOT NULL

It will return all students with a grade of 'NULL'

It will throw an error

It will return all students, regardless of their grade

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following statements will delete a record from a table?

DELETE FROM table_name WHERE condition;

REMOVE FROM table_name WHERE condition;

REMOVE table_name WHERE condition;

  • DELETE table_name WHERE condition;

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?