Simple SQL

Simple SQL

University

10 Qs

quiz-placeholder

Similar activities

POC-II Test-3

POC-II Test-3

University - Professional Development

11 Qs

İleri Uzman Seviye Excel Testi

İleri Uzman Seviye Excel Testi

University

15 Qs

Examen de Administración de Base de Datos

Examen de Administración de Base de Datos

University

10 Qs

Hash Tables Quiz

Hash Tables Quiz

University

15 Qs

Introduction to Engineering Economics

Introduction to Engineering Economics

University

10 Qs

CH2 - DESIGNING TRAINING

CH2 - DESIGNING TRAINING

University

10 Qs

ACTIVITY on Lesson 3 Complexities of Data

ACTIVITY on Lesson 3 Complexities of Data

University

15 Qs

AIS275 Chapter 1-1 Database Systems

AIS275 Chapter 1-1 Database Systems

University

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