DEV Community

Discussion on: Algebraic data types in SQL

Collapse
 
koredefashokun profile image
Oluwakorede Fashokun

Thanks for the suggestion. I hadn't considered just having nullable field on the answer table representing the question variants. It does make sense. I'll also check if there are constraints that prevent more than one of those columns being non-null.