Tag joseph schooling meets michael phelps in 2008 then beats him in 2016 at the rio olympics
I think there may be some inaccuracies in your statement.
Joseph Schooling is a Singaporean swimmer, and Michael Phelps is an American swimmer. According to the records, Michael Phelps and Joseph Schooling did meet in the pool, but not in the way you described.
At the 2016 Rio Olympics, Joseph Schooling, then 21 years old, did indeed beat Michael Phelps, then 31 years old, in the 100-meter butterfly final. Schooling won the gold medal with a time of 50.39 seconds, while Phelps took the silver medal with a time of 51.14 seconds. This was a historic upset, as Phelps had won 22 Olympic medals, including 18 gold medals, prior to that event.
However, I couldn't find any record of Schooling and Phelps meeting in 2008. Schooling was only 15 years old in 2008, and Phelps was already an established Olympic champion, having won 8 gold medals at the 2004 Athens Olympics. It's unlikely that they would have met in a competitive event at that time.
I hope this clears up any confusion!