Connect department and housing tables