Database & SQL Concepts final

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

1/53

flashcard set

Earn XP

Description and Tags

These flashcards cover key concepts, definitions, and understandings related to databases and SQL as discussed in the lecture.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

54 Terms

1
New cards

What does SQL stand for?

Structured Query Language.

2
New cards

Which is NOT one of the responsibilities of a DBMS?

Display query results.

3
New cards

The first step in the design and development of a database is to:

Define the purpose of the database.

4
New cards

In which architecture does the application reside on local computers?

Client/Server architecture.

5
New cards

Which type of architecture requires the most network bandwidth?

Client/Server architecture.

6
New cards

Another term for the DBMS in an information system is:

The engine.

7
New cards

What kind of system uses multiple databases with both internal and external data?

None of the listed answers.

8
New cards

Which of the following is best described as a TPS system?

Point of Sale System.

9
New cards

What kind of system captures information about detailed business operations?

TPS system.

10
New cards

Dumb terminals belong to which type of database architecture?

Mainframe Architecture.

11
New cards

A type of database used for strategic analysis is called:

Online Analytical Processing database.

12
New cards

What are two important pieces of information stored in a database about an entity?

Identifiers and Attributes.

13
New cards

A type of database used for daily business processing is called:

Online Transaction Processing database.

14
New cards

Which is NOT one of the beneficial uses of data mining?

Correcting account balances.

15
New cards

What does the database schema define?

The keys and indices required.

16
New cards

The SQL statement used to change data in an existing row is:

Update.

17
New cards

Which SQL statement is used to remove rows from a table?

Delete.

18
New cards

The process of linking records in different tables is called:

Joining.

19
New cards

Which clause identifies the tables the query should access?

FROM.

20
New cards

To eliminate duplicate values in SQL, you use which keyword?

Distinct.

21
New cards

The order of precedence for AND, OR, and NOT is:

NOT, AND, OR.

22
New cards

Conditions connected by OR will be true when:

Either condition is true.

23
New cards

The SQL statement used to insert new rows into a table is:

Insert.

24
New cards

The clause that specifies how rows in the query result should be sorted is:

ORDER BY.

25
New cards

To sort in reverse alphabetical order, you use the keyword:

DESC.

26
New cards

Conditions connected by AND will be true when:

Only when both conditions are true.

27
New cards

String literal values are always represented:

Surrounded by single quotation marks.

28
New cards

The clause that gives the condition for selecting rows is:

WHERE.

29
New cards

In an SQL SELECT statement, * means:

List all columns.

30
New cards

A single member of a set is called:

An instance.

31
New cards

UML stands for:

Unified Modeling Language.

32
New cards

The set of all instances with the same characteristics is called:

An entity.

33
New cards

A property of the instances in an entity set is called:

An attribute.

34
New cards

Connections or links between instances in one entity set with those in another describes:

Relationships.

35
New cards

Tangible things (e.g., car, person) are examples of:

Entities.

36
New cards

Which type of relationship links instances of an Entity Set to instances of the same set?

Unary.

37
New cards

The number of instances in one Entity that are related to a single instance in another describes:

Cardinality.

38
New cards

What is the relationship between STUDENT and PERMIT in the described scenario?

Mandatory one-to-one relationship.

39
New cards

What is the relationship between CLASSROOM and CLASS in the described scenario?

One-to-many (optional many, mandatory one).

40
New cards

In the relational model, a unique row identifier is called:

Candidate key.

41
New cards

In the relational model, a column that connects one table to another is called:

Foreign key.

42
New cards

An internally generated value unique to a row in a table is called:

Object identifier.

43
New cards

If a relation's key has more than one column, it is:

Composite.

44
New cards

If a relation is in Third Normal Form, it is also in:

Second Normal Form.

45
New cards

In the relational model, a row in a table is called:

Tuple.

46
New cards

The rule that no key column value may be null is called:

Entity integrity.

47
New cards

A unique row identifier with meaning outside the computer system is called:

External key.

48
New cards

A rule that says one column's value determines another column's value is called:

Functional dependency.

49
New cards

If a data value is null, it:

May be unknown.

50
New cards

In standard relational notation, underlined column names identify:

The relation's key.

51
New cards

In standard relational notation, a comma-separated list of names identifies:

The attributes.

52
New cards

The rule that a foreign key must be null or have an actual key value is called:

Referential integrity.

53
New cards

The rule that every attribute value must be atomic is called:

First Normal Form.

54
New cards

If a portion of a relation's key is a determinant, then the relation violates:

Second Normal Form.