Exochemistry was one of the courses taught at Starfleet Academy.
When Guinan mixed the complex Tzartak aperitif in 2368, Captain Picard commented that he hadn't seen such a complex operation since his Academy lab final in exochemistry. (TNG: "Time's Arrow")