CREATE TABLE "cardinal_electors" (
  "elector" text,
  "nationality" text,
  "cardinalatial_order_and_title" text,
  "elevated" text,
  "elevator" text
);

Question: When was Cardinal-Deacon of S. Giorgio in Velabro elevated?
SQL: SELECT "elevated" FROM "cardinal_electors" WHERE "cardinalatial_order_and_title"='cardinal-deacon of s. giorgio in velabro';

Question: What is the Cardinalatial order and title that Pedro Martínez de Luna y Gotor elevated?
SQL: SELECT "cardinalatial_order_and_title" FROM "cardinal_electors" WHERE "elector"='pedro martínez de luna y gotor';

Question: What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?
SQL: SELECT "nationality" FROM "cardinal_electors" WHERE "cardinalatial_order_and_title"='cardinal-priest of ss. xii apostoli';