F1-Quiz

F1-Quiz

University

28 Qs

quiz-placeholder

Similar activities

Quiz PBD 21 Sept 2023

Quiz PBD 21 Sept 2023

University

30 Qs

DBMS MCQs Quiz

DBMS MCQs Quiz

University

30 Qs

SQL BASICS

SQL BASICS

University

25 Qs

Database Design and Development SQL 1

Database Design and Development SQL 1

University

26 Qs

Quiz on Aggregate Functions in SQL

Quiz on Aggregate Functions in SQL

University

25 Qs

database Quiz 3 Revision

database Quiz 3 Revision

University

25 Qs

Database Design Quiz

Database Design Quiz

University

30 Qs

SQL MIDTERM EXAM

SQL MIDTERM EXAM

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?