Boys basketball wins sub-state championship