Handle the JOIN command