Sql Set 2

Sql Set 2

University

10 Qs

quiz-placeholder

Similar activities

Games Materi

Games Materi

University

10 Qs

Modul 8

Modul 8

University

10 Qs

Lenguaje SQL

Lenguaje SQL

University

13 Qs

AL7KAMC

AL7KAMC

KG - University

10 Qs

DATABASE LEVEL 1

DATABASE LEVEL 1

University

15 Qs

JSP

JSP

University

10 Qs

SQL set 3

SQL set 3

University

10 Qs

Aaruth Quiz

Aaruth Quiz

University

10 Qs

Sql Set 2

Sql Set 2

Assessment

Quiz

Other

University

Hard

Created by

ESPARK 2023

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?