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

Introduction to SQL Quiz

Quiz
•
Other
•
University
•
Hard
LioS LioS
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
12 questions
PowerPoint Revision Quiz

Quiz
•
University
16 questions
CE-424-QUIZ#1

Quiz
•
University
8 questions
527 Q3 Ch3 Absorption 1&2

Quiz
•
University
10 questions
Batch -1 | 26-11-24 | Day-2 Data Analytics workshop Quiz

Quiz
•
University
15 questions
DATABASE LEVEL 1

Quiz
•
University
12 questions
Ch 2 - Accessing Data - Part 1

Quiz
•
University
6 questions
Pandas Fundamentals

Quiz
•
University
10 questions
SQL set 3

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade