What is the primary use of Structured Query Language (SQL)?
N5 DBDD Queries

Quiz
•
Computers
•
9th - 10th Grade
•
Medium
Boroughmuir Computing
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To design computer hardware
To generate queries and interrogate data in a database
To develop mobile applications
To create web pages
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a key word of SQL?
WHERE
FROM
SELECT
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the context of SQL, what does the 'SELECT' statement do?
Retrieves data from a database
Deletes data from a database
Creates a new database
Updates data in a database
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'WHERE' clause in SQL?
To join two tables
To sort the results
To filter records based on a condition
To specify the database to use
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL clause is used to sort the result-set?
GROUP BY
SORT BY
ORDER BY
SORT
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following SQL statements could you use If you want to select the username, e-mail and postcode fields from a table named ‘users’?
SELECT users FROM username, e-mail, postcode;
FROM users SELECT username, email, postcode;
SELECT username, email, postcode FROM users;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following would be returned if this command were executed?
SELECT PupilID, Surname, Class FROM Pupil
WHERE Class = ‘1T1’;
The pupil field from the PupilID, Surname and Class tables, where the class in each table is 1T1
The value 1T1, if it appears in either the PupilID, Surname or Class fields within the pupil table
Data held in the PupilID, Surname and Class fields from the pupil table where the class field holds the value 1T1
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would need to be added to this SQL example to sort the data by class in ascending order and merit points in descending order?
ORDER BY class ASC, merit points ASC;
ORDER BY class ASC, merit points DESC;
ORDER by merit points DESC, class ASC;
Similar Resources on Quizizz
12 questions
Database Knowledge Check 3 (SQL)

Quiz
•
9th - 12th Grade
10 questions
database

Quiz
•
9th - 12th Grade
10 questions
Database Fundamentals

Quiz
•
KG - University
10 questions
Databases - DBMS

Quiz
•
1st - 11th Grade
11 questions
SQL Bronze Award Revision

Quiz
•
9th - 10th Grade
10 questions
Sec1revision game

Quiz
•
9th Grade
10 questions
Pemograman Dekstop

Quiz
•
10th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
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
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

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

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University