Expressions table with the Variables table on left_operand to get the value of the left operand.Expressions table with the Variables table on right_operand to get the value of the right operand.CASE statement to evaluate the boolean expression:
Expressions table along with the evaluated value as a new column.erDiagram
Variables {
string name PK
int value
}
Expressions {
string left_operand PK
enum operator PK
string right_operand PK
}