SQL Injection

SQL Injection

8th Grade

10 Qs

quiz-placeholder

Similar activities

Intermediate level quiz

Intermediate level quiz

6th - 8th Grade

13 Qs

SQL QUIZ

SQL QUIZ

8th Grade

10 Qs

SQL SELECT

SQL SELECT

8th - 10th Grade

10 Qs

Baze podataka - 8. razred

Baze podataka - 8. razred

8th Grade

14 Qs

Format Cells in Excel

Format Cells in Excel

6th Grade - Professional Development

10 Qs

Excel Conditional Formatting, Hiding, Unhiding

Excel Conditional Formatting, Hiding, Unhiding

6th Grade - Professional Development

10 Qs

Inkscape Glossaries

Inkscape Glossaries

7th - 10th Grade

13 Qs

SQL Bronze Quiz

SQL Bronze Quiz

8th - 10th Grade

15 Qs

SQL Injection

SQL Injection

Assessment

Quiz

Computers

8th Grade

Medium

Created by

J Giblin

Used 65+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?