forgot write as view as table