Injection Part 2

Injection Part 2

University

10 Qs

quiz-placeholder

Similar activities

MongoDB Primer

MongoDB Primer

University

10 Qs

Introduction to database systems

Introduction to database systems

University

10 Qs

Data base Management System

Data base Management System

University

11 Qs

SQL Queries

SQL Queries

University

10 Qs

[Test Run - Quiz] SAFE SQL Workshop: Communicate with Database

[Test Run - Quiz] SAFE SQL Workshop: Communicate with Database

University

10 Qs

SQL

SQL

University

10 Qs

PostTest

PostTest

University

10 Qs

Advanced Database Systems - Prelim Quiz

Advanced Database Systems - Prelim Quiz

University

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