Relational Databases and SQL Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/20

flashcard set

Earn XP

Description and Tags

Flashcards for Relational Databases and SQL lecture.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

21 Terms

1
New cards

Primary Key

A unique identifier for a record within a table.

2
New cards

Foreign Key

Used to relate tables in a relational database; refers to the primary key in another table.

3
New cards

Null Value

A value in a cell that means unknown or inapplicable.

4
New cards

Default Value

The value used when a value is not provided for a column during row insertion; defined during table creation.

5
New cards

Query

A SELECT statement that does not modify user data.

6
New cards

Action Query

INSERT, DELETE, or UPDATE statements.

7
New cards

Result Set

What is returned from a SELECT statement; includes a set of selected rows and columns.

8
New cards

Clause

Part of a SQL statement, e.g., SELECT clause, FROM clause, etc.

9
New cards

SQL Script

A text file that contains a number of SQL statements; in Oracle, the default extension name is .sql.

10
New cards

VARCHAR2(n)

Variable-length sequence of ASCII characters (Oracle data type).

11
New cards

NUMBER(p,s)

Integer and decimal numbers that contain an exact value (Oracle data type).

12
New cards

DATE

Date and time values (Oracle data type).

13
New cards

CHAR(n)

Fixed-length sequence of ASCII characters (Oracle data type).

14
New cards

FLOAT(p)

Floating-point numbers that contain an approximate value (Oracle data type).

15
New cards

SQL Variant

The implementation of a specific database vendor with possible extensions to standard SQL.

16
New cards

DML

Data Manipulation Language (INSERT, DELETE, UPDATE, SELECT)

17
New cards

DDL

Data Definition Language (CREATE, ALTER, DROP)

18
New cards

DCL

Data Control Language (GRANT, REVOKE)

19
New cards

TCL

Transaction Control Language (COMMIT, ROLLBACK)

20
New cards

PL/SQL

Procedural Language extension to SQL, including control structures and error handling.

21
New cards

Embedded SQL

SQL commands embedded inside a programming language like Java.