Question: What is Margin, when Match Date is Oct 17, 2007?
SQL: SELECT "Margin" FROM "2-1594772-2" WHERE "Match Date" = 'Oct 17, 2007';

Question: What is Team (B), when S No is greater than 17?
SQL: SELECT "Team (B)" FROM "2-1594772-2" WHERE "S No" > 17.0;

Question: What is the total number of S No(s), when the Margin is 16 runs?
SQL: SELECT COUNT("S No") FROM "2-1594772-2" WHERE "Margin" = '16 runs';

Question: What is the highest S No, when the Match Date is Nov 1, 2003?
SQL: SELECT MAX("S No") FROM "2-1594772-2" WHERE "Match Date" = 'Nov 1, 2003';

Question: What is Team (B), when S No is less than 18, when Margin is 8 wickets, and when Match Date is Oct 30, 1989?
SQL: SELECT "Team (B)" FROM "2-1594772-2" WHERE "S No" < 18.0 AND "Margin" = '8 wickets' AND "Match Date" = 'Oct 30, 1989';