The getQuota function is used for returning band and quota information for the given band_id (all entries from jamroom_band_info and jamroom_quota tables).