Introduction to SQL Quiz

Introduction to SQL Quiz

University

11 Qs

quiz-placeholder

Similar activities

Carter Semester 1 Peroid 3 Greeks

Carter Semester 1 Peroid 3 Greeks

KG - University

11 Qs

Quiz 2 - GIS Basic Bootcamp

Quiz 2 - GIS Basic Bootcamp

University - Professional Development

10 Qs

Minecraft

Minecraft

2nd Grade - University

7 Qs

Karnataka quiz

Karnataka quiz

1st Grade - Professional Development

10 Qs

Understanding Newsletter Components

Understanding Newsletter Components

11th Grade - University

12 Qs

Riddles for kids

Riddles for kids

KG - University

12 Qs

FSA Item Types

FSA Item Types

University

10 Qs

Test de bases de données SQL

Test de bases de données SQL

12th Grade - University

10 Qs

Introduction to SQL Quiz

Introduction to SQL Quiz

Assessment

Quiz

Other

University

Hard

Created by

LioS LioS

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to add new rows to a table?

INSERT

SELECT

UPDATE

DELETE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for inserting values into a table?

INSERT INTO table_name (columns) VALUES (values);

INSERT INTO table_name VALUES (values);

INSERT table_name (columns) VALUES (values);

INSERT table_name VALUES (values);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you retrieve all columns from a table?

SELECT * FROM table_name;

SELECT columns FROM table_name;

SELECT ALL FROM table_name;

SELECT table_name;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operator is used with SELECT to retrieve unique values?

DISTINCT

UNIQUE

FILTER

WHERE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the WHERE clause in SQL?

To filter rows based on criteria

To sort the results

To group rows

To join tables

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the LIKE operator do in SQL?

Matches a string pattern

Filters numeric values

Retrieves unique values

Sorts results

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for checking if a column is NULL?

SELECT columns FROM table_name WHERE column IS NULL;

SELECT columns FROM table_name WHERE column = NULL;

SELECT columns FROM table_name WHERE column IS EMPTY;

SELECT columns FROM table_name WHERE column NOT NULL;

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?