DBMS MODULE 4

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/43

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

44 Terms

1
New cards

Subquery

Query inside another SQL query.

2
New cards

Nested Subquery

Subquery executed first, result used by outer query.

3
New cards

Single-row Subquery

Subquery returning exactly one value.

4
New cards

Multiple-row Subquery

Subquery returning multiple values.

5
New cards

Multiple-column Subquery

Subquery returning multiple columns.

6
New cards

IN operator

Used with multi-row subqueries to match any returned value.

7
New cards

ANY operator

Compares value with any returned by subquery.

8
New cards

ALL operator

Compares value with all values returned by subquery.

9
New cards

EXISTS operator

Checks if subquery returns at least one row.

10
New cards

NOT EXISTS operator

Checks if subquery returns zero rows.

11
New cards

Referential Integrity

Ensures FK values match PK values of referenced table.

12
New cards

Foreign Key

Attribute in referencing table pointing to primary key of another table.

13
New cards

Primary Key

Unique identifier for tuples in a table.

14
New cards

Inner Join

Returns rows where matching values exist in both tables.

15
New cards

Equi Join

Join using equality operator in join condition.

16
New cards

Non-Equi Join

Join using non-equality relational operators.

17
New cards

Left Outer Join

Returns matching rows plus all rows from left table.

18
New cards

Right Outer Join

Returns matching rows plus all rows from right table.

19
New cards

Full Outer Join

Returns all rows from both tables with matches where possible.

20
New cards

Self Join

Join where a table is joined with itself.

21
New cards

View

Virtual table based on result of SQL query.

22
New cards

CREATE VIEW

Creates a new view.

23
New cards

DROP VIEW

Removes an existing view.

24
New cards

Updatable View

View that allows DML operations on underlying tables.

25
New cards

Non-updatable View

View that includes aggregates, DISTINCT, GROUP BY, or joins.

26
New cards

Assertion

Database-wide constraint that must always be true.

27
New cards

CREATE ASSERTION

Creates an assertion with a CHECK condition.

28
New cards

Trigger

Procedure executed automatically on INSERT, UPDATE, or DELETE.

29
New cards

BEFORE Trigger

Trigger executed before DML event.

30
New cards

AFTER Trigger

Trigger executed after DML event.

31
New cards

ROW-level Trigger

Trigger executed once per row affected.

32
New cards

STATEMENT-level Trigger

Trigger executed once per SQL statement.

33
New cards

Database Security

Mechanisms to protect data from unauthorized access or misuse.

34
New cards

Authorization

Permissions given to users to access or modify data.

35
New cards

Read Authorization

Permission to read data from table.

36
New cards

Insert Authorization

Permission to insert tuples.

37
New cards

Update Authorization

Permission to update existing tuples.

38
New cards

Delete Authorization

Permission to delete tuples.

39
New cards

Resource Authorization

Permission to create tables, alter schema, and manage resources.

40
New cards

GRANT

Command to assign privileges to a user.

41
New cards

REVOKE

Command to remove privileges from a user.

42
New cards

WITH GRANT OPTION

Allows user to pass granted privileges to others.

43
New cards

Cascade Revoke

Automatic removal of privileges passed on by a user whose rights were revoked.

44
New cards

Explore top flashcards