
Mastering Basic SQL Queries
Authored by Zameer Haider
Computers
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the `SELECT` statement in SQL?
To delete data from a database
To retrieve data from a database
To update data in a database
To insert data into a database
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which clause is used to specify the table from which to retrieve data in an SQL query?
SELECT
WHERE
FROM
ORDER BY
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `WHERE` clause do in an SQL query?
It sorts the data in ascending order
It filters records based on specified conditions
It groups data based on a column
It limits the number of records returned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following SQL statements correctly selects all columns from a table named `students`?
SELECT * FROM students;
SELECT students FROM *;
SELECT ALL FROM students;
SELECT columns FROM students;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you write an SQL query to select only the `name` and `age` columns from a table called `people`?
SELECT name, age FROM people;
SELECT name AND age FROM people;
SELECT name, age IN people;
SELECT name, age OF people;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL query would you use to find all records in the `books` table where the `author` is 'J.K. Rowling'?
SELECT * FROM books WHERE author = 'J.K. Rowling';
SELECT * FROM books WHERE author IS 'J.K. Rowling';
SELECT * FROM books WHERE author LIKE 'J.K. Rowling';
SELECT * FROM books WHERE author IN 'J.K. Rowling';
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following SQL query: `SELECT name FROM employees WHERE salary > 30000;`?
It selects all employees with a salary less than £30,000
It selects the names of employees with a salary greater than £30,000
It selects all columns of employees with a salary greater than £30,000
It selects the names of employees with a salary equal to £30,000
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
10 questions
AutoCad Practice Exam
Quiz
•
10th - 11th Grade
10 questions
OHS in Computer Hardware Servicing
Quiz
•
7th - 10th Grade
10 questions
Computer Languages
Quiz
•
6th - 12th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
Network Security
Quiz
•
9th - 11th Grade
10 questions
CỦNG CỐ KIẾN THỨC BÀI 2 - TIN HỌC 12
Quiz
•
10th - 12th Grade
10 questions
What is a program slides(6:16)
Quiz
•
8th - 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