Injection Part 2

Injection Part 2

University

10 Qs

quiz-placeholder

Similar activities

DBMS

DBMS

University

9 Qs

Defensive Design

Defensive Design

KG - University

11 Qs

Quiz 4: MySQL Database

Quiz 4: MySQL Database

University

10 Qs

UTS Basis Data II - ITM

UTS Basis Data II - ITM

University

15 Qs

Database Design & Development- Testing & Security 1

Database Design & Development- Testing & Security 1

University

12 Qs

Database Introduction 1

Database Introduction 1

University

9 Qs

Web Development Seminar

Web Development Seminar

University

15 Qs

SQE Unit 3

SQE Unit 3

University

10 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?