Search Header Logo

Injection Part 2

Authored by Thalita Vergilio

Computers

University

Used 17+ times

Injection Part 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The SQL keyword to only display rows matching a specified condition is...

FILTER

MATCH

WHERE

SORT

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SELECT name FROM users ORDER BY age DESC LIMIT 1;

shows the names of all users in age order

shows the names of all users in reverse age order

shows only the age of the youngest user

shows only the name of the oldest user

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The SQL keyword used to combine the results of two SELECT statements is...

COMBINE

JOIN

UNION

CONCAT

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SELECT SUBSTRING('HARIBO', 3, 1);

returns "HAR"

returns "HARI"

returns "H"

returns "R"

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The SQL keyword to order records by the column(s) specified is...

ORDER BY

SEQUENCE BY

SORT BY

UNION

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SELECT username FROM users WHERE password = '' OR 1=1;

returns all usernames that have a blank password

returns all usernames from the users table

returns all rows and columns from the users table

returns all passwords from the users table

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which is not correct SQL syntax to specify a comment?

#

<comment></comment>

--

/* */

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?