What are the origins of all trains?
select origin from train;
Which origin has the most number of trains?
select origin from train group by origin order by count(*) desc limit 1;
Find the number of trains starting from each origin.
select origin, count(*) from train group by origin;