SQL Injection

SQL Injection

8th Grade

10 Qs

quiz-placeholder

Similar activities

Basics of Banking

Basics of Banking

8th Grade

11 Qs

Computer System

Computer System

8th - 9th Grade

10 Qs

Interstate Competition

Interstate Competition

7th - 10th Grade

11 Qs

CSS (background-position-list)

CSS (background-position-list)

1st Grade - University

10 Qs

Hardware Components

Hardware Components

8th Grade

11 Qs

Variables and Functions

Variables and Functions

KG - University

10 Qs

NotchUp - Scratch My First Quiz

NotchUp - Scratch My First Quiz

1st - 8th Grade

8 Qs

ICT and Retail Industry

ICT and Retail Industry

8th - 12th Grade

13 Qs

SQL Injection

SQL Injection

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Created by

J Giblin

Used 67+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to extract data from a database?

Extract

Get

Open

Select

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you were wanting to filter data, which clause would you use?

Where

Order by

From

Select

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Using which word allows you to specify that more than one condition must be met in a query?

Also

And

Or

Where

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the SQL query pictured do?

Find all the men

Find all of the female writers

Find all of Elgar's friends

Find all the male writers

Find all the fish

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how do you select all the columns from a table named "Persons"?

 SELECT [all] FROM Persons
 SELECT *.Persons
 SELECT * FROM Persons
 SELECT Persons

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Write a code for the following: Return all romances that have an imdb_rating over 6.

SELECT * FROM movies WHERE genre = ‘romance’ AND imdb_rating > 6;
SELECT * FROM movies WHERE genre = ‘romance’ AND imdb_rating < 6;
SELECT imdb_rating, name FROM movie WHERE genre = ‘romance’ AND imdb_rating > 6;
SELECT * FROM movies WHERE genre = romance and imdb_rating < 6;

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Return all dramas made after 2004.

SELECT * FROM movies WHERE genre = 'drama';
SELECT * FROM movies WHERE genre = 'drama' AND year > 2004;
SELECT * FROM movies WHERE genre = "drama' AND year < 2004;
SELECT * FROM movies WHERE imdb_rating = 7 AND LIMIT = 7

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?