Sql Set 2

Sql Set 2

University

10 Qs

quiz-placeholder

Similar activities

Introdução às Consultas SQL

Introdução às Consultas SQL

12th Grade - University

10 Qs

SQL basic query

SQL basic query

University

7 Qs

ทดสอบปลายภาค

ทดสอบปลายภาค

University

10 Qs

DIM Chapter 4 - RDBMS

DIM Chapter 4 - RDBMS

University

7 Qs

Introduction to SQL Quiz

Introduction to SQL Quiz

University

11 Qs

Quis 4 Teori PJV

Quis 4 Teori PJV

University

10 Qs

01 Databases Overview

01 Databases Overview

University

10 Qs

Chapter 17 กลุ่มคำสั่ง   Data Manipulation Language (DML)

Chapter 17 กลุ่มคำสั่ง Data Manipulation Language (DML)

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?