Narrative:

My student was on his second supervised solo when he became part of an near midair collision. Left downwind abeam the tower, my student reported traffic in sight. (Later he said it was the wrong traffic.) he was cleared to land. As I watched him on short final, I noticed another aircraft somewhat near him. As I continued to watch, I noticed they were right on top of each other. Another instructor in the pattern advised the tower. Contacted tower, started to tell traffic to go around, but did not know what 2 aircraft were involved. My student had to make an immediate climbing left 90 degree turn to avoid traffic.

Google
 

Original NASA ASRS Text

Title: C172 STUDENT PLT AND A C172 HAD AN NMAC IN PRC CLASS D AIRSPACE.

Narrative: MY STUDENT WAS ON HIS SECOND SUPERVISED SOLO WHEN HE BECAME PART OF AN NMAC. L DOWNWIND ABEAM THE TWR, MY STUDENT RPTED TFC IN SIGHT. (LATER HE SAID IT WAS THE WRONG TFC.) HE WAS CLRED TO LAND. AS I WATCHED HIM ON SHORT FINAL, I NOTICED ANOTHER ACFT SOMEWHAT NEAR HIM. AS I CONTINUED TO WATCH, I NOTICED THEY WERE RIGHT ON TOP OF EACH OTHER. ANOTHER INSTRUCTOR IN THE PATTERN ADVISED THE TWR. CONTACTED TWR, STARTED TO TELL TFC TO GO AROUND, BUT DID NOT KNOW WHAT 2 ACFT WERE INVOLVED. MY STUDENT HAD TO MAKE AN IMMEDIATE CLBING L 90 DEG TURN TO AVOID TFC.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.