Search Header Logo

F1-Quiz

Authored by ELLAINE CERVANTES

Computers

University

Used 1+ times

F1-Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers