database management system

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/30

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

31 Terms

1
New cards

Insert

Which of the following is not part of data control language?

2
New cards

CREATE

Which of the following is not part of transaction control?

3
New cards

Alter

Which of the following is not part of data manipulation language?

4
New cards

relationship

It is an association among several entities.

5
New cards

Dr. E.F Codd

He proposed the relational model for database systems in 1970.

6
New cards

explicit

A type of insert statement that specify the NULL keyword in the VALUES clause

7
New cards

ALTER TABLE EMPLOYEES

MODIFY JOB_ID CHAR(10);

Which of the following is the correct example of modifying the column JOB_ID? Change the datatype size to 10

8
New cards

table

Basic unit of storage composed of rows and columns

9
New cards

ADD

An alter statement that is used to add new column to the table

10
New cards

INSERT

A type of DML statement that is use to add new rows in a table

11
New cards

Transaction

Consists of a collection of DML statements that form a logical unit of work

12
New cards

TRUNCATE TABLE EMPLOYEES;

Which of the following is the correct example of truncating the table EMPLOYEES?

13
New cards

ALTER TABLE EMPLOYEES

MODIFY LASTNAME VARCHAR(20);

Which of the following is the correct example of modifying the column lastname? Change the datatype size to 20.

14
New cards

rename

A statement that is use to rename the table or change the existing name of the table

15
New cards

INSERT

A type of DML statement that is use to add new rows in a table

16
New cards

All rows are deleted but the table is still intact

Suppose that a user uses the DELETE statement as shown below: what is/are the possible output

17
New cards

MODIFY

An alter statement that is used to update an existing column datatype or datatype size

18
New cards

View

It logically represents subsets of data from one or more table

19
New cards

ALTER TABLE STUDENTS
ADD CITY CHAR(10);

Suppose that a user wanted to add a new column name as CITY datatype set to char size 10. Which of the following is the correct sql statement?

20
New cards

UPDATE STUDENTS
SET LASTNAME = ‘SANTOS’, YR_LVL = ‘IRREG’
WHERE USN_ID = 50;

Suppose that a user wanted to update the lastname of student to ‘Santos’ and YR_LVL to ‘Irreg’ whose USN_ID is equal to 50, in one select statement which of the following is the correct sql statement to use

21
New cards

Insert new row in a table

Which of the following is not true about ALTER statement?

22
New cards

Implicit

A type of insert statement that omit the column from the column list

23
New cards

ADD

An alter statement that is used to add new column to the table

24
New cards

ALTER TABLE STUDENTS
MODIFY ADDRESS VARCHAR(20);

Suppose that a user wanted to change the datatype of column ADDRESS from Varchar to Char which of the following is the correct example

25
New cards


Table

Basic unit of storage composed of rows and columns

26
New cards

DROP

An alter statement that is used to delete an existing column in the table

27
New cards

DELETE

A type of DML statement that is use to remove existing rows in a table

28
New cards

INT

Which of the following datatype is not being used in oracle?

29
New cards

Explicit

A type of insert statement that specify the NULL keyword in the VALUES clause

30
New cards

Transaction

Consists of a collection of DML statements that form a logical unit of work

31
New cards

UPDATE

A type of DML statement that is use to update existing rows in a table