Question: What was the average Value ($M) when the Country was england, the Operating income($m) was greater than -5, and the Revenue ($M) was smaller than 103?
SQL: SELECT AVG("Value ($M)") FROM "2-12164751-6" WHERE "Country" = 'england' AND "Operating income($m)" > -5.0 AND "Revenue ($M)" < 103.0;

Question: What was the total amount of Value ($M), when the Country was spain, the Rank was 19, and the Debt as % of value was larger than 159?
SQL: SELECT COUNT("Value ($M)") FROM "2-12164751-6" WHERE "Country" = 'spain' AND "Rank" = 19.0 AND "Debt as %of value" > 159.0;

Question: What was the sum of Value ($M), when the Revenue ($M) was less than 307, the Team was valencia, and the Rank was smaller than 19?
SQL: SELECT SUM("Value ($M)") FROM "2-12164751-6" WHERE "Revenue ($M)" < 307.0 AND "Team" = 'valencia' AND "Rank" < 19.0;

Question: What was the total amount of Value ($M), when the Rank was higher than 6, and the % change on year was -27?
SQL: SELECT COUNT("Value ($M)") FROM "2-12164751-6" WHERE "Rank" > 6.0 AND "% change on year" = '-27';

Question: What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77?
SQL: SELECT SUM("Revenue ($M)") FROM "2-12164751-6" WHERE "Debt as %of value" > 27.0 AND "Operating income($m)" = 77.0;