SQL Silver Quiz

SQL Silver Quiz

7th - 9th Grade

9 Qs

quiz-placeholder

Similar activities

Visual Basic Basics!

Visual Basic Basics!

9th - 12th Grade

8 Qs

3. Year 9 (TAHS systems)

3. Year 9 (TAHS systems)

9th Grade

10 Qs

SQL

SQL

9th - 11th Grade

10 Qs

SQL SELECT

SQL SELECT

8th - 10th Grade

10 Qs

Intermediate level quiz

Intermediate level quiz

6th - 8th Grade

13 Qs

GCSE 2.2 SQL

GCSE 2.2 SQL

9th - 11th Grade

12 Qs

S3 DDD - SQL SELECT FROM queries

S3 DDD - SQL SELECT FROM queries

8th Grade

8 Qs

SQL Statement Part 3

SQL Statement Part 3

7th Grade

10 Qs

SQL Silver Quiz

SQL Silver Quiz

Assessment

Quiz

Computers

7th - 9th Grade

Easy

Created by

STACS HQ

Used 6+ times

FREE Resource

9 questions

Show all answers

1.

OPEN ENDED QUESTION

2 mins • 1 pt

What would the following SQL statement do? SELECT * FROM Pupils

Evaluate responses using AI:

OFF

Answer explanation

It would display all records from the Pupils table.

2.

OPEN ENDED QUESTION

2 mins • 1 pt

What would the following SQL statement do? SELECT Age FROM Pupils

Evaluate responses using AI:

OFF

Answer explanation

It would display the age of all records in the Pupils table.

3.

OPEN ENDED QUESTION

2 mins • 1 pt

What would the following SQL statement do? SELECT forename, surname, age FROM Pupils

Evaluate responses using AI:

OFF

Answer explanation

It would display the forename, surname and age of all the records in the Pupils table.

4.

OPEN ENDED QUESTION

3 mins • 1 pt

What would the following SQL statement do? SELECT * FROM Pupils WHERE gender = "Female"

Evaluate responses using AI:

OFF

Answer explanation

It would display all the records from the Pupils table who are female.

5.

OPEN ENDED QUESTION

3 mins • 1 pt

What would the following SQL statement do? SELECT forename, surname FROM Pupils WHERE age <= 12

Evaluate responses using AI:

OFF

Answer explanation

It would display the forename and surname from all the records in the Pupils table who are age 12 or younger.

6.

OPEN ENDED QUESTION

3 mins • 1 pt

What would the following SQL statement do? SELECT forename, surname FROM Pupils WHERE age = 12 AND gender = "Male"

Evaluate responses using AI:

OFF

Answer explanation

It would display the forename and surname from all the records in the Pupils table who are 12 years old and male.

7.

OPEN ENDED QUESTION

3 mins • 1 pt

What would the following SQL statement do? SELECT * FROM Pupils WHERE age = 12 OR gender = "Female"

Evaluate responses using AI:

OFF

Answer explanation

It would display all the records from the Pupils table who are 12 years old and display all the records that are females.

8.

OPEN ENDED QUESTION

3 mins • 1 pt

What would the following SQL statement do? SELECT * FROM Pupils ORDER BY age

Evaluate responses using AI:

OFF

Answer explanation

It would display all the records from the Pupils table but would have them in ascending order by age (youngest to oldest).

9.

OPEN ENDED QUESTION

3 mins • 1 pt

What would the following SQL statement do? SELECT forename, surname FROM Pupils ORDER BY age DESC

Evaluate responses using AI:

OFF

Answer explanation

It would display the forename and surnames from all the records in the Pupils table but it would have them in descending order by age (oldest to youngest).

Discover more resources for Computers