Sql Set 2

Sql Set 2

University

10 Qs

quiz-placeholder

Similar activities

DS

DS

University

8 Qs

Test Development

Test Development

University

10 Qs

Basic First Aid Quiz

Basic First Aid Quiz

12th Grade - University

15 Qs

Culture Workshop

Culture Workshop

KG - Professional Development

10 Qs

Business Ethics

Business Ethics

University

10 Qs

BAC1054 Process Costing

BAC1054 Process Costing

University

15 Qs

UK Knowledge Test

UK Knowledge Test

University

10 Qs

BCSI AWARENESS

BCSI AWARENESS

KG - Professional Development

15 Qs

Sql Set 2

Sql Set 2

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

ESPARK 2023

Used 1+ 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

10 sec • 1 pt

Which of the following do you need to consider when you make a table in SQL?

A. Data types

B. Primary keys

C. Default values

D. All of the above.

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

SQL query and modification commands make up a(n) ________ .

A. DDL

B. DML

C. HTML

D. XML

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Find the SQL statement below that is equal to the following: SELECT NAME FROM CUSTOMER WHERE STATE = 'VA';

A. SELECT NAME IN CUSTOMER WHERE STATE IN ('VA');

B. SELECT NAME IN CUSTOMER WHERE STATE = 'VA';

C. SELECT NAME IN CUSTOMER WHERE STATE = 'V';

D. SELECT NAME FROM CUSTOMER WHERE STATE IN ('VA');

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

To define what columns should be displayed in an SQL SELECT statement:

A. use FROM to name the source table(s) and list the columns to be shown after SELECT.

B. use USING to name the source table(s) and list the columns to be shown after SELECT.

C. use SELECT to name the source table(s) and list the columns to be shown after USING.

D. use USING to name the source table(s) and list the columns to be shown after WHERE.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a DDL command?

A.UPDATE

B.TRUNCATE

C.ALTER

D.None of the mentioned

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following statement is true?

A.DELETE does not free the space containing the table and TRUNCATE free the space containing the table

B.Both DELETE and TRUNCATE free the space containing the table

C.Both DELETE and TRUNCATE does not free the space containing the table

D.DELETE free the space containing the table and TRUNCATE does not free the space containing the table

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The COUNT function in SQL returns the number of _____

A.Values

B.Distinct values

C.Group by

D.Columns

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?