group by table_name doesn't make sense if filtered by table_name