CREATE TABLE "rail" (
  "train_number" text,
  "train_name" text,
  "origin" text,
  "destination" text,
  "frequency_inbound_outbound" text
);

Question: What is the destination of the rail with Dhanbad as the origin?
SQL: SELECT "destination" FROM "rail" WHERE "origin"='dhanbad';

Question: What is the destination of the Garib nwaz exp train?
SQL: SELECT "destination" FROM "rail" WHERE "train_name"='garib nwaz exp';

Question: What is the train name of the rail with a daily frequency and a destination of Rajgir?
SQL: SELECT "train_name" FROM "rail" WHERE "frequency_inbound_outbound"='daily' AND "destination"='rajgir';

Question: What is the train name of the rail with a daily frequency and Jammutawi as the destination?
SQL: SELECT "train_name" FROM "rail" WHERE "frequency_inbound_outbound"='daily' AND "destination"='jammutawi';

Question: What is the frequency of the rail with an origin of Ranchi?
SQL: SELECT "frequency_inbound_outbound" FROM "rail" WHERE "origin"='ranchi';

Question: What is the frequency of the train named Garib nwaz exp?
SQL: SELECT "frequency_inbound_outbound" FROM "rail" WHERE "train_name"='garib nwaz exp';