The instructor is clearly wrong with the use of the substring() function of MYSQL.
To try and extract the 6th character of the version, he used substring(version(),6,6)=6--
He clearly didn’t even think to research the correct syntax which is substring("string", start at position n, extract n characters)