Introduction to Relational Databases and SQL

0.0(0)
Studied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

flashcard set

Earn XP

Description and Tags

Flashcards for Relational Databases and SQL lecture.

Last updated 9:35 PM on 5/19/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

19 Terms

1
New cards

Foreign Key

Used to relate tables in a relational database; consists of one or multiple columns in a table that refer to the primary key in another table.

2
New cards

Null Value

A value in a cell that means unknown or inapplicable.

3
New cards

Default Value

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

4
New cards

VARCHAR2(n)

Variable-length sequence of ASCII characters (e.g., VARCHAR2(20)).

5
New cards

NUMBER(p,s)

Integer and decimal numbers that contain an exact value (e.g., NUMBER(5), NUMBER(10, 2)).

6
New cards

DATE

Date and time values.

7
New cards

CHAR(n)

Fixed-length sequence of ASCII characters (e.g., CHAR(2)).

8
New cards

FLOAT(p)

Floating-point numbers that contain an approximate value; for very large, very small numbers.

9
New cards

Query

SELECT statement that does not modify user data.

10
New cards

Action Query

INSERT, DELETE, UPDATE statements.

11
New cards

Result set

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

12
New cards

Clause

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

13
New cards

SQL Script

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

14
New cards

DML

Data Manipulation Language: INSERT, DELETE, UPDATE, SELECT

15
New cards

DDL

Data Definition Language: CREATE, ALTER, DROP TABLE, USER, etc.

16
New cards

DCL

Data Control Language: GRANT, REVOKE

17
New cards

Transaction Control Language

COMMIT, ROLLBACK

18
New cards

PL/SQL

Procedural Language extension to SQL with extensions like control structures and error handling.

19
New cards

Embedded SQL

SQL commands embedded inside a programming language like Java.