서브 쿼리를 사용한mysql 업데이트 쿼리 아래 문의의 문제점을 알 수 있는 사람이 있습니까? 실행 시 얻을 수 있는 것은 다음과 같습니다. #1064 - SQL 구문에 오류가 있습니다. MySQL Server 버전에 해당하는 설명서에서 'a where a' 근처에서 사용할 올바른 구문을 확인하십시오.경쟁.ID = 경쟁사.경쟁.8행의 ID' Update Competition Set Competition.NumberOfTeams = ( SELECT count(*) as NumberOfTeams FROM PicksPoints where UserCompetitionID is not NULL group by CompetitionID ) a where a.CompetitionID = Competition.Comp..