Search Header Logo

N5 DBDD Queries

Authored by Boroughmuir Computing

Computers

9th - 10th Grade

Used 2+ times

N5 DBDD Queries
AI

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 primary use of Structured Query Language (SQL)?

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?

PRINT

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?