sql queries - 2

sql queries - 2

Assessment

Flashcard

Computers

12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

16 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which would show all fields from the Pupils table? Options: SELECT * FROM Pupils, SELECT Name, Form FROM Pupils, SELECT * FROM *, SELECT * FROM Forms

Back

SELECT * FROM Pupils

2.

FLASHCARD QUESTION

Front

Which Symbol means "All"? Options: *, &, %, !

Back

*

3.

FLASHCARD QUESTION

Front

Which would find pupils with "er" anywhere in their name? Options: SELECT * FROM Pupils Where Name = "%er"; SELECT * FROM Pupils Where Name = "$er$"; SELECT * FROM Pupils Where Name = "%er%"; SELECT * FROM Pupils Where Name = "er%"

Back

SELECT * FROM Pupils Where Name = "%er%"

4.

FLASHCARD QUESTION

Front

What is it called when SQL is used in an attempt to harm a database?

Back

SQL Injection

5.

FLASHCARD QUESTION

Front

Choose the correct query: SELECT * FROM EMP WHERE NAME=NULL, SELECT * FROM EMP WHERE NAME IS NULL;, SELECT FROM EMP WHERE NAME IS NULL;, SELECT *FROM EMP WHERE NAME IS 'NULL';

Back

SELECT * FROM EMP WHERE NAME IS NULL;

6.

FLASHCARD QUESTION

Front

The restrictions or conditions applied on data are known as ______________

Back

Constraints

7.

FLASHCARD QUESTION

Front

The primary key of a table which is present in another table for referencing is known as ________________________

Back

Foreign Key

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?