[
 {
  "q": "What date has a status of 1995 rugby world cup and an against of 20?",
  "ref": "SELECT date FROM table_name_21 WHERE status = \"1995 rugby world cup\" AND against = 20",
  "pred": "SELECT date FROM table_name_21 WHERE status = '1995 rugby world cup' AND against = '20';"
 },
 {
  "q": "Who sanctioned the event in lincoln, illinois?",
  "ref": "SELECT sanction FROM table_16275828_4 WHERE location = \"Lincoln, Illinois\"",
  "pred": "SELECT sanction FROM table_16275828_4 WHERE location = 'lincoln, illinois';"
 },
 {
  "q": "What is 2004, when 2005 is \"2R\", and when 2006 is \"1R\"",
  "ref": "SELECT 2004 FROM table_name_74 WHERE 2005 = \"2r\" AND 2006 = \"1r\"",
  "pred": "SELECT '2004' FROM table_name_74 WHERE Id = '2005' AND Id = '2006';"
 },
 {
  "q": "How many Games have Years at club of 1971\u20131974, and a Debut year larger than 1971?",
  "ref": "SELECT SUM(games) FROM table_name_94 WHERE years_at_club = \"1971\u20131974\" AND debut_year > 1971",
  "pred": "SELECT COUNT(*) FROM table_name_94 WHERE years_at_club = '1971\u20131974' AND debut_year > '1971';"
 },
 {
  "q": "Name the venue for eng by 6 wkts",
  "ref": "SELECT venue FROM table_name_46 WHERE result = \"eng by 6 wkts\"",
  "pred": "SELECT venue FROM table_name_46 WHERE result = 'eng by 6 wkts';"
 },
 {
  "q": "Who is 111years, 358days Age as of 1 February 2014?",
  "ref": "SELECT name FROM table_name_86 WHERE age_as_of_1_february_2014 = \"111years, 358days\"",
  "pred": "SELECT name FROM table_name_86 WHERE age_as_of_1_february_2014 = '111years, 358days';"
 },
 {
  "q": "What Competition had a Result of lost 1-2?",
  "ref": "SELECT competition FROM table_name_34 WHERE result = \"lost 1-2\"",
  "pred": "SELECT competition FROM table_name_34 WHERE result = 'lost 1-2';"
 },
 {
  "q": "Name the Kaz Hayashi which has BUSHI of yang (9:43)",
  "ref": "SELECT kaz_hayashi FROM table_name_49 WHERE bushi = \"yang (9:43)\"",
  "pred": "SELECT kaz_hayashi FROM table_name_49 WHERE bushi = 'yang (9:43)';"
 },
 {
  "q": "What is the snatch when Marcin Do\u0142\u0119ga ( POL ) was 430kg?",
  "ref": "SELECT snatch FROM table_name_1 WHERE marcin_do\u0142\u0119ga___pol__ = \"430kg\"",
  "pred": "SELECT snatch FROM table_name_1 WHERE marcin_do\u0142\u0119ga___pol__ = '430kg';"
 },
 {
  "q": "Show the role description and the id of the project staff involved in most number of project outcomes?",
  "ref": "SELECT T1.role_description, T2.staff_id FROM Staff_Roles AS T1 JOIN Project_Staff AS T2 ON T1.role_code = T2.role_code JOIN Project_outcomes AS T3 ON T2.project_id = T3.project_id GROUP BY T2.staff_id ORDER BY COUNT(*) DESC LIMIT 1",
  "pred": "SELECT sr.role_description, ps.project_id FROM Project_Staff ps JOIN Staff_Roles sr ON ps.role_code = sr.role_code GROUP BY ps.project_id ORDER BY COUNT(*) DESC LIMIT 1;"
 },
 {
  "q": "Which Pick has a Round larger than 17, and a Name of gene stewart?",
  "ref": "SELECT COUNT(pick) FROM table_name_46 WHERE round > 17 AND name = \"gene stewart\"",
  "pred": "SELECT pick FROM table_name_46 WHERE round > 17 AND name = 'gene stewart';"
 },
 {
  "q": "What is the school with the nickname Tornadoes Lady Tornadoes?",
  "ref": "SELECT school FROM table_name_65 WHERE nickname_s_ = \"tornadoes lady tornadoes\"",
  "pred": "SELECT school FROM table_name_65 WHERE nickname_s_ = 'Tornadoes Lady Tornadoes';"
 },
 {
  "q": "List the locations of schools in ascending order of enrollment.",
  "ref": "SELECT LOCATION FROM school ORDER BY Enrollment",
  "pred": "SELECT LOCATION FROM school ORDER BY Enrollment ASC;"
 },
 {
  "q": "What was the  partial thromboplastin time for factor x deficiency as seen in amyloid purpura",
  "ref": "SELECT partial_thromboplastin_time FROM table_1099080_1 WHERE condition = \"Factor X deficiency as seen in amyloid purpura\"",
  "pred": "SELECT partial_thromboplastin_time FROM table_1099080_1 WHERE condition = 'factor x deficiency' AND condition LIKE '%amyloid purpura%';"
 },
 {
  "q": "Name the security forces with civilians of 67",
  "ref": "SELECT security_forces FROM table_name_15 WHERE civilians = \"67\"",
  "pred": "SELECT security_forces FROM table_name_15 WHERE civilians = 67;"
 },
 {
  "q": "What is the amount of US open runner-up score?",
  "ref": "SELECT COUNT(score_in_final) FROM table_22858557_1 WHERE championship = \"US Open\" AND outcome = \"Runner-up\"",
  "pred": "SELECT COUNT(*) FROM table_22858557_1 WHERE championship = 'US Open' AND outcome = 'Runner-up';"
 },
 {
  "q": "What College/junior/club team (league) did mitch fadden play for?",
  "ref": "SELECT college_junior_club_team__league_ FROM table_name_14 WHERE player = \"mitch fadden\"",
  "pred": "SELECT college_junior_club_team__league_ FROM table_name_14 WHERE player = 'mitch fadden';"
 },
 {
  "q": "What was the result of the Best Actor in a Musical category?",
  "ref": "SELECT result FROM table_name_81 WHERE category = \"best actor in a musical\"",
  "pred": "SELECT result FROM table_name_81 WHERE category = 'Best Actor in a Musical';"
 },
 {
  "q": "Where did steve smith go to school?",
  "ref": "SELECT school_club_team FROM table_name_53 WHERE player = \"steve smith\"",
  "pred": "SELECT school_club_team FROM table_name_53 WHERE player = 'steve smith';"
 },
 {
  "q": "What is the location for tournament on Jul 8-11?",
  "ref": "SELECT location FROM table_26144632_1 WHERE dates = \"Jul 8-11\"",
  "pred": "SELECT location FROM table_26144632_1 WHERE dates LIKE '%Jul 8%' OR dates LIKE '%Jul 9%' OR dates LIKE '%Jul 10%' OR dates LIKE '%Jul 11%';"
 },
 {
  "q": "How many products are there in the records?",
  "ref": "SELECT COUNT(*) FROM catalog_contents",
  "pred": "SELECT COUNT(*) FROM catalog_contents;"
 },
 {
  "q": "Who was the home team with a score of 101-93?",
  "ref": "SELECT home_team FROM table_name_92 WHERE score = \"101-93\"",
  "pred": "SELECT home_team FROM table_name_92 WHERE score = '101-93';"
 },
 {
  "q": "What is the date of the First Performance of Rhys Kosakowski as Billy Elliot in the Original Cast?",
  "ref": "SELECT first_performance FROM table_name_38 WHERE status = \"original cast\" AND name = \"rhys kosakowski\"",
  "pred": "SELECT first_performance FROM table_name_38 WHERE name = 'Rhys Kosakowski' AND status = 'Original Cast' AND first_performance LIKE '%Billy Elliot%';"
 },
 {
  "q": "what is \u0430 \u0430 [a] when \u0495\u044c \u0495\u044c [\u0281\u02b2/\u0263\u02b2] is \u0448 \u0448 [\u0282\u0283]?",
  "ref": "SELECT \u0430_\u0430_[a] FROM table_202365_2 WHERE \u0495\u044c_\u0495\u044c_[\u0281\u02b2_\u0263\u02b2] = \"\u0428 \u0448 [\u0282\u0283]\"",
  "pred": "SELECT \u0430_\u0430_, a FROM table_202365_2 WHERE \u0495\u044c_\u0495\u044c IN ('\u0448', '\u0448');"
 },
 {
  "q": "What District has a Location of tharamani?",
  "ref": "SELECT district FROM table_name_24 WHERE location = \"tharamani\"",
  "pred": "SELECT district FROM table_name_24 WHERE location = 'tharamani';"
 },
 {
  "q": "how many times is the fleet series (quantity) is 468-473 (6)?",
  "ref": "SELECT COUNT(order_year) FROM table_10007452_3 WHERE fleet_series__quantity_ = \"468-473 (6)\"",
  "pred": "SELECT COUNT(*) FROM table_10007452_3 WHERE fleet_series__quantity_ BETWEEN 468 AND 473;"
 },
 {
  "q": "What is Australian, when British is \"a\u026a, \u026a, \u0259\"?",
  "ref": "SELECT australian FROM table_name_12 WHERE british = \"a\u026a, \u026a, \u0259\"",
  "pred": "SELECT australian FROM table_name_12 WHERE british = 'a\u026a, \u026a, \u0259';"
 },
 {
  "q": "What are the names of tourist attractions that can be reached by bus or is at address 254 Ottilie Junction?",
  "ref": "SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = \"254 Ottilie Junction\" OR T2.How_to_Get_There = \"bus\"",
  "pred": "SELECT Name FROM Tourist_Attractions WHERE How_to_Get_There = 'bus' OR Location_ID IN (SELECT Location_ID FROM Locations WHERE Address = '254 Ottilie Junction');"
 },
 {
  "q": "What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?",
  "ref": "SELECT score FROM table_name_56 WHERE tournament = \"rabat\" AND opponent_in_the_final = \"frederico gil\"",
  "pred": "SELECT score FROM table_name_56 WHERE tournament = 'Rabat' AND opponent_in_the_final = 'Frederico Gil';"
 },
 {
  "q": "How many outcomes were there when the opponent was Aleksandra Wozniak?",
  "ref": "SELECT COUNT(outcome) FROM table_18183850_12 WHERE opponent = \"Aleksandra Wozniak\"",
  "pred": "SELECT COUNT(*) FROM table_18183850_12 WHERE opponent = 'Aleksandra Wozniak';"
 },
 {
  "q": "What is the lowest Touchdowns, when Player is Andrew Glover, and when Yards is greater than 281?",
  "ref": "SELECT MIN(touchdowns) FROM table_name_14 WHERE player = \"andrew glover\" AND yards > 281",
  "pred": "SELECT MIN(touchdowns) FROM table_name_14 WHERE player = 'Andrew Glover' AND yards > 281;"
 },
 {
  "q": "what is the minimum\u00a0population\u00a0with\u00a0canton\u00a0being redange",
  "ref": "SELECT MIN(population) FROM table_1417184_1 WHERE canton = \"Redange\"",
  "pred": "SELECT MIN(population) FROM table_1417184_1 WHERE canton = 'redange';"
 },
 {
  "q": "Which engine has an Entrant of team lotus, and a Year larger than 1962?",
  "ref": "SELECT engine FROM table_name_47 WHERE entrant = \"team lotus\" AND year > 1962",
  "pred": "SELECT engine FROM table_name_47 WHERE entrant = 'team lotus' AND year > 1962;"
 },
 {
  "q": "What is Members of Parliament, when Trailing Party is \"Bharatiya Lok Dal\"?",
  "ref": "SELECT members_of_parliament FROM table_name_97 WHERE trailing_party = \"bharatiya lok dal\"",
  "pred": "SELECT members_of_parliament FROM table_name_97 WHERE trailing_party = 'Bharatiya Lok Dal';"
 },
 {
  "q": "Which gender had a roll of 627?",
  "ref": "SELECT gender FROM table_name_62 WHERE roll = 627",
  "pred": "SELECT gender FROM table_name_62 WHERE roll = '627';"
 },
 {
  "q": "How many overs occurred at Waca Ground against Queensland?",
  "ref": "SELECT overs FROM table_name_31 WHERE ground = \"waca ground\" AND opponent = \"queensland\"",
  "pred": "SELECT COUNT(*) FROM table_name_31 WHERE ground = 'Waca Ground' AND opponent = 'Queensland';"
 },
 {
  "q": "How many golds for nations ranked below 4, over 5 medals, and under 6 silvers?",
  "ref": "SELECT COUNT(gold) FROM table_name_26 WHERE rank > 4 AND total > 5 AND silver < 6",
  "pred": "SELECT COUNT(*) FROM table_name_26 WHERE rank > 4 AND total > 5 AND silver < 6;"
 },
 {
  "q": "What amount had all played that lost were 8?",
  "ref": "SELECT played FROM table_13564637_3 WHERE lost = \"8\"",
  "pred": "SELECT SUM(CAST(played AS INTEGER)) FROM table_13564637_3 WHERE lost = '8';"
 },
 {
  "q": "What's the animals name when the genus/species is rattus norvegicus? ",
  "ref": "SELECT common_name FROM table_15417439_1 WHERE genus_species = \"Rattus norvegicus\"",
  "pred": "SELECT common_name FROM table_15417439_1 WHERE genus_species = 'rattus norvegicus';"
 },
 {
  "q": "How many sales had a peak position of 1 and a certification of 6x platinum?",
  "ref": "SELECT COUNT(sales) FROM table_name_31 WHERE peak_position = 1 AND certification = \"6x platinum\"",
  "pred": "SELECT COUNT(*) FROM table_name_31 WHERE peak_position = '1' AND certification = '6x platinum';"
 },
 {
  "q": "What was the Average Attendance during the Year in which there were 9 Home Games?",
  "ref": "SELECT MAX(average_attendance) FROM table_name_12 WHERE _number_of_home_games = 9",
  "pred": "SELECT average_attendance FROM table_name_12 WHERE _number_of_home_games = '9';"
 },
 {
  "q": "How many highest figures for the team with lowest of 16415?",
  "ref": "SELECT COUNT(highest) FROM table_2472711_31 WHERE lowest = 16415",
  "pred": "SELECT COUNT(*) FROM table_2472711_31 WHERE lowest = '16415';"
 },
 {
  "q": "Find the total checking and saving balance of all accounts sorted by the total balance in ascending order.",
  "ref": "SELECT T1.balance + T2.balance FROM checking AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T1.balance + T2.balance",
  "pred": "SELECT custid, SUM(CAST(CASE WHEN table_name = 'checking' THEN balance ELSE 0 END AS REAL) + CAST(CASE WHEN table_name = 'savings' THEN balance ELSE 0 END AS REAL)) AS total_balance FROM (SELECT custid, balance FROM checking UNION ALL SELECT custid, balance FROM savings) GROUP BY custid ORDER BY total_balance ASC;"
 },
 {
  "q": "What was the result of the election of the incumbent harry r. sheppard?",
  "ref": "SELECT result FROM table_1341973_6 WHERE incumbent = \"Harry R. Sheppard\"",
  "pred": "SELECT result FROM table_1341973_6 WHERE incumbent = 'harry r. sheppard';"
 },
 {
  "q": "When was the game in which Deron Williams (13) did the high assists played?",
  "ref": "SELECT date FROM table_23286223_5 WHERE high_assists = \"Deron Williams (13)\"",
  "pred": "SELECT date FROM table_23286223_5 WHERE high_assists = '13';"
 },
 {
  "q": "What is the total frequency mhz of the kgrj call sign, which has an erp w greater than 21,500?",
  "ref": "SELECT COUNT(frequency_mhz) FROM table_name_19 WHERE call_sign = \"kgrj\" AND erp_w > 21 OFFSET 500",
  "pred": "SELECT SUM(frequency_mhz) FROM table_name_19 WHERE call_sign = 'kgrj' AND erp_w > 21500;"
 },
 {
  "q": "What was the score where Olga Lugina played in the Tournament of poitiers , france itf $25,000?",
  "ref": "SELECT score_in_the_final FROM table_name_84 WHERE partner = \"olga lugina\" AND tournament = \"poitiers , france itf $25,000\"",
  "pred": "SELECT score_in_the_final FROM table_name_84 WHERE partner = 'Olga Lugina' AND tournament = 'poitiers , france itf $25,000';"
 },
 {
  "q": "Find the id and local authority of the station with has the highest average high temperature.",
  "ref": "SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id ORDER BY AVG(high_temperature) DESC LIMIT 1",
  "pred": "SELECT s.id, s.local_authority FROM station s JOIN weekly_weather w ON s.id = w.station_id GROUP BY s.id ORDER BY AVG(w.high_temp) DESC LIMIT 1;"
 },
 {
  "q": "What is the rank that has 1 bronze and 1 silver?",
  "ref": "SELECT COUNT(rank) FROM table_name_63 WHERE bronze = 1 AND silver > 1",
  "pred": "SELECT rank FROM table_name_63 WHERE bronze = 1 AND silver = 1;"
 },
 {
  "q": "What is the GPU model when the L3 cache is standard power?",
  "ref": "SELECT gpu_model FROM table_name_74 WHERE l3_cache = \"standard power\"",
  "pred": "SELECT gpu_model FROM table_name_74 WHERE l3_cache = 'standard power';"
 },
 {
  "q": "How many matches had 11 wickets?",
  "ref": "SELECT MAX(matches) FROM table_16570286_4 WHERE wickets = 11",
  "pred": "SELECT COUNT(*) FROM table_16570286_4 WHERE wickets = '11';"
 },
 {
  "q": "What is the lowest draw number for the song ranked 6th with more than 43 points?",
  "ref": "SELECT MIN(draw) FROM table_name_22 WHERE points > 43 AND rank = \"6th\"",
  "pred": "SELECT MIN(draw) FROM table_name_22 WHERE rank = '6' AND points > '43';"
 },
 {
  "q": "Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $49?",
  "ref": "SELECT headphone_model FROM table_1601027_1 WHERE driver_matched_db = \"0.1\" AND us_msrp = \"$49\"",
  "pred": "SELECT headphone_model FROM table_1601027_1 WHERE driver_matched_db = '0.1' AND us_msrp = '$49';"
 },
 {
  "q": "What is the score of the game on June 9?",
  "ref": "SELECT score FROM table_name_75 WHERE date = \"june 9\"",
  "pred": "SELECT score FROM table_name_75 WHERE date = 'June 9';"
 },
 {
  "q": "What were the w/l when the final score was 2\u20136, 5\u20137, 7\u20136 (11\u20139) , 1\u20136?",
  "ref": "SELECT w_l FROM table_23563375_11 WHERE result = \"2\u20136, 5\u20137, 7\u20136 (11\u20139) , 1\u20136\"",
  "pred": "SELECT w_l FROM table_23563375_11 WHERE result IN ('2\u20136', '5\u20137', '7\u20136 (11\u20139)', '1\u20136');"
 },
 {
  "q": "What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties?",
  "ref": "SELECT venue FROM table_name_64 WHERE round = \"after extra time, chelsea won on 4-1 on penalties\"",
  "pred": "SELECT venue FROM table_name_64 WHERE round = 'after extra time, chelsea won on 4-1 on penalties';"
 },
 {
  "q": "Name the least season # for the first time",
  "ref": "SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = \"The first time\"",
  "pred": "SELECT MIN(season__number) FROM table_25363904_2;"
 },
 {
  "q": "What was the score when the mavericks were visitors?",
  "ref": "SELECT score FROM table_name_23 WHERE visitor = \"mavericks\"",
  "pred": "SELECT score FROM table_name_23 WHERE visitor = 'mavericks';"
 },
 {
  "q": "what is the number of the premiere for the 34 peak",
  "ref": "SELECT premiere FROM table_29633639_1 WHERE peak = 34",
  "pred": "SELECT premiere FROM table_29633639_1 WHERE peak = '34';"
 },
 {
  "q": "Tell me the region for catalog of 576 096-2",
  "ref": "SELECT region FROM table_name_61 WHERE catalog = \"576 096-2\"",
  "pred": "SELECT region FROM table_name_61 WHERE catalog = '576 096-2';"
 },
 {
  "q": "Find the brand and name for each camera lens, and sort in descending order of maximum aperture.",
  "ref": "SELECT brand, name FROM camera_lens ORDER BY max_aperture DESC",
  "pred": "SELECT brand, name FROM camera_lens ORDER BY max_aperture DESC;"
 },
 {
  "q": "what is the current streak when the last 5 meetings is osu, 4-1?",
  "ref": "SELECT current_streak FROM table_name_27 WHERE last_5_meetings = \"osu, 4-1\"",
  "pred": "SELECT current_streak FROM table_name_27 WHERE last_5_meetings = 'osu, 4-1';"
 },
 {
  "q": "Name the year for japanese",
  "ref": "SELECT year__ceremony_ FROM table_21790203_1 WHERE language_s_ = \"Japanese\"",
  "pred": "SELECT year__ceremony_ FROM table_21790203_1 WHERE language_s_ = 'japanese';"
 },
 {
  "q": "Name the course for 24 july",
  "ref": "SELECT course FROM table_name_29 WHERE date = \"24 july\"",
  "pred": "SELECT course FROM table_name_29 WHERE date = '24 july';"
 },
 {
  "q": "For the game played at Windy Hill, who was the away team?",
  "ref": "SELECT away_team FROM table_name_4 WHERE venue = \"windy hill\"",
  "pred": "SELECT away_team FROM table_name_4 WHERE venue = 'Windy Hill';"
 },
 {
  "q": "Which 5\u2019UTR splice has a Variant ID at sftpa1 variant 2?",
  "ref": "SELECT 5 AS \u2019utr_splice FROM table_name_46 WHERE variant_id = \"sftpa1 variant 2\"",
  "pred": "SELECT variant_id FROM table_name_46 WHERE variant_id = 'sftpa1_variant_2';"
 },
 {
  "q": "What is the season # for a teleplay by Richard Price and the director is Steve Shill?",
  "ref": "SELECT season__number FROM table_14346950_1 WHERE teleplay_by = \"Richard Price\" AND directed_by = \"Steve Shill\"",
  "pred": "SELECT season__number FROM table_14346950_1 WHERE teleplay_by = 'Richard Price' AND directed_by = 'Steve Shill';"
 },
 {
  "q": "What is the D48 when D 43 is plurality \u2191??",
  "ref": "SELECT d_48 FROM table_name_27 WHERE d_43 = \"plurality \u2191\"",
  "pred": "SELECT d_48 FROM table_name_27 WHERE d_43 = 'plurality \u2191';"
 },
 {
  "q": "Find the name of the employee who got the highest one time bonus.",
  "ref": "SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1",
  "pred": "SELECT e.name FROM employee e JOIN evaluation ev ON e.Employee_ID = ev.Employee_ID ORDER BY CAST(ev.bonus AS REAL) DESC LIMIT 1;"
 },
 {
  "q": "Which Party has a Member of david jull?",
  "ref": "SELECT party FROM table_name_75 WHERE member = \"david jull\"",
  "pred": "SELECT party FROM table_name_75 WHERE member = 'david jull';"
 },
 {
  "q": "What was the score of the team North Melbourne played at Arden Street Oval?",
  "ref": "SELECT away_team AS score FROM table_name_75 WHERE home_team = \"north melbourne\"",
  "pred": "SELECT score FROM table_name_75 WHERE home_team = 'North Melbourne' OR away_team = 'North Melbourne';"
 },
 {
  "q": " who is the\u00a0runner-up\u00a0where\u00a0year\u00a0is 2004 and\u00a0champion\u00a0is north carolina state",
  "ref": "SELECT runner_up FROM table_11214772_1 WHERE year = \"2004\" AND champion = \"North Carolina State\"",
  "pred": "SELECT runner_up FROM table_11214772_1 WHERE year = '2004' AND champion = 'north carolina state';"
 },
 {
  "q": "How many wins?",
  "ref": "SELECT MAX(wins) FROM table_18703133_6",
  "pred": "SELECT COUNT(*) FROM table_18703133_6;"
 },
 {
  "q": "What was the Score of the match with USL Dunkerque (d2) as Team 2?",
  "ref": "SELECT score FROM table_name_87 WHERE team_2 = \"usl dunkerque (d2)\"",
  "pred": "SELECT score FROM table_name_87 WHERE team_2 = 'USL Dunkerque';"
 },
 {
  "q": "When cancelled is the fastest qualifying where is the location?",
  "ref": "SELECT location FROM table_26358264_2 WHERE fastest_qualifying = \"Cancelled\"",
  "pred": "SELECT location FROM table_26358264_2 WHERE fastest_qualifying = 'cancelled';"
 },
 {
  "q": "WHERE THE THEME WAS \"YEAR THEY WERE BORN,\" WHAT THE TOTAL NUMBER OF RESULTS?",
  "ref": "SELECT COUNT(result) FROM table_15778392_1 WHERE theme = \"Year They Were Born\"",
  "pred": "SELECT COUNT(*) FROM table_15778392_1 WHERE theme = 'YEAR THEY WERE BORN';"
 },
 {
  "q": "Which Crowd has an Away team of st kilda?",
  "ref": "SELECT crowd FROM table_name_28 WHERE away_team = \"st kilda\"",
  "pred": "SELECT crowd FROM table_name_28 WHERE away_team = 'st kilda';"
 },
 {
  "q": "Which province got a swimsuit score of 8.43",
  "ref": "SELECT province FROM table_15081939_4 WHERE swimsuit = \"8.43\"",
  "pred": "SELECT province FROM table_15081939_4 WHERE swimsuit = 8.43;"
 },
 {
  "q": "What class is assigned to frequencies lower than 90.5?",
  "ref": "SELECT class FROM table_name_49 WHERE frequency_mhz < 90.5",
  "pred": "SELECT class FROM table_name_49 WHERE frequency_mhz < 90.5;"
 },
 {
  "q": "What won the Best Female Artist if People's Male MC won the Best Female Lyricist?",
  "ref": "SELECT best_female_artist FROM table_22546460_4 WHERE best_female_lyricist = \"People's Male MC\"",
  "pred": "SELECT best_female_artist FROM table_22546460_4 WHERE best_female_lyricist = 'People''s Male MC';"
 },
 {
  "q": "Who had the high assists against San Antonio?",
  "ref": "SELECT high_assists FROM table_name_58 WHERE team = \"san antonio\"",
  "pred": "SELECT high_assists FROM table_name_58 WHERE team = 'San Antonio';"
 },
 {
  "q": "Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car?",
  "ref": "SELECT pro_stock FROM table_name_83 WHERE top_fuel = \"tony schumacher\" AND funny_car = \"tony pedregon\"",
  "pred": "SELECT pro_stock FROM table_name_83 WHERE top_fuel = 'Tony Schumacher' AND funny_car = 'Tony Pedregon';"
 },
 {
  "q": "Find the max and min grade point for all letter grade.",
  "ref": "SELECT MAX(gradepoint), MIN(gradepoint) FROM GRADECONVERSION",
  "pred": "SELECT MAX(gradepoint) AS max_grade, MIN(gradepoint) AS min_grade FROM GRADECONVERSION;"
 },
 {
  "q": "Which Game has an Opponent of detroit red wings, and a March smaller than 12?",
  "ref": "SELECT COUNT(game) FROM table_name_13 WHERE opponent = \"detroit red wings\" AND march < 12",
  "pred": "SELECT game FROM table_name_13 WHERE opponent = 'detroit red wings' AND march < 12;"
 },
 {
  "q": "How many states had a population density of 10188.8?",
  "ref": "SELECT COUNT(state) FROM table_22916979_1 WHERE population_density__people_per_mi_2__ = \"10188.8\"",
  "pred": "SELECT COUNT(*) FROM table_22916979_1 WHERE population_density__people_per_mi_2__ = '10188.8';"
 },
 {
  "q": "Which Team has Manzoor Elahi as Coach and Taufeeq Umar as Captain?",
  "ref": "SELECT team FROM table_name_88 WHERE coach = \"manzoor elahi\" AND captain = \"taufeeq umar\"",
  "pred": "SELECT team FROM table_name_88 WHERE coach = 'Manzoor Elahi' AND captain = 'Taufeeq Umar';"
 },
 {
  "q": "What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009?",
  "ref": "SELECT date_of_vacancy FROM table_name_24 WHERE team = \"fc bayern munich\" AND date_of_appointment = \"27 april 2009\"",
  "pred": "SELECT date_of_vacancy FROM table_name_24 WHERE team = 'fc bayern munich' AND date_of_appointment = '27 April 2009';"
 },
 {
  "q": "Who are the mens doubles and womens singles is wang shixian?",
  "ref": "SELECT mens_doubles FROM table_13553701_1 WHERE womens_singles = \"Wang Shixian\"",
  "pred": "SELECT mens_doubles, womens_singles FROM table_13553701_1 WHERE womens_singles = 'wang shixian';"
 },
 {
  "q": "How many games did the team lose that played 7 games and has a GA of less than 27?",
  "ref": "SELECT COUNT(losses) FROM table_name_1 WHERE games_played = 7 AND goals_against < 27",
  "pred": "SELECT COUNT(*) FROM table_name_1 WHERE games_played = '7' AND goals_against < 27;"
 },
 {
  "q": "Which Game has a Score of 4\u20130 and Points of 44?",
  "ref": "SELECT game FROM table_name_3 WHERE score = \"4\u20130\" AND points = 44",
  "pred": "SELECT game FROM table_name_3 WHERE score = '4\u20130' AND points = '44';"
 },
 {
  "q": "What cart has a serpent shield animal?",
  "ref": "SELECT cart FROM table_name_47 WHERE shield_animal = \"serpent\"",
  "pred": "SELECT cart FROM table_name_47 WHERE shield_animal = 'serpent';"
 },
 {
  "q": "List all points against with a 0 try bonus and points for of 150.",
  "ref": "SELECT points_against FROM table_17941032_2 WHERE try_bonus = \"0\" AND points_for = \"150\"",
  "pred": "SELECT points_against FROM table_17941032_2 WHERE try_bonus = '0' AND points_for = '150';"
 },
 {
  "q": "From what county was the team that left the conference in 1993?",
  "ref": "SELECT county FROM table_name_3 WHERE year_left = \"1993\"",
  "pred": "SELECT county FROM table_name_3 WHERE year_left = '1993';"
 },
 {
  "q": "What was the date of the game at MCG?",
  "ref": "SELECT date FROM table_name_85 WHERE venue = \"mcg\"",
  "pred": "SELECT date FROM table_name_85 WHERE venue = 'MCG';"
 },
 {
  "q": "Which sport did the United States win?",
  "ref": "SELECT sport FROM table_name_29 WHERE nation_represented = \"united states\"",
  "pred": "SELECT sport FROM table_name_29 WHERE nation_represented = 'United States';"
 },
 {
  "q": "What was the earliest game with a record of 16\u20134\u20133?",
  "ref": "SELECT MIN(game) FROM table_name_96 WHERE record = \"16\u20134\u20133\"",
  "pred": "SELECT game FROM table_name_96 WHERE record = '16\u20134\u20133' ORDER BY game ASC LIMIT 1;"
 },
 {
  "q": "Tell me the discovery/publication for still living",
  "ref": "SELECT discovery___publication_of_name FROM table_name_55 WHERE fossil_record = \"still living\"",
  "pred": "SELECT discovery___publication_of_name FROM table_name_55 WHERE fossil_record = 'still living';"
 },
 {
  "q": "Name the total number of high points for pepsi center 19,756",
  "ref": "SELECT COUNT(high_points) FROM table_23284271_6 WHERE location_attendance = \"Pepsi Center 19,756\"",
  "pred": "SELECT COUNT(*) FROM table_23284271_6 WHERE location_attendance = 'pepsi center 19,756';"
 },
 {
  "q": "Find the id of the courses that do not have any prerequisite?",
  "ref": "SELECT course_id FROM course EXCEPT SELECT course_id FROM prereq",
  "pred": "SELECT course_id FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq);"
 },
 {
  "q": "When Team 1 is Aalborg BK, what is the 1st Leg?",
  "ref": "SELECT 1 AS st_leg FROM table_name_53 WHERE team_1 = \"aalborg bk\"",
  "pred": "SELECT 1st_Leg FROM table_name_53 WHERE team_1 = 'Aalborg BK';"
 },
 {
  "q": "Who was the opponent at the game that had a loss of Shields (1\u20131)?",
  "ref": "SELECT opponent FROM table_name_12 WHERE loss = \"shields (1\u20131)\"",
  "pred": "SELECT opponent FROM table_name_12 WHERE loss = 'Shields (1\u20131)';"
 },
 {
  "q": "Find the match ids of the cities that hosted competition \"1994 FIFA World Cup qualification\"?",
  "ref": "SELECT match_id FROM MATCH WHERE competition = \"1994 FIFA World Cup qualification\"",
  "pred": "SELECT match_id FROM MATCH WHERE competition = '1994 FIFA World Cup qualification';"
 },
 {
  "q": "What replica has the 5th position?",
  "ref": "SELECT replica FROM table_name_82 WHERE position = \"5th\"",
  "pred": "SELECT replica FROM table_name_82 WHERE position = '5';"
 },
 {
  "q": "What did Alex Tagliani get for Qual 1?",
  "ref": "SELECT qual_1 FROM table_name_93 WHERE name = \"alex tagliani\"",
  "pred": "SELECT qual_1 FROM table_name_93 WHERE name = 'Alex Tagliani';"
 },
 {
  "q": "What is the line of Mangalore station?",
  "ref": "SELECT line FROM table_name_54 WHERE name = \"mangalore\"",
  "pred": "SELECT line FROM table_name_54 WHERE name = 'Mangalore';"
 },
 {
  "q": "Which is the lowest points value that had a Chevrolet car, whose driver was Sterling Marlin, and whose car number was less than 14?",
  "ref": "SELECT MIN(points) FROM table_name_51 WHERE make = \"chevrolet\" AND driver = \"sterling marlin\" AND car__number < 14",
  "pred": "SELECT MIN(points) FROM table_name_51 WHERE make = 'Chevrolet' AND driver = 'Sterling Marlin' AND car__number < 14;"
 },
 {
  "q": "On what date was the Result 1-0?",
  "ref": "SELECT date FROM table_name_33 WHERE result = \"1-0\"",
  "pred": "SELECT date FROM table_name_33 WHERE result = '1-0';"
 },
 {
  "q": "How many French words does zinnap\u00f2tamu in Central-Southern Calabrian translate to?",
  "ref": "SELECT COUNT(french) FROM table_2077192_2 WHERE central_southern_calabrian = \"zinnap\u00f2tamu\"",
  "pred": "SELECT COUNT(*) FROM table_2077192_2 WHERE central_southern_calabrian = 'zinnap\u00f2tamu';"
 },
 {
  "q": "What is the league goals when the league cup goals is less than 0 and 16 (1) league apps?",
  "ref": "SELECT AVG(league_goals) FROM table_name_95 WHERE league_apps = \"16 (1)\" AND league_cup_goals < 0",
  "pred": "SELECT league_goals FROM table_name_95 WHERE league_cup_goals < 0 AND league_apps = 16;"
 },
 {
  "q": "Which league is for baseball with Laredo Apaches?",
  "ref": "SELECT league FROM table_name_31 WHERE sport = \"baseball\" AND club = \"laredo apaches\"",
  "pred": "SELECT league FROM table_name_31 WHERE sport = 'baseball' AND club = 'Laredo Apaches';"
 },
 {
  "q": "How many bronzes for nations with over 22 golds and ranked under 2?",
  "ref": "SELECT MAX(bronze) FROM table_name_66 WHERE gold > 22 AND rank < 2",
  "pred": "SELECT COUNT(*) FROM table_name_66 WHERE gold > 22 AND rank < 2;"
 },
 {
  "q": "In how many different years was the team nicknamed Comets founded?",
  "ref": "SELECT COUNT(founded) FROM table_28243691_2 WHERE team_nickname = \"Comets\"",
  "pred": "SELECT COUNT(DISTINCT founded) FROM table_28243691_2 WHERE team_nickname = 'Comets';"
 },
 {
  "q": "Who was the opponent in the game held on February 4?",
  "ref": "SELECT team FROM table_22883210_8 WHERE date = \"February 4\"",
  "pred": "SELECT team FROM table_22883210_8 WHERE date = 'February 4';"
 },
 {
  "q": "Tell me the calls for frequency of 1290 khz",
  "ref": "SELECT calls FROM table_name_88 WHERE frequency = \"1290 khz\"",
  "pred": "SELECT calls FROM table_name_88 WHERE frequency = '1290 khz';"
 },
 {
  "q": "What was the final result for Craig Hosmer?",
  "ref": "SELECT result FROM table_1342013_5 WHERE incumbent = \"Craig Hosmer\"",
  "pred": "SELECT result FROM table_1342013_5 WHERE incumbent = 'Craig Hosmer';"
 },
 {
  "q": "who had high points on march 14?",
  "ref": "SELECT high_points FROM table_27700375_10 WHERE date = \"March 14\"",
  "pred": "SELECT high_points FROM table_27700375_10 WHERE date = 'March 14';"
 },
 {
  "q": "Name the chassis for 1970 and tyres of d",
  "ref": "SELECT chassis FROM table_name_12 WHERE tyres = \"d\" AND year = 1970",
  "pred": "SELECT chassis FROM table_name_12 WHERE year = '1970' AND tyres LIKE 'd%';"
 },
 {
  "q": "What Episode on TV Asahi Station has Rating of 12.0%?",
  "ref": "SELECT episodes FROM table_name_17 WHERE average_ratings = \"12.0%\" AND tv_station = \"tv asahi\"",
  "pred": "SELECT episodes FROM table_name_17 WHERE tv_station = 'TV Asahi Station' AND average_ratings = '12.0%';"
 },
 {
  "q": "What is the point total for the Formula Renault 2.0 Italy series?",
  "ref": "SELECT COUNT(points) FROM table_21795650_1 WHERE series = \"Formula Renault 2.0 Italy\"",
  "pred": "SELECT SUM(points) FROM table_21795650_1 WHERE series = 'Formula Renault 2.0 Italy';"
 },
 {
  "q": "What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)?",
  "ref": "SELECT weight FROM table_name_31 WHERE club = \"dshnk almaty\" AND height = \"m (ft 6in)\"",
  "pred": "SELECT weight FROM table_name_31 WHERE club = 'DSHNK Almaty' AND height = 'm (ft 6in)';"
 },
 {
  "q": "On what date is there a Tryre of d at the Circuit of monaco?",
  "ref": "SELECT date FROM table_name_91 WHERE tyre = \"d\" AND circuit = \"monaco\"",
  "pred": "SELECT date FROM table_name_91 WHERE tyre = 'd' AND circuit = 'monaco';"
 },
 {
  "q": "How many averages are there when the economy rate is 2.26?",
  "ref": "SELECT COUNT(average) FROM table_19662262_6 WHERE economy_rate = \"2.26\"",
  "pred": "SELECT COUNT(*) FROM table_19662262_6 WHERE economy_rate = '2.26';"
 },
 {
  "q": "Which Winning constructor has a Winning driver of felice nazzaro?",
  "ref": "SELECT winning_constructor FROM table_name_52 WHERE winning_driver = \"felice nazzaro\"",
  "pred": "SELECT winning_constructor FROM table_name_52 WHERE winning_driver = 'felice nazzaro';"
 },
 {
  "q": "What is the prize for the elapsed time of 10 h 10 min?",
  "ref": "SELECT prize FROM table_22050544_1 WHERE elapsed_time = \"10 h 10 min\"",
  "pred": "SELECT prize FROM table_22050544_1 WHERE elapsed_time = '10 h 10 min';"
 },
 {
  "q": "On what date did a save of ||54,918||50\u201336 occur?",
  "ref": "SELECT date FROM table_name_73 WHERE save = \"||54,918||50\u201336\"",
  "pred": "SELECT date FROM table_name_73 WHERE save = '54,918||50\u201336';"
 },
 {
  "q": "How many losses did the club with 47 points have ?",
  "ref": "SELECT lost FROM table_name_7 WHERE points = \"47\"",
  "pred": "SELECT COUNT(*) FROM table_name_7 WHERE points = '47';"
 },
 {
  "q": "Name the pole positon for korean grand prix",
  "ref": "SELECT pole_position FROM table_name_28 WHERE grand_prix = \"korean grand prix\"",
  "pred": "SELECT pole_position FROM table_name_28 WHERE grand_prix = 'korean';"
 },
 {
  "q": "When the change is 8.8%, what is the density (pop/km\u00b2)?",
  "ref": "SELECT density__pop_km\u00b2_ FROM table_1425958_1 WHERE _percentage_change = \"8.8\"",
  "pred": "SELECT density__pop_km\u00b2_ FROM table_1425958_1 WHERE _percentage_change = '8.8%';"
 },
 {
  "q": "What is the Finish of the Player with a To par of 23 of less and Total of 294?",
  "ref": "SELECT finish FROM table_name_91 WHERE to_par < 23 AND total = 294",
  "pred": "SELECT finish FROM table_name_91 WHERE to_par <= 23 AND total = 294;"
 },
 {
  "q": "Which Current car has a Number of cars of 1, and a Year started of 1999?",
  "ref": "SELECT current_car FROM table_name_54 WHERE number_of_cars = 1 AND year_started = 1999",
  "pred": "SELECT current_car FROM table_name_54 WHERE number_of_cars = '1' AND year_started = '1999';"
 },
 {
  "q": "Which CONMEBOL 1994 has a Supercopa 1994 of n/a, and a Recopa 1994 of n/a, and a Team of san lorenzo?",
  "ref": "SELECT conmebol_1994 FROM table_name_12 WHERE supercopa_1994 = \"n/a\" AND recopa_1994 = \"n/a\" AND team = \"san lorenzo\"",
  "pred": "SELECT conmebol_1994 FROM table_name_12 WHERE supercopa_1994 = 'n/a' AND recopa_1994 = 'n/a' AND team = 'san lorenzo';"
 },
 {
  "q": "What is the number of bonus points when there are 4 drawn?",
  "ref": "SELECT bonus_points FROM table_name_28 WHERE drawn = \"4\"",
  "pred": "SELECT bonus_points FROM table_name_28 WHERE drawn = 4;"
 },
 {
  "q": "What school did the rb drafted attend?",
  "ref": "SELECT school FROM table_24540893_6 WHERE position = \"RB\"",
  "pred": "SELECT school FROM table_24540893_6 WHERE position = 'rb';"
 },
 {
  "q": "What was the tonnage of the Great Britain ship Batna?",
  "ref": "SELECT tonnage FROM table_name_26 WHERE nationality = \"great britain\" AND ship = \"batna\"",
  "pred": "SELECT tonnage FROM table_name_26 WHERE ship = 'Batna' AND nationality = 'Great Britain';"
 },
 {
  "q": "Which frequency has voltage of 1.6v and part number kp80524kx300256kc80524kx300256pmg30002002aa?",
  "ref": "SELECT frequency FROM table_name_64 WHERE voltage = \"1.6v\" AND part_number_s_ = \"kp80524kx300256kc80524kx300256pmg30002002aa\"",
  "pred": "SELECT frequency FROM table_name_64 WHERE voltage = '1.6v' AND part_number_s_ = 'kp80524kx300256kc80524kx300256pmg30002002aa';"
 },
 {
  "q": "When 139 is on March 27th to 29th what is August 21st to 22nd?",
  "ref": "SELECT august_21_22 FROM table_25286976_2 WHERE march_27_29 = \"139\"",
  "pred": "SELECT august_21_22 FROM table_25286976_2 WHERE march_27_29 = '139';"
 },
 {
  "q": "What is the D 47 when the D 49 is r 32?",
  "ref": "SELECT d_47 FROM table_name_92 WHERE d_49 = \"r 32\"",
  "pred": "SELECT d_47 FROM table_name_92 WHERE d_49 = 'r 32';"
 },
 {
  "q": "What pick was roger holdinsky?",
  "ref": "SELECT pick FROM table_name_26 WHERE player = \"roger holdinsky\"",
  "pred": "SELECT pick FROM table_name_26 WHERE player = 'roger holdinsky';"
 },
 {
  "q": "List the name of playlist which has number of tracks greater than 100.",
  "ref": "SELECT T2.name FROM playlist_tracks AS T1 JOIN playlists AS T2 ON T2.id = T1.playlist_id GROUP BY T1.playlist_id HAVING COUNT(T1.track_id) > 100",
  "pred": "SELECT p.name FROM playlists p JOIN playlist_tracks pt ON p.id = pt.playlist_id GROUP BY p.id HAVING COUNT(pt.track_id) > 100;"
 },
 {
  "q": "What is the 1998 value if the 2000 value is 25?",
  "ref": "SELECT 1998 FROM table_name_3 WHERE 2000 = \"25\"",
  "pred": "SELECT Id FROM table_name_3 WHERE Id = '2000' AND Id = '1998';"
 },
 {
  "q": "What is the highest rank that has 5 silvers, less than 5 golds, and less than 7 total medals?",
  "ref": "SELECT MAX(rank) FROM table_name_83 WHERE silver = 5 AND gold < 5 AND total < 7",
  "pred": "SELECT rank FROM table_name_83 WHERE silver = 5 AND gold < 5 AND total < 7 ORDER BY rank DESC LIMIT 1;"
 },
 {
  "q": "What's the average of the amount of laps for the driver patrick tambay?",
  "ref": "SELECT AVG(laps) FROM table_name_64 WHERE driver = \"patrick tambay\"",
  "pred": "SELECT AVG(laps) FROM table_name_64 WHERE driver = 'patrick tambay';"
 },
 {
  "q": "On what date did the opponents win with 17 points? ",
  "ref": "SELECT date FROM table_16678052_2 WHERE opponents = 17 AND result = \"Win\"",
  "pred": "SELECT date FROM table_16678052_2 WHERE result = '17';"
 },
 {
  "q": "How many years have a Title of Magia Nuda?",
  "ref": "SELECT COUNT(year) FROM table_name_78 WHERE title = \"magia nuda\"",
  "pred": "SELECT COUNT(*) FROM table_name_78 WHERE title = 'Magia Nuda';"
 },
 {
  "q": "Give me all the information about hiring.",
  "ref": "SELECT * FROM hiring",
  "pred": "SELECT * FROM hiring;"
 },
 {
  "q": "Name the total fat which has a polyunsaturated fat of 11g and monounsaturated fat of 45g",
  "ref": "SELECT total_fat FROM table_name_60 WHERE polyunsaturated_fat = \"11g\" AND monounsaturated_fat = \"45g\"",
  "pred": "SELECT total_fat FROM table_name_60 WHERE polyunsaturated_fat = '11g' AND monounsaturated_fat = '45g';"
 },
 {
  "q": "What is the Eliminated when there are less than 4 entered and the wrestler was shawn michaels?",
  "ref": "SELECT eliminated FROM table_name_28 WHERE entered < 4 AND wrestler = \"shawn michaels\"",
  "pred": "SELECT eliminated FROM table_name_28 WHERE entered < 4 AND wrestler = 'shawn michaels';"
 },
 {
  "q": "How many n are listed for 0.6% r1b1a2 (r-m269)?",
  "ref": "SELECT COUnT AS n FROM table_21481509_4 WHERE r1b1a2__r_m269_ = \"0.6%\"",
  "pred": "SELECT COUNT FROM table_21481509_4 WHERE r1b1a2__r_m269_ = '0.6%';"
 },
 {
  "q": "What is the Took Office Date of the Presidency that Left Office Incumbent?",
  "ref": "SELECT SUM(took_office) FROM table_name_42 WHERE left_office = \"incumbent\"",
  "pred": "SELECT took_office FROM table_name_42;"
 },
 {
  "q": "What sound has cantonese as the language, N/A as the classification, and spectrum dvd as the publisher?",
  "ref": "SELECT sound FROM table_name_77 WHERE language = \"cantonese\" AND classifaction = \"n/a\" AND publisher = \"spectrum dvd\"",
  "pred": "SELECT sound FROM table_name_77 WHERE language = 'cantonese' AND classifaction = 'N/A' AND publisher = 'spectrum dvd';"
 },
 {
  "q": "What is the L2 cache with a release date on September 10, 2009, a 128-bit FPU width, and a 12x multi 1?",
  "ref": "SELECT l2_cache FROM table_name_80 WHERE release_date = \"september 10, 2009\" AND fpu_width = \"128-bit\" AND multi_1 = \"12x\"",
  "pred": "SELECT l2_cache FROM table_name_80 WHERE release_date = 'September 10, 2009' AND fpu_width = '128-bit' AND multi_1 = '12x';"
 },
 {
  "q": "On what circuit was the i mexican grand prix held?",
  "ref": "SELECT circuit FROM table_name_5 WHERE race_name = \"i mexican grand prix\"",
  "pred": "SELECT circuit FROM table_name_5 WHERE race_name = 'i mexican grand prix';"
 },
 {
  "q": "What is the attendance in the bye week after week 5?",
  "ref": "SELECT attendance FROM table_name_40 WHERE week > 5 AND opponent = \"bye\"",
  "pred": "SELECT attendance FROM table_name_40 WHERE week > 5 AND opponent = 'BYE';"
 },
 {
  "q": "Which season has Zach Jacobson in third?",
  "ref": "SELECT season FROM table_name_30 WHERE third = \"zach jacobson\"",
  "pred": "SELECT season FROM table_name_30 WHERE third = 'Zach Jacobson';"
 },
 {
  "q": "WHAT IS THE LOWEST $25-1/4 OZ COIN WITH A $10-1/10 OZ OF $70,250?",
  "ref": "SELECT MIN AS $25___1_4_oz FROM table_name_57 WHERE $10___1_10_oz = \"70,250\"",
  "pred": "SELECT MIN FROM table_name_57 WHERE $10___1_10_oz = '$70,250' ORDER BY MIN ASC LIMIT 1;"
 },
 {
  "q": "What is the car with the lowest extinct year that has a NBR class of 32?",
  "ref": "SELECT MIN(extinct) FROM table_name_21 WHERE nbr_class = 32",
  "pred": "SELECT extinct FROM table_name_21 WHERE nbr_class = 32 ORDER BY extinct ASC LIMIT 1;"
 },
 {
  "q": "Which category has 24 nominated work?",
  "ref": "SELECT category FROM table_name_12 WHERE nominated_work = \"24\"",
  "pred": "SELECT category FROM table_name_12 GROUP BY category HAVING COUNT(*) = 24;"
 },
 {
  "q": "What is the duration of the flight with end time of 21:06?",
  "ref": "SELECT duration FROM table_name_61 WHERE end_time = \"21:06\"",
  "pred": "SELECT duration FROM table_name_61 WHERE end_time = '21:06';"
 },
 {
  "q": "who was the opponent where the game is 14?",
  "ref": "SELECT opponent FROM table_27539272_5 WHERE game = 14",
  "pred": "SELECT opponent FROM table_27539272_5 WHERE game = 14;"
 },
 {
  "q": "What is the attendance when oadby town is away?",
  "ref": "SELECT attendance FROM table_name_37 WHERE away_team = \"oadby town\"",
  "pred": "SELECT attendance FROM table_name_37 WHERE away_team = 'Oadby Town';"
 },
 {
  "q": "What is the genre for the hot fm station?",
  "ref": "SELECT genre FROM table_1601792_3 WHERE station = \"Hot FM\"",
  "pred": "SELECT genre FROM table_1601792_3 WHERE station = 'hot fm';"
 },
 {
  "q": "Which club has 15 losses and 14 wins?",
  "ref": "SELECT club FROM table_name_60 WHERE losses = 15 AND wins = 14",
  "pred": "SELECT club FROM table_name_60 WHERE losses = '15' AND wins = '14';"
 },
 {
  "q": "What is the largest start for a player with 14 conv, 10 tries and more than 22 pens?",
  "ref": "SELECT MAX(start) FROM table_name_29 WHERE conv = 14 AND tries = 10 AND pens > 22",
  "pred": "SELECT MAX(start) FROM table_name_29 WHERE conv = '14' AND tries = '10' AND pens > '22';"
 },
 {
  "q": "What is the earliest last year with a yr plyf less than 0?",
  "ref": "SELECT MIN(last_yr) FROM table_name_97 WHERE yr_plyf < 0",
  "pred": "SELECT MIN(last_yr) FROM table_name_97 WHERE yr_plyf < 0;"
 },
 {
  "q": "Who ran unsuccessfully against Bill Hefner?",
  "ref": "SELECT opponent FROM table_1341522_36 WHERE incumbent = \"Bill Hefner\"",
  "pred": "SELECT opponent FROM table_1341522_36 WHERE incumbent = 'Bill Hefner';"
 },
 {
  "q": "What division is Sai Kung in?",
  "ref": "SELECT league_division FROM table_name_29 WHERE club = \"sai kung\"",
  "pred": "SELECT league_division FROM table_name_29 WHERE club = 'Sai Kung';"
 },
 {
  "q": "What is the smallest population with an Area (km\u00b2) of 1115.4?",
  "ref": "SELECT MIN(population) FROM table_name_72 WHERE area__km\u00b2_ = 1115.4",
  "pred": "SELECT MIN(population) FROM table_name_72 WHERE area__km\u00b2_ = 1115.4;"
 },
 {
  "q": "What is the language with a France publication range of 1992\u20132003?",
  "ref": "SELECT language FROM table_name_65 WHERE country = \"france\" AND publication_range = \"1992\u20132003\"",
  "pred": "SELECT language FROM table_name_65 WHERE country = 'France' AND publication_range = '1992\u20132003';"
 },
 {
  "q": "Which incumbent was first elected in 1958?",
  "ref": "SELECT incumbent FROM table_1341577_36 WHERE first_elected = 1958",
  "pred": "SELECT incumbent FROM table_1341577_36 WHERE first_elected = '1958';"
 },
 {
  "q": "Name the total number of year to april for ebit being 24.5",
  "ref": "SELECT COUNT(year_to_april) FROM table_18304259_1 WHERE ebit__\u00a3m_ = \"24.5\"",
  "pred": "SELECT COUNT(*) FROM table_18304259_1 WHERE ebit__\u00a3m_ = '24.5';"
 },
 {
  "q": "Which player is Pick 33 and has a Nationality of USA?",
  "ref": "SELECT player FROM table_name_31 WHERE nationality = \"usa\" AND pick = 33",
  "pred": "SELECT player FROM table_name_31 WHERE pick = '33' AND nationality = 'USA';"
 },
 {
  "q": "What are Wells Fargo's assets?",
  "ref": "SELECT assets__billion_$_ FROM table_1682026_2 WHERE company = \"Wells Fargo\"",
  "pred": "SELECT assets__billion_$_ FROM table_1682026_2 WHERE company = 'Wells Fargo';"
 },
 {
  "q": "Who is the away team for the game played on December 24, 1977?",
  "ref": "SELECT away_team FROM table_name_78 WHERE date = \"december 24, 1977\"",
  "pred": "SELECT away_team FROM table_name_78 WHERE date = '1977-12-24';"
 },
 {
  "q": "What is the total number of Round, when College/Junior/Club Team (League) is \"Kelowna Rockets ( WHL )\"?",
  "ref": "SELECT COUNT(round) FROM table_name_83 WHERE college_junior_club_team__league_ = \"kelowna rockets ( whl )\"",
  "pred": "SELECT COUNT(*) FROM table_name_83 WHERE college_junior_club_team__league_ = 'Kelowna Rockets ( WHL )';"
 },
 {
  "q": "What is the played average that has botev plovdiv as the club and wins larger than 11?",
  "ref": "SELECT AVG(played) FROM table_name_43 WHERE club = \"botev plovdiv\" AND wins > 11",
  "pred": "SELECT AVG(played) FROM table_name_43 WHERE club = 'botev plovdiv' AND wins > 11;"
 },
 {
  "q": "Which college has 41 picks?",
  "ref": "SELECT college FROM table_name_86 WHERE pick__number = 41",
  "pred": "SELECT college FROM table_name_86 WHERE pick__number = '41';"
 },
 {
  "q": "Who did Nabil Kassel face in the Round of 32?",
  "ref": "SELECT round_of_32 FROM table_17427004_7 WHERE athlete = \"Nabil Kassel\"",
  "pred": "SELECT athlete FROM table_17427004_7 WHERE round_of_32 = 'Nabil Kassel';"
 },
 {
  "q": "What is the career of player andriy husyn?",
  "ref": "SELECT career FROM table_name_38 WHERE player = \"andriy husyn\"",
  "pred": "SELECT career FROM table_name_38 WHERE player = 'andriy husyn';"
 },
 {
  "q": "When was the archbishop that was born on February 10, 1858 ordained a bishop?",
  "ref": "SELECT ordained_bishop FROM table_name_80 WHERE born = \"february 10, 1858\"",
  "pred": "SELECT ordained_bishop FROM table_name_80 WHERE born = 'February 10, 1858';"
 },
 {
  "q": "Which Player plays Guard-Forward Position for School/Club Team Pepperdine?",
  "ref": "SELECT player FROM table_name_12 WHERE position = \"guard-forward\" AND school_club_team = \"pepperdine\"",
  "pred": "SELECT player FROM table_name_12 WHERE position = 'Guard-Forward' AND school_club_team = 'Pepperdine';"
 },
 {
  "q": "what is the lowest latitude for the land sqmi less than 32.696 and a water sqmi less than 0",
  "ref": "SELECT MIN(latitude) FROM table_name_97 WHERE land___sqmi__ < 32.696 AND water__sqmi_ < 0",
  "pred": "SELECT MIN(latitude) FROM table_name_97 WHERE land___sqmi__ < 32.696 AND water__sqmi_ < 0;"
 },
 {
  "q": "What is the entered service date for serial number 85-1222?",
  "ref": "SELECT entered_service FROM table_name_29 WHERE serial_no = \"85-1222\"",
  "pred": "SELECT entered_service FROM table_name_29 WHERE serial_no = '85-1222';"
 },
 {
  "q": "What is the date of the last performance when the style is street dance and the name is George Maguire?",
  "ref": "SELECT last_performance FROM table_name_77 WHERE style = \"street dance\" AND name = \"george maguire\"",
  "pred": "SELECT last_performance FROM table_name_77 WHERE style = 'street dance' AND name = 'George Maguire';"
 },
 {
  "q": "Tell me the DA for bureau chief ada",
  "ref": "SELECT district_attorney FROM table_name_22 WHERE position = \"bureau chief ada\"",
  "pred": "SELECT district_attorney FROM table_name_22 WHERE position = 'bureau chief ada';"
 },
 {
  "q": "What is the low gold total for nations with under 23 silvers, ranked beloe 5, and 6 bronzes?",
  "ref": "SELECT MIN(gold) FROM table_name_45 WHERE silver < 23 AND rank > 5 AND bronze = 6",
  "pred": "SELECT gold FROM table_name_45 WHERE silver < 23 AND rank < 5 AND bronze = 6;"
 },
 {
  "q": "What is the sum of the total As of team bucheon sk, who had the chunnam dragons as their opponent at the bucheon venue?",
  "ref": "SELECT SUM(total_as) FROM table_name_81 WHERE team = \"bucheon sk\" AND opponent = \"chunnam dragons\" AND venue = \"bucheon\"",
  "pred": "SELECT SUM(total_as) FROM table_name_81 WHERE team = 'bucheon sk' AND opponent = 'chunnam dragons' AND venue = 'bucheon';"
 },
 {
  "q": "Which week was there a w 23\u201314 result?",
  "ref": "SELECT week FROM table_name_1 WHERE result = \"w 23\u201314\"",
  "pred": "SELECT week FROM table_name_1 WHERE result = 'w 23\u201314';"
 },
 {
  "q": "Find the first name of the band mate that has performed in most songs.",
  "ref": "SELECT t2.firstname FROM Performance AS t1 JOIN Band AS t2 ON t1.bandmate = t2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId GROUP BY firstname ORDER BY COUNT(*) DESC LIMIT 1",
  "pred": "SELECT b.firstname FROM Band b JOIN Performance p ON b.id = p.bandmate GROUP BY b.id ORDER BY COUNT(*) DESC LIMIT 1;"
 },
 {
  "q": "Name the game site for week 6",
  "ref": "SELECT game_site FROM table_14984103_1 WHERE week = 6",
  "pred": "SELECT game_site FROM table_14984103_1 WHERE week = '6';"
 },
 {
  "q": "How few laps were finished in 17?",
  "ref": "SELECT MIN(laps) FROM table_name_48 WHERE finish = \"17\"",
  "pred": "SELECT MIN(laps) FROM table_name_48 WHERE finish = '17';"
 },
 {
  "q": "Which law school did judge sheila abdus-salaam attend, who was appointed in 2004?",
  "ref": "SELECT law_school_attended FROM table_name_14 WHERE appointed > 2004 AND name = \"judge sheila abdus-salaam\"",
  "pred": "SELECT law_school_attended FROM table_name_14 WHERE name = 'sheila abdus-salaam' AND appointed = 2004;"
 },
 {
  "q": "How many rebounds were there in 2008?",
  "ref": "SELECT COUNT(rebounds) FROM table_13050003_2 WHERE year = 2008",
  "pred": "SELECT COUNT(*) FROM table_13050003_2 WHERE year = '2008';"
 },
 {
  "q": "Name the College which has a Round smaller than 3, and a Pick # larger than 4, and a Position of wide receiver?",
  "ref": "SELECT college FROM table_name_59 WHERE round < 3 AND pick__number > 4 AND position = \"wide receiver\"",
  "pred": "SELECT college FROM table_name_59 WHERE round < 3 AND pick__number > 4 AND position = 'wide receiver';"
 },
 {
  "q": "Name the loss for series 2-2",
  "ref": "SELECT loss FROM table_name_90 WHERE series = \"2-2\"",
  "pred": "SELECT loss FROM table_name_90 WHERE series = '2-2';"
 },
 {
  "q": "What is the lowest money ($) that has t8 as the place, with a to par greater than 19?",
  "ref": "SELECT MIN(money___) AS $__ FROM table_name_75 WHERE place = \"t8\" AND to_par > 19",
  "pred": "SELECT MIN(money___) FROM table_name_75 WHERE place = 't8' AND to_par > 19;"
 },
 {
  "q": "WHAT IS THE GREGORIAN CALENDAR FOR AQUARIUS?",
  "ref": "SELECT gregorian_calendar FROM table_name_77 WHERE sign_of_zodiac = \"aquarius\"",
  "pred": "SELECT gregorian_calendar FROM table_name_77 WHERE sign_of_zodiac = 'AQUARIUS';"
 },
 {
  "q": "When 10% is the percentage of electricity reduction how many sets of universities are there?",
  "ref": "SELECT COUNT(universities) FROM table_29538735_1 WHERE _percentage_electricity_reduction = \"10%\"",
  "pred": "SELECT COUNT(*) FROM table_29538735_1 WHERE _percentage_electricity_reduction = '10%';"
 },
 {
  "q": "What is the biggended for 1947?",
  "ref": "SELECT MAX(biggenden) FROM table_12526990_1 WHERE year = 1947",
  "pred": "SELECT biggenden FROM table_12526990_1 WHERE year = '1947';"
 },
 {
  "q": "What is the title of the single with the peak position of 10 and from France?",
  "ref": "SELECT title FROM table_name_21 WHERE peak_position = 10 AND country = \"france\"",
  "pred": "SELECT title FROM table_name_21 WHERE peak_position = '10' AND country = 'France';"
 },
 {
  "q": "On which date was the 2006 FIFA World Cup Qualification in Manama, Bahrain?",
  "ref": "SELECT date FROM table_name_57 WHERE venue = \"manama, bahrain\" AND competition = \"2006 fifa world cup qualification\"",
  "pred": "SELECT date FROM table_name_57 WHERE venue = 'Manama, Bahrain' AND competition = '2006 FIFA World Cup Qualification';"
 }
]