CREATE TABLE "train_services" (
  "train_no" text,
  "train_name" text,
  "origin" text,
  "destination" text,
  "frequency" text
);

Question: What is number of the train that originated in Secunderabad Junction?
SQL: SELECT "train_no" FROM "train_services" WHERE "origin"='secunderabad junction';

Question: From where did the train that arrived in the Anand Vihar Terminal originate?
SQL: SELECT "origin" FROM "train_services" WHERE "destination"='anand vihar terminal';

Question: From where did Train No. 15929/30 originate?
SQL: SELECT "origin" FROM "train_services" WHERE "train_no"='15929/30';

Question: What is the frequency of the train to Bangalore?
SQL: SELECT "frequency" FROM "train_services" WHERE "destination"='bangalore';

Question: What is the frequency of the Chennai Egmore Dibrugarh Express to Dibrugarh?
SQL: SELECT "frequency" FROM "train_services" WHERE "destination"='dibrugarh' AND "train_name"='chennai egmore dibrugarh express';