The 19-year-old student targeted both teachers and pupils in his attack at Vocational School Complex No. 4 in Ostroleka, a city 12 miles north of the capital, Warsaw.