not null in single table works