CREATE TABLE "title_holders_from_2000_until_2010" (
  "year" real,
  "miss_universe_philippines" text,
  "binibining_pilipinas_world" text,
  "binibining_pilipinas_international" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);

Question: How many winners of Binibining Pilipinas-International when Nina Ricci Alagao?
SQL: SELECT COUNT("binibining_pilipinas_international") FROM "title_holders_from_2000_until_2010" WHERE "miss_universe_philippines"='Nina Ricci Alagao';

Question: Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?
SQL: SELECT "second_runner_up" FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_world"='Janina San Miguel';

Question: Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?
SQL: SELECT "binibining_pilipinas_international" FROM "title_holders_from_2000_until_2010" WHERE "miss_universe_philippines"='Gionna Cabrera';

Question: How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world?
SQL: SELECT COUNT("binibining_pilipinas_international") FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_world"='Maria Karla Bautista';

Question: Who is the second runner up when Janina San Miguel won binibining pilipinas-world?
SQL: SELECT COUNT("second_runner_up") FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_world"='Janina San Miguel';

Question: When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Universe Philippines were there?
SQL: SELECT COUNT("miss_universe_philippines") FROM "title_holders_from_2000_until_2010" WHERE "binibining_pilipinas_international"='Margaret Ann Bayot';