You are on page 1of 5

6/26/2021 Basic SQL - Google Forms

Basic SQL

Questions Responses 50 Total points: 10

Basic SQL
Form description

This form is automatically collecting emails for Anil Neerukonda Institute of Technology & Sciences
users. Change settings

Which command allows the removal of all rows from a table but flushes a table more efficiently *
since no rollback information is retained:

TRUNCATE

Create

Drop

Alter

SQL has how many main commands for DDL: *

https://docs.google.com/forms/d/1b9qZh24YRvaMqg2wuNl6uuNm-KZV2stNfkSsOQ-YGb0/edit 1/5
6/26/2021 Basic SQL - Google Forms

___________ defines rules regarding the values allowed in columns and is the standard *
mechanism for enforcing database integrity.

column

constraint

index

trigger

Which keyword is used to retrieve the unique from the table? *

distinct

all

https://docs.google.com/forms/d/1b9qZh24YRvaMqg2wuNl6uuNm-KZV2stNfkSsOQ-YGb0/edit 2/5
6/26/2021 Basic SQL - Google Forms

where

order by

The clause used to display the data in descending order is *

order by column_name asc

order by column_name

order by column_name desc

order by column_name descending order

The clause used to retrieve selective tuples from the table is *

where

having

order by

none of the above

https://docs.google.com/forms/d/1b9qZh24YRvaMqg2wuNl6uuNm-KZV2stNfkSsOQ-YGb0/edit 3/5
6/26/2021 Basic SQL - Google Forms

The wild characters used along with 'LIKE' are *

*,%

_, %

_, *

?, *

The use of 'BETWEEN' in the where clause implies *

"greater than" and "less than"

"greater than" and "less than or equal to"

"greater than or equal to" and "less than"

"greater than equal to" and "less than or equal to"

DML consists of *

insert, update, delete

create, alter, drop

https://docs.google.com/forms/d/1b9qZh24YRvaMqg2wuNl6uuNm-KZV2stNfkSsOQ-YGb0/edit 4/5
6/26/2021 Basic SQL - Google Forms

create, truncate, delete

insert, truncate, delete

"GRANT" and "REVOKE" are part of *

DDL

DML

DCL

TCL

https://docs.google.com/forms/d/1b9qZh24YRvaMqg2wuNl6uuNm-KZV2stNfkSsOQ-YGb0/edit 5/5

You might also like