create table Game(
isOn boolean,
playHour int,
isOff boolean,
constraint ck_isOn_hour check ( ? )
);
Constraint : playHour is NULL when isOn = FALSE
Replace the '?' symbol with a valid check for the given constraint.
Any help is much appreciated.