Simple SQL

Simple SQL

University

10 Qs

quiz-placeholder

Similar activities

AGORA 2021

AGORA 2021

8th Grade - Professional Development

15 Qs

communication engineering online activity

communication engineering online activity

University

11 Qs

Marketing Positioning Quiz

Marketing Positioning Quiz

University

10 Qs

RIDDLES AND JOKES

RIDDLES AND JOKES

1st Grade - Professional Development

10 Qs

OS(II UNIT)

OS(II UNIT)

University

15 Qs

Week 16 - Primary Survey Recap

Week 16 - Primary Survey Recap

University - Professional Development

12 Qs

R U Smarter than a 9th Grader

R U Smarter than a 9th Grader

KG - University

11 Qs

Introduction to statistics

Introduction to statistics

University

10 Qs

Simple SQL

Simple SQL

Assessment

Quiz

Other

University

Practice Problem

Easy

Used 31+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which SQL statement is used to create a table?

FORM TABLE
GENERATE TABLE
CREATE TABLE
PRODUCE TABLE

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

With SQL, how do you select all the columns from a table named "Persons"?

SELECT Persons
SELECT * FROM Persons
SELECT ALL FROM Persons
None of the above

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which SQL statement is used to insert new data in a database?

ADD NEW.....INTO

ADD INTO.....VALUES

INSERT VALUES ....INTO

INSERT INTO ....VALUES

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which SQL keyword is used to sort the result-set?

ORDER BY
SORT BY
DESC BY
ACS BY

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

With SQL, how do you select column Name from table "Persons" where the name starts with an "a"?

SELECT Name FROM Persons WHERE Name = 'a'
SELECT * FROM Persons WHERE Name LIKE '%a'
SELECT Name FROM Persons WHERE Name LIKE 'a%'
SELECT * FROM Persons WHERE Name LIKE '%a%'

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

When I want to delete a table, I should use:

DELETE TABLE

REMOVE TABLE

DROP TABLE

IGNORE TABLE

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Suppose you want to multiply two columns, i.e. quantity purchase with unit price to get the new column value from table Order. Select the correct command.

SELECT (Qty MULTIPLY UnitPrice) FROM Order;

SELECT (Qty * UnitPrice) FROM Table Order;

SELECT (Qty * UnitPrice) AS 'Total Value' FROM Order;

SELECT (Qty * UnitPrice) = 'Total Value' FROM Table Order;

Access all questions and much more by creating a free account

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

Already have an account?