Advanced Database Systems – Lecture 1 Review

0.0(0)
studied byStudied by 1 person
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/43

flashcard set

Earn XP

Description and Tags

Fill-in-the-blank flashcards covering fundamental terms, SQL clauses, operators, and functions from the Advanced Database Systems lecture.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

44 Terms

1
New cards

A __ is a collection of structured data organized for easy access, management, and updating.

database

2
New cards

Software that lets users create, read, update, and delete data in a database is called a __.

Database Management System (DBMS)

3
New cards

A relational database organizes data into and .

rows, columns (tables)

4
New cards

Rows in a relational table are also called __.

records

5
New cards

The intersection of a row and a column that holds the actual value is called a __.

field

6
New cards

In an ERD, an entity’s characteristics become __ when translated to a physical table.

columns (attributes)

7
New cards

Every column must have a unique __ within its table.

name

8
New cards

The column property that specifies what kind of data can be stored is the __.

data type

9
New cards

A column defined as __ must always have a value and cannot be NULL.

NOT NULL

10
New cards

The __ constraint ensures all values in a column are different.

UNIQUE

11
New cards

A __ key uniquely identifies each row in a table.

primary

12
New cards

A __ key links a column to the primary key of another table.

foreign

13
New cards

The auto-generated unique number used typically on a primary key column is provided by the __ attribute.

AUTO-INCREMENT

14
New cards

A __ value represents the absence or unknown state of data.

NULL

15
New cards

An empty string ('') indicates a value is present but contains __ characters.

no

16
New cards

Selecting specific columns from a table without filtering rows is called __.

projection

17
New cards

Retrieving rows that satisfy a condition is the __ operation.

selection

18
New cards

Combining rows from two tables based on common columns is known as __.

joining

19
New cards

DDL stands for __.

Data Definition Language

20
New cards

Retrieving data with SELECT belongs to the __ category of SQL.

DQL (Data Query Language)

21
New cards

In SELECT syntax, the * symbol returns __ columns.

all

22
New cards

The clause that filters records based on a condition before grouping is __.

WHERE

23
New cards

The __ clause arranges identical data into groups.

GROUP BY

24
New cards

The aggregate function that returns the total of a numeric column is __().

SUM

25
New cards

The __ clause filters groups after aggregation.

HAVING

26
New cards

By default, ORDER BY sorts data in __ order.

ascending

27
New cards

The LIMIT clause restricts the __ of rows returned.

number

28
New cards

Temporary names assigned to columns or tables in a query are called __.

aliases

29
New cards

The SQL operator that requires all conditions to be true is __.

AND

30
New cards

In the LIKE pattern, % represents __ or more characters.

zero

31
New cards

The IN operator provides a shorthand for multiple __ conditions.

OR

32
New cards

The NOT operator reverses the __ result of a condition.

Boolean (logical)

33
New cards

The IS NULL operator checks whether a column __ a value.

contains no (is NULL)

34
New cards

The BETWEEN operator is inclusive of the and values.

start, end

35
New cards

EXCEPT returns rows that appear in the first result set but not in the __.

second

36
New cards

UNION by default eliminates __ rows.

duplicate

37
New cards

The __() function combines two or more strings into one.

CONCAT

38
New cards

ABS() returns the __ value of a number.

absolute

39
New cards

CURDATE() returns the current __.

date

40
New cards

DATEFORMAT() formats a date according to a specified ___.

pattern (format code)

41
New cards

A __ is a query placed inside another query and executed first.

subquery (inner query)

42
New cards

A subquery that references columns from the outer query is called a __ subquery.

correlated

43
New cards

The EXISTS operator tests for the __ of at least one row returned by a subquery.

existence

44
New cards

DATEDIFF() returns the number of __ between two dates.

days