1.2 - Data Models and Query Languages Flashcards

(5 cards)

1
Q

What is the main distinction between the relational and document data models?

A

The relational model uses normalized tables with relations, while document models store nested structures in a single document.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What problem does the object-relational mismatch refer to?

A

The difficulty of mapping complex application objects to relational database schemas.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a graph data model suitable for?

A

Applications with highly connected data, such as social networks and recommendation systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name a common query language for property graphs.

A

Cypher.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are declarative query languages?

A

Languages where you specify what data you want, not how to get it (e.g., SQL).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly