How many trains are going from Chennai to Guruvayur?
select count(*) from train where origin = 'Chennai' and destination = 'Guruvayur';
What times are they each going?
select time from train where origin = 'Chennai' and destination = 'Guruvayur';
Find both train number and time.
select train_number, time from train where origin = 'Chennai' and destination = 'Guruvayur';