CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
  "warship" text,
  "tons_l_ton" real,
  "horse_power" real,
  "speed_knots" text,
  "armour_inch" text,
  "main_artillery" text,
  "built_year" real
);

Question: What's Blanco Encalada's main artillery?
SQL: SELECT "main_artillery" FROM "s_ironclad_of_chile_and_peru_at_the_begi" WHERE "warship"='Blanco Encalada';

Question: How many different horse-powers does the Cochrane have?
SQL: SELECT COUNT("horse_power") FROM "s_ironclad_of_chile_and_peru_at_the_begi" WHERE "warship"='Cochrane';

Question: What warship has horse-power of 1500?
SQL: SELECT "warship" FROM "s_ironclad_of_chile_and_peru_at_the_begi" WHERE "horse_power"=1500;

Question: How much does the Independencia weight?
SQL: SELECT MIN("tons_l_ton") FROM "s_ironclad_of_chile_and_peru_at_the_begi" WHERE "warship"='Independencia';

Question: In how many different years was the warship that weights 1130 tons built?
SQL: SELECT COUNT("built_year") FROM "s_ironclad_of_chile_and_peru_at_the_begi" WHERE "tons_l_ton"=1130;