
SQL and Database_1
Authored by Namita Apsingekar
English
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the SELECT statement in SQL?
To retrieve data from a database.
To create new tables in a database.
To delete data from a database.
To update existing records in a database.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a SQL query to retrieve all columns from a table named 'Students'.
SELECT ALL FROM Students;
SELECT * FROM Students;
FETCH * FROM Students;
GET * FROM Students;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the concept of primary key in a database.
A primary key is a unique identifier for a record in a database table, ensuring uniqueness and preventing null values.
A primary key is used to store large binary data in a database.
A primary key is an optional field that can contain null values.
A primary key can be duplicated across records in a table.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is normalization and why is it important in databases?
Normalization is important in databases because it minimizes data redundancy, enhances data integrity, and simplifies data management.
Normalization is only necessary for small databases.
Normalization has no impact on data integrity.
Normalization increases data redundancy and complexity.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a SQL query to find the total number of records in a table named 'Orders'.
SELECT SUM(*) FROM Orders;
SELECT COUNT(*) FROM Orders;
SELECT TOTAL() FROM Orders;
SELECT COUNT(1) FROM Orders;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between INNER JOIN and LEFT JOIN?
INNER JOIN returns all rows from both tables; LEFT JOIN returns only unmatched rows.
INNER JOIN includes all rows from the left table; LEFT JOIN excludes unmatched rows from the right table.
INNER JOIN returns all rows regardless of matches; LEFT JOIN returns only matched rows.
INNER JOIN returns matched rows only; LEFT JOIN returns all left table rows and matched right table rows.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a SQL query to retrieve the names of all students who scored above 80 in a subject.
SELECT name FROM students WHERE score < 80;
SELECT name FROM students WHERE score >= 80;
SELECT name FROM students WHERE score = 80;
SELECT name FROM students WHERE score > 80;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Infinitives and Gerunds
Quiz
•
11th - 12th Grade
15 questions
UK and USA Revision
Quiz
•
5th Grade - University
20 questions
Women in the English-speaking world
Quiz
•
12th Grade - University
20 questions
MOD 02.A
Quiz
•
9th - 12th Grade
15 questions
關係詞 which, when and where
Quiz
•
11th - 12th Grade
20 questions
So that such that, adjective clause, noun modifiers
Quiz
•
12th Grade
15 questions
Personal Traits and Attitudes
Quiz
•
10th - 12th Grade
15 questions
Świat Przyrody
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for English
20 questions
Parts of Speech
Quiz
•
12th Grade
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
8 questions
Harrison Bergeron Intro
Quiz
•
9th - 12th Grade
20 questions
Grammar
Quiz
•
9th - 12th Grade
20 questions
Text Structures
Quiz
•
9th - 12th Grade
20 questions
Poetry Terms
Quiz
•
9th - 12th Grade
20 questions
Figurative Language
Quiz
•
9th - 12th Grade