CREATE TABLE "freshwater_withdrawal_by_country_and_sec" (
  "country" text,
  "total_freshwater_withdrawal_km_3_yr" text,
  "per_capita_withdrawal_m_3_p_yr" real,
  "domestic_use_m_3_p_yr_in_pct" text,
  "industrial_use_m_3_p_yr_in_pct" text,
  "agricultural_use_m_3_p_yr_in_pct" text
);

Question: What are the countries in which the agricultural use  (m 3 /p/yr)(in %) is 2040(93%)?
SQL: SELECT "country" FROM "freshwater_withdrawal_by_country_and_sec" WHERE "agricultural_use_m_3_p_yr_in_pct"='2040(93%)';

Question: How many countries had a per capita withdrawal (m 3 /p/yr) of 372?
SQL: SELECT COUNT("country") FROM "freshwater_withdrawal_by_country_and_sec" WHERE "per_capita_withdrawal_m_3_p_yr"=372;

Question: How many countries had a total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 428(62%)?
SQL: SELECT COUNT("total_freshwater_withdrawal_km_3_yr") FROM "freshwater_withdrawal_by_country_and_sec" WHERE "agricultural_use_m_3_p_yr_in_pct"='428(62%)';

Question: In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)?
SQL: SELECT "total_freshwater_withdrawal_km_3_yr" FROM "freshwater_withdrawal_by_country_and_sec" WHERE "agricultural_use_m_3_p_yr_in_pct"='1029(96%)';

Question: What was the country in which the agricultural use (m 3 /p/yr)(in %) was 794(86%)?
SQL: SELECT "country" FROM "freshwater_withdrawal_by_country_and_sec" WHERE "agricultural_use_m_3_p_yr_in_pct"='794(86%)';

Question: In how many countries was the total freshwater withdrawal (km 3 /yr) 169.39?
SQL: SELECT COUNT("country") FROM "freshwater_withdrawal_by_country_and_sec" WHERE "total_freshwater_withdrawal_km_3_yr"='169.39';