Search Header Logo
SQL RE-DO

SQL RE-DO

Assessment

Presentation

•

Computers

•

9th - 10th Grade

•

Practice Problem

•

Medium

Created by

Sam James

Used 2+ times

FREE Resource

12 Slides • 15 Questions

1

SQL Structured Query Language

a domain-specific language used to manage data.

2

Multiple Choice

What does SQL stand for?

1
Structured Query List
2
Structured Query Language
3
Simple Query Language
4
Standard Query Language

3

When selecting data all you need is the column name and table name

SELECT *
FROM table_name;

4

Multiple Choice

What does * mean in SQL?

1

SELECT

2

COMMAND

3

all columns

4

Multiply

5

Delete

5

When selecting data all you need is the column name and table name

SELECT column1, column2, ...
FROM table_name;

SELECT *
FROM table_name;

6

Open Ended

What is the different outputs between these SQL comands

SELECT column1, column2, ...
FROM table_name;

and

SELECT *
FROM table_name;

7

Multiple Choice

With SQL, how do you select a column named "FirstName" from a table named "Persons"?

1
SELECT FirstName FROM People;
2
SELECT FirstName FROM Users;
3
SELECT FirstName FROM Persons;
4
SELECT Name FROM Persons;

8

Multiple Choice

With SQL, how do you select a column named "LastName" from a table named "Persons"?

1
GET LastName FROM Persons;
2
SELECT LastName WHERE Persons;
3
SELECT LastName FROM Persons;
4
SELECT * FROM Persons;

9

Multiple Choice

With SQL, how do you select a column named "CarModel" from a table named "Cars"?

1
SELECT * FROM Cars;
2
SELECT CarModel FROM Cars;
3
FROM Cars SELECT CarModel;
4
SELECT CarModel WHERE Cars;

10

From

"From" is always the tables name.

11

Multiple Choice

Question image

What is the name of this table?

1
events
2
activities
3
records
4
logs

12

Multiple Choice

Question image

What is the name of this table?

1
Scores
2
Grades
3
Subjects
4
Results

13

Write and SQL statement that shows all fields for this table

media

14

Fill in the Blanks

Write an SQL statement that shows all fields for this table

SELECT *

tblOrders;

15

Fill in the Blanks

Write an SQL statement that shows all fields for this table

SELECT

Type answer...

From tblOrders;

16

Where

Where functions similar to an "IF" statement in python.

It is used to extract only those records that fulfill a specified condition.

17

media
​What will happen?

18

What does happen!
media

19

​What will happen?
media

20

What does happen!
media

21

​Where will happen?

media

22

What does happen!
media

23

Dropdown

​
*
​
Customers
​
CustomerID > 80;

24

Dropdown

SELECT​ ​

FROM​ ​

​WHERE CustomerID ​
80;

25

Open Ended

The following SQL statement is written to display all customer bookings that stay more than one night.
SELECT ALL

FROM TblBookings

IF Nights < 1

The SQL statement is incorrect. Rewrite the SQL statement so that it is correct.

26

Open Ended

Question image

Write an SQL statement for the following:

display all suppliers in "Tokyo"

the table name is Suppliers

27

Open Ended

Question image

Write an SQL statement for the following:

Table is call Orders

Display all fields if the EmployeeID is 4 and the orderDate is 7/8/1996

pattern-tertiary

SQL Structured Query Language

a domain-specific language used to manage data.

Show answer

Auto Play

Slide 1 / 27

SLIDE