CREATE TABLE "provincial_results" (
  "province" text,
  "mahmoud_ahmadinejad" real,
  "mehdi_karroubi" real,
  "mir_hossein_mousavi" real,
  "mohsen_rezaee" real,
  "spoiled_ballots" real,
  "total_votes" real
);

Question: Display the lowest score for candidate Mir-Hossein Mousavi when candidate Mohsen Rezaee scored 44809 votes
SQL: SELECT MIN("mir_hossein_mousavi") FROM "provincial_results" WHERE "mohsen_rezaee"=44809;

Question: What is the highest score for candidate Mohsen Rezaee when  candidate mir-hossein mousavi  scored 837858 votes?
SQL: SELECT MAX("mohsen_rezaee") FROM "provincial_results" WHERE "mir_hossein_mousavi"=837858;

Question: List all the total scores for the election which had 3072 invalid votes
SQL: SELECT "total_votes" FROM "provincial_results" WHERE "spoiled_ballots"=3072;

Question: What was the highest score of candidate mir-hossein mousavi in the location known as azarbaijan, west?
SQL: SELECT MAX("mir_hossein_mousavi") FROM "provincial_results" WHERE "province"='Azarbaijan, West';

Question: List all the results for mahmoud ahmadinejad when candidate mir-hossein mousavi obtained 218481 votes.
SQL: SELECT "mahmoud_ahmadinejad" FROM "provincial_results" WHERE "mir_hossein_mousavi"=218481;

Question: What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683
SQL: SELECT MAX("mir_hossein_mousavi") FROM "provincial_results" WHERE "spoiled_ballots"=5683;