Skip to content
free
K
1
2
practice
Home
Math
English
Science
Social Studies
Contact
Language
English
Español
Sign In
/
High School Electives
/
Computer Science
/
Relational Data and Relationships
Grade Level
Computer Science
HSCS.206 Relational Data and Relationships
0%
Skill Level
🔴 Hard
00:00
Progress to Next Level
25% to Medium
Easy
Medium
Hard
Mastery
100%
A document system stores version history. One document can have many versions, and each version belongs to one document. Which schema avoids overwriting earlier versions?
A
Documents(document_id PK, title, version1_hash, version2_hash, version3_hash)
B
Documents(document_id PK, title, current_content_hash) only, replacing it each time
C
Documents(document_id PK, title, owner_id FK); DocumentVersions(version_id PK, document_id FK, version_number, saved_at, content_hash)
D
DocumentVersions(version_id PK, document_title, owner_id, version_number, saved_at) with document data copied and no document_id
Submit Answer