Injection Part 2

Injection Part 2

University

10 Qs

quiz-placeholder

Similar activities

Apache Hive - Introduction

Apache Hive - Introduction

University

15 Qs

Java server pages

Java server pages

University

10 Qs

WAI-Kaggle-Quiz

WAI-Kaggle-Quiz

University

10 Qs

Relational database

Relational database

University

12 Qs

Migraciones

Migraciones

University

10 Qs

SQL Queries

SQL Queries

University

10 Qs

Week 3- lecture (DATA MODELS)

Week 3- lecture (DATA MODELS)

University

13 Qs

Kaun Banega Crorepati

Kaun Banega Crorepati

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?