summary table and view