Injection Part 2

Injection Part 2

University

10 Qs

quiz-placeholder

Similar activities

Cracking

Cracking

University

10 Qs

Seguridad Web Unidad3

Seguridad Web Unidad3

University

12 Qs

Key and constrain

Key and constrain

University

15 Qs

UTS Basis Data II - ITM

UTS Basis Data II - ITM

University

15 Qs

SQL

SQL

12th Grade - University

10 Qs

Microsoft SQL Server

Microsoft SQL Server

12th Grade - Professional Development

10 Qs

SQL statements 1

SQL statements 1

University

15 Qs

Week 2- lecture Database system

Week 2- lecture Database system

University

9 Qs

Injection Part 2

Injection Part 2

Assessment

Quiz

Computers

University

Hard

Created by

Thalita Vergilio

Used 17+ times

FREE Resource

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>

--

/* */

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?