human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Sl. No., Train number, Train name, Origin, Destination, Time, Service, Route/Via.
###Question: What is the train number when the time is 10:38?
gpt
SELECT MAX Train number FROM table WHERE Time = 10:38