made-join-studyids-must-condition