Which SQL statement retrieves all columns from the students table?
SQL Quiz: 25 MCQs on the Student Table

Quiz
•
Computers
•
University
•
Medium
ARUN R
Used 2+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
GET FROM students;
SELECT FROM students;
FETCH FROM students;
SHOW FROM students;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you retrieve only the names of all students?
SELECT Name FROM students;
SHOW Name FROM students;
EXTRACT Name FROM students;
DISPLAY Name FROM students;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which clause is used to filter records based on a condition?
ORDER BY
WHERE
GROUP BY
HAVING
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following query return?
SELECT DISTINCT Department FROM students;
Number of departments
List of all unique departments
All student names
Count of students
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which query fetches students older than 21?
SELECT FROM students WHERE Age > 21;
SELECT FROM students WHERE Age >= 21;
SELECT FROM students HAVING Age > 21;
SELECT FROM students FILTER Age > 21;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you find students enrolled before 2023?
SELECT FROM students WHERE EnrollmentDate < '2023-01-01';
SELECT FROM students WHERE EnrollmentDate > '2023-01-01';
SELECT FROM students WHERE EnrollmentDate BETWEEN '2023-01-01' AND '2024-01-01';
SELECT FROM students ORDER BY EnrollmentDate;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL function counts the total number of students?
SUM(*)
COUNT(*)
TOTAL(*)
NUMBER(*)
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Unit CC Jan 2022 LO4 & LO5 (48-65)

Quiz
•
12th Grade - University
20 questions
Gmail (5th/ 6th)

Quiz
•
3rd Grade - University
20 questions
Insert, Delete data & using Images

Quiz
•
University
20 questions
AACS3013 Quick Revision C1-C3

Quiz
•
University
20 questions
Sử dụng Word (51 - 70)

Quiz
•
University
20 questions
Kuis SQL Select

Quiz
•
University
30 questions
MELINIA - SEQUELVERSE - ROUND 1

Quiz
•
University
30 questions
MELINIA - SEQUELVERSE - ROUND 1

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade