Question: Who constructed Gerhard Berger car that went all rounds?

Context: CREATE TABLE table_name_92 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)

SELECT constructor FROM table_name_92 WHERE rounds = "all" AND driver = "gerhard berger"


Question: Who visited phoenix with a Record of 2–5–0?

Context: CREATE TABLE table_name_64 (visitor VARCHAR, home VARCHAR, record VARCHAR)

SELECT visitor FROM table_name_64 WHERE home = "phoenix" AND record = "2–5–0"


Question: What decision had a Record of 3–5–0?

Context: CREATE TABLE table_name_17 (decision VARCHAR, record VARCHAR)

SELECT decision FROM table_name_17 WHERE record = "3–5–0"


Question: What is the low attendance was based in phoenix with a Record of 1–0–0?

Context: CREATE TABLE table_name_38 (attendance INTEGER, home VARCHAR, record VARCHAR)

SELECT MIN(attendance) FROM table_name_38 WHERE home = "phoenix" AND record = "1–0–0"


Question: What was the score did phoenix have with a Record of 3–6–0 at home?

Context: CREATE TABLE table_name_88 (score VARCHAR, home VARCHAR, record VARCHAR)

SELECT score FROM table_name_88 WHERE home = "phoenix" AND record = "3–6–0"


Question: What was the record while at home in Anaheim?

Context: CREATE TABLE table_name_95 (record VARCHAR, home VARCHAR)

SELECT record FROM table_name_95 WHERE home = "anaheim"


Question: Which inning were the Minnesota Twins in on 06-07-1961?

Context: CREATE TABLE table_name_86 (inning VARCHAR, team VARCHAR, date VARCHAR)

SELECT inning FROM table_name_86 WHERE team = "minnesota twins" AND date = "06-07-1961"


Question: Who was the away team at the game held at Arden Street Oval?

Context: CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR)

SELECT away_team FROM table_name_16 WHERE venue = "arden street oval"


Question: What is the name of the venue that away team footscray played at?

Context: CREATE TABLE table_name_91 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_91 WHERE away_team = "footscray"


Question: What date was the game played at princes park?

Context: CREATE TABLE table_name_74 (date VARCHAR, venue VARCHAR)

SELECT date FROM table_name_74 WHERE venue = "princes park"


Question: How many tracks were Recorded 1964-01-08?

Context: CREATE TABLE table_name_75 (track VARCHAR, recorded VARCHAR)

SELECT COUNT(track) FROM table_name_75 WHERE recorded = "1964-01-08"


Question: WhatTranslation has a Composer of jacques brel, rod mckuen?

Context: CREATE TABLE table_name_61 (translation VARCHAR, composer VARCHAR)

SELECT translation FROM table_name_61 WHERE composer = "jacques brel, rod mckuen"


Question: Which recording has a Track larger than 2, and a Translation of the last meal?

Context: CREATE TABLE table_name_31 (recorded VARCHAR, track VARCHAR, translation VARCHAR)

SELECT recorded FROM table_name_31 WHERE track > 2 AND translation = "the last meal"


Question: Which title has a Track of 3?

Context: CREATE TABLE table_name_90 (title VARCHAR, track VARCHAR)

SELECT title FROM table_name_90 WHERE track = 3


Question: When was the home game when the New Jersey team's record became 7-23-7?

Context: CREATE TABLE table_name_9 (date VARCHAR, home VARCHAR, record VARCHAR)

SELECT date FROM table_name_9 WHERE home = "new jersey" AND record = "7-23-7"


Question: What college has a pick of 11?

Context: CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR)

SELECT college FROM table_name_86 WHERE pick = 11


Question: What is the average pick of Florida State?

Context: CREATE TABLE table_name_28 (pick INTEGER, college VARCHAR)

SELECT AVG(pick) FROM table_name_28 WHERE college = "florida state"


Question: What is the average pick of San Diego State?

Context: CREATE TABLE table_name_63 (pick INTEGER, college VARCHAR)

SELECT AVG(pick) FROM table_name_63 WHERE college = "san diego state"


Question: What is the lowest value for SP+FS for Miljan Begovic with a greater than 189 place?

Context: CREATE TABLE table_name_64 (fs VARCHAR, sp INTEGER, name VARCHAR, placings VARCHAR)

SELECT MIN(sp) + fs FROM table_name_64 WHERE name = "miljan begovic" AND placings > 189


Question: What is the average points value for a rank less than 12 for David Santee?

Context: CREATE TABLE table_name_42 (points INTEGER, rank VARCHAR, name VARCHAR)

SELECT AVG(points) FROM table_name_42 WHERE rank < 12 AND name = "david santee"


Question: What is the total number for Rank with 185.16 points and a SP+FS value greater than 5?

Context: CREATE TABLE table_name_44 (rank VARCHAR, points VARCHAR, sp VARCHAR, fs VARCHAR)

SELECT COUNT(rank) FROM table_name_44 WHERE points = 185.16 AND sp + fs > 5


Question: What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumura in a Rank greater than 1?

Context: CREATE TABLE table_name_27 (fs VARCHAR, sp INTEGER, name VARCHAR, points VARCHAR, rank VARCHAR)

SELECT MAX(sp) + fs FROM table_name_27 WHERE points > 164.56 AND rank > 1 AND name = "mitsuru matsumura"


Question: When phonetic realisation is [[[|u]]], what is the variant with niqqud?

Context: CREATE TABLE table_name_84 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR)

SELECT variant__with_niqqud__ FROM table_name_84 WHERE phonetic_realisation = "[[[|u]]]"


Question: When a variant without niqqud is as middle letter: וו with a phonemic value of /v/, what is the variant with niqqud?

Context: CREATE TABLE table_name_53 (variant__with_niqqud__ VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR)

SELECT variant__with_niqqud__ FROM table_name_53 WHERE phonemic_value = "/v/" AND without_niqqud = "as middle letter: וו"


Question: What is the phonetic realisation if the phonemic value is /v/ and the without niqqud is as initial letter: ו?

Context: CREATE TABLE table_name_12 (phonetic_realisation VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR)

SELECT phonetic_realisation FROM table_name_12 WHERE phonemic_value = "/v/" AND without_niqqud = "as initial letter: ו"


Question: Give me an english example of a variant with niqqud of וֹ?

Context: CREATE TABLE table_name_96 (english_example VARCHAR, variant__with_niqqud__ VARCHAR)

SELECT english_example FROM table_name_96 WHERE variant__with_niqqud__ = "וֹ"


Question: What is the variant with niqqud for a phonetic realisation of [[[|v]]]?

Context: CREATE TABLE table_name_77 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR)

SELECT variant__with_niqqud__ FROM table_name_77 WHERE phonetic_realisation = "[[[|v]]]"


Question: If a variant without niqqud is as final letter: ו or יו, what is the phonetic realisation?

Context: CREATE TABLE table_name_61 (phonetic_realisation VARCHAR, without_niqqud VARCHAR)

SELECT phonetic_realisation FROM table_name_61 WHERE without_niqqud = "as final letter: ו or יו"


Question: What position does pick 113 play?

Context: CREATE TABLE table_name_96 (position VARCHAR, pick VARCHAR)

SELECT position FROM table_name_96 WHERE pick = 113


Question: What is the school of Victor Jones, who was picked further than number 225?

Context: CREATE TABLE table_name_7 (school VARCHAR, pick VARCHAR, player VARCHAR)

SELECT school FROM table_name_7 WHERE pick > 225 AND player = "victor jones"


Question: What is the total pick number of Virginia Tech?

Context: CREATE TABLE table_name_68 (pick VARCHAR, school VARCHAR)

SELECT COUNT(pick) FROM table_name_68 WHERE school = "virginia tech"


Question: What is the position of a player from North Carolina?

Context: CREATE TABLE table_name_57 (position VARCHAR, school VARCHAR)

SELECT position FROM table_name_57 WHERE school = "north carolina"


Question: What is the home team score of St Kilda?

Context: CREATE TABLE table_name_4 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_4 WHERE home_team = "st kilda"


Question: What is the date for home team Collingwood?

Context: CREATE TABLE table_name_19 (date VARCHAR, home_team VARCHAR)

SELECT date FROM table_name_19 WHERE home_team = "collingwood"


Question: What is the home team score for St Kilda?

Context: CREATE TABLE table_name_52 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_52 WHERE home_team = "st kilda"


Question: Tell me the named after for diameter less than 19.2 and latitude more than -37.5 with longitude less than 67.3

Context: CREATE TABLE table_name_97 (named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR, latitude VARCHAR)

SELECT named AS after FROM table_name_97 WHERE diameter__km_ < 19.2 AND latitude > -37.5 AND longitude < 67.3


Question: Tell me the named for latitude of 6.4

Context: CREATE TABLE table_name_61 (named VARCHAR, latitude VARCHAR)

SELECT named AS after FROM table_name_61 WHERE latitude = 6.4


Question: Tell me the name for longitude more than 103.8 and latitude of -11.4

Context: CREATE TABLE table_name_80 (name VARCHAR, longitude VARCHAR, latitude VARCHAR)

SELECT name FROM table_name_80 WHERE longitude > 103.8 AND latitude = -11.4


Question: Tell me the sum of longitude for diameter being 22.6 and latitude less than -12.4

Context: CREATE TABLE table_name_65 (longitude INTEGER, diameter__km_ VARCHAR, latitude VARCHAR)

SELECT SUM(longitude) FROM table_name_65 WHERE diameter__km_ = 22.6 AND latitude < -12.4


Question: What was the overall pick for Doug Sproule of the United States?

Context: CREATE TABLE table_name_48 (overall VARCHAR, nationality VARCHAR, player VARCHAR)

SELECT overall FROM table_name_48 WHERE nationality = "united states" AND player = "doug sproule"


Question: what is the lowest viewers (m) when the share is more than 13?

Context: CREATE TABLE table_name_69 (viewers__m_ INTEGER, share INTEGER)

SELECT MIN(viewers__m_) FROM table_name_69 WHERE share > 13


Question: what is the average rating when the air date is november 23, 2007?

Context: CREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR)

SELECT AVG(rating) FROM table_name_46 WHERE air_date = "november 23, 2007"


Question: what is the total viewers (m) when the rating is 6.4 and the share is more than 11?

Context: CREATE TABLE table_name_12 (viewers__m_ VARCHAR, rating VARCHAR, share VARCHAR)

SELECT COUNT(viewers__m_) FROM table_name_12 WHERE rating = 6.4 AND share > 11


Question: Who wrote the episode that was directed by Terry Ingram?

Context: CREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR)

SELECT written_by FROM table_name_58 WHERE directed_by = "terry ingram"


Question: What is the title of the episode that was directed by Roy Dupuis?

Context: CREATE TABLE table_name_38 (title VARCHAR, directed_by VARCHAR)

SELECT title FROM table_name_38 WHERE directed_by = "roy dupuis"


Question: Who directed the episode that originally aired on February 25, 2001?

Context: CREATE TABLE table_name_10 (directed_by VARCHAR, original_airdate VARCHAR)

SELECT directed_by FROM table_name_10 WHERE original_airdate = "february 25, 2001"


Question: What is the episode # of the episode that originally aired on January 21, 2001?

Context: CREATE TABLE table_name_95 (episode__number VARCHAR, original_airdate VARCHAR)

SELECT episode__number FROM table_name_95 WHERE original_airdate = "january 21, 2001"


Question: Who directed episode # 92 (4)?

Context: CREATE TABLE table_name_21 (directed_by VARCHAR, episode__number VARCHAR)

SELECT directed_by FROM table_name_21 WHERE episode__number = "92 (4)"


Question: what is the stream(s) and / or lake(s) when the date founded is 1959?

Context: CREATE TABLE table_name_42 (stream_s__and___or_lake_s_ VARCHAR, date_founded VARCHAR)

SELECT stream_s__and___or_lake_s_ FROM table_name_42 WHERE date_founded = 1959


Question: What is the area in acres (ha) for the park bald eagle state park?

Context: CREATE TABLE table_name_20 (area_in_acres__ha_ VARCHAR, park_name VARCHAR)

SELECT area_in_acres__ha_ FROM table_name_20 WHERE park_name = "bald eagle state park"


Question: what is the most recent date founded in elk county?

Context: CREATE TABLE table_name_6 (date_founded INTEGER, county_or_counties VARCHAR)

SELECT MAX(date_founded) FROM table_name_6 WHERE county_or_counties = "elk county"


Question: how many parks are name beltzville state park?

Context: CREATE TABLE table_name_77 (date_founded VARCHAR, park_name VARCHAR)

SELECT COUNT(date_founded) FROM table_name_77 WHERE park_name = "beltzville state park"


Question: Which rank has a total smaller than 1?

Context: CREATE TABLE table_name_23 (rank INTEGER, total INTEGER)

SELECT AVG(rank) FROM table_name_23 WHERE total < 1


Question: What is the year for the ocean?

Context: CREATE TABLE table_name_47 (year VARCHAR, english_title VARCHAR)

SELECT year FROM table_name_47 WHERE english_title = "the ocean"


Question: Name the representation for om fjorten dage

Context: CREATE TABLE table_name_59 (representing VARCHAR, original_title VARCHAR)

SELECT representing FROM table_name_59 WHERE original_title = "om fjorten dage"


Question: Name the representing for englar alheimsins

Context: CREATE TABLE table_name_35 (representing VARCHAR, original_title VARCHAR)

SELECT representing FROM table_name_35 WHERE original_title = "englar alheimsins"


Question: Name the original title for years before 1977 and author of lagercrantz olof lagercrantz

Context: CREATE TABLE table_name_53 (original_title VARCHAR, year VARCHAR, author VARCHAR)

SELECT original_title FROM table_name_53 WHERE year < 1977 AND author = "lagercrantz olof lagercrantz"


Question: Name the representating for ingenjör andrées luftfärd

Context: CREATE TABLE table_name_82 (representing VARCHAR, original_title VARCHAR)

SELECT representing FROM table_name_82 WHERE original_title = "ingenjör andrées luftfärd"


Question: What is the distance for the team time trial?

Context: CREATE TABLE table_name_26 (distance VARCHAR, type VARCHAR)

SELECT distance FROM table_name_26 WHERE type = "team time trial"


Question: What was the course on 13 may?

Context: CREATE TABLE table_name_99 (course VARCHAR, date VARCHAR)

SELECT course FROM table_name_99 WHERE date = "13 may"


Question: What type has rest day as a course and was on 21 may?

Context: CREATE TABLE table_name_83 (type VARCHAR, course VARCHAR, date VARCHAR)

SELECT type FROM table_name_83 WHERE course = "rest day" AND date = "21 may"


Question: What's the race name that the driver Innes Ireland won?

Context: CREATE TABLE table_name_3 (race_name VARCHAR, winning_driver VARCHAR)

SELECT race_name FROM table_name_3 WHERE winning_driver = "innes ireland"


Question: What's the score in the home game against the Charlotte Bobcats?

Context: CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR)

SELECT score FROM table_name_48 WHERE visitor = "charlotte bobcats"


Question: What was the date of the game played at Victoria Park?

Context: CREATE TABLE table_name_80 (date VARCHAR, venue VARCHAR)

SELECT date FROM table_name_80 WHERE venue = "victoria park"


Question: Who was the home team when the crowd was larger than 13,557?

Context: CREATE TABLE table_name_71 (home_team VARCHAR, crowd INTEGER)

SELECT home_team FROM table_name_71 WHERE crowd > 13 OFFSET 557


Question: Where did Richmond play as the away team?

Context: CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_57 WHERE away_team = "richmond"


Question: Tell me the years competed for panthers

Context: CREATE TABLE table_name_97 (years_competed VARCHAR, nickname VARCHAR)

SELECT years_competed FROM table_name_97 WHERE nickname = "panthers"


Question: What is the release date of the CD by EG Records in the UK?

Context: CREATE TABLE table_name_32 (release_date INTEGER, music_label VARCHAR, media VARCHAR, country VARCHAR)

SELECT SUM(release_date) FROM table_name_32 WHERE media = "cd" AND country = "uk" AND music_label = "eg records"


Question: What is the release date by Editions EG in the Netherlands?

Context: CREATE TABLE table_name_46 (release_date INTEGER, music_label VARCHAR, country VARCHAR)

SELECT AVG(release_date) FROM table_name_46 WHERE music_label = "editions eg" AND country = "netherlands"


Question: What is the music label with the catalogue number enocd 10?

Context: CREATE TABLE table_name_36 (music_label VARCHAR, catalogue_number VARCHAR)

SELECT music_label FROM table_name_36 WHERE catalogue_number = "enocd 10"


Question: What is the release date by Virgin?

Context: CREATE TABLE table_name_86 (release_date INTEGER, music_label VARCHAR)

SELECT AVG(release_date) FROM table_name_86 WHERE music_label = "virgin"


Question: Which team has Yuriy Hruznov as coach?

Context: CREATE TABLE table_name_49 (team VARCHAR, coach VARCHAR)

SELECT team FROM table_name_49 WHERE coach = "yuriy hruznov"


Question: Where is Dynamo-2 located?

Context: CREATE TABLE table_name_38 (location VARCHAR, team VARCHAR)

SELECT location FROM table_name_38 WHERE team = "dynamo-2"


Question: Where is Shakhtar-2 located?

Context: CREATE TABLE table_name_81 (location VARCHAR, team VARCHAR)

SELECT location FROM table_name_81 WHERE team = "shakhtar-2"


Question: For the gte northwest classic with the score of 207 (-9), what is the average 1st prize ($)

Context: CREATE TABLE table_name_71 (score VARCHAR, tournament VARCHAR)

SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_71 WHERE score = "207 (-9)" AND tournament = "gte northwest classic"


Question: For sep 18 what is the total number of 1 prize ($)

Context: CREATE TABLE table_name_56 (date VARCHAR)

SELECT COUNT(1 AS st_prize__) AS $__ FROM table_name_56 WHERE date = "sep 18"


Question: What is the winner for Virginia?

Context: CREATE TABLE table_name_99 (winner VARCHAR, location VARCHAR)

SELECT winner FROM table_name_99 WHERE location = "virginia"


Question: On what date was the gte north classic tournament?

Context: CREATE TABLE table_name_81 (date VARCHAR, tournament VARCHAR)

SELECT date FROM table_name_81 WHERE tournament = "gte north classic"


Question: What home team plays at princes park?

Context: CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_81 WHERE venue = "princes park"


Question: Where does the home team fitzroy play?

Context: CREATE TABLE table_name_78 (venue VARCHAR, home_team VARCHAR)

SELECT venue FROM table_name_78 WHERE home_team = "fitzroy"


Question: Which extra resulted in 2nd before 2005?

Context: CREATE TABLE table_name_30 (extra VARCHAR, result VARCHAR, year VARCHAR)

SELECT extra FROM table_name_30 WHERE result = "2nd" AND year < 2005


Question: Which venue resulted in 2nd before 2005?

Context: CREATE TABLE table_name_27 (venue VARCHAR, result VARCHAR, year VARCHAR)

SELECT venue FROM table_name_27 WHERE result = "2nd" AND year < 2005


Question: What was the attendance at the Red Sox game that had a loss of Wakefield (7–10)?

Context: CREATE TABLE table_name_22 (attendance VARCHAR, loss VARCHAR)

SELECT attendance FROM table_name_22 WHERE loss = "wakefield (7–10)"


Question: What was the loss of the Red Sox game when they had a record of 77–67?

Context: CREATE TABLE table_name_74 (loss VARCHAR, record VARCHAR)

SELECT loss FROM table_name_74 WHERE record = "77–67"


Question: Which Tournament has Pat Cash as a runner-up?

Context: CREATE TABLE table_name_36 (tournament VARCHAR, runner_up VARCHAR)

SELECT tournament FROM table_name_36 WHERE runner_up = "pat cash"


Question: Who is the winner for the Tournament in Hong Kong with a third place winner named Mikael Pernfors?

Context: CREATE TABLE table_name_32 (winner VARCHAR, third_place VARCHAR, tournament VARCHAR)

SELECT winner FROM table_name_32 WHERE third_place = "mikael pernfors" AND tournament = "hong kong"


Question: What was the nationality of the athlete that ran the 10000 m event?

Context: CREATE TABLE table_name_75 (nationality VARCHAR, event VARCHAR)

SELECT nationality FROM table_name_75 WHERE event = "10000 m"


Question: What is the number of points of palamós cf, which has less than 21 wins and less than 40 goals?

Context: CREATE TABLE table_name_60 (points VARCHAR, goals_for VARCHAR, wins VARCHAR, club VARCHAR)

SELECT COUNT(points) FROM table_name_60 WHERE wins < 21 AND club = "palamós cf" AND goals_for < 40


Question: Which club has more than 46 goals, 10 wins, and a goal difference of -24?

Context: CREATE TABLE table_name_25 (club VARCHAR, goal_difference VARCHAR, goals_against VARCHAR, wins VARCHAR)

SELECT club FROM table_name_25 WHERE goals_against > 46 AND wins = 10 AND goal_difference = -24


Question: What is Richmond score as the away team?

Context: CREATE TABLE table_name_11 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_11 WHERE away_team = "richmond"


Question: Tell me the pole position with round less than 2

Context: CREATE TABLE table_name_97 (pole_position VARCHAR, round INTEGER)

SELECT pole_position FROM table_name_97 WHERE round < 2


Question: I want the fastest lap for round of 16

Context: CREATE TABLE table_name_18 (fastest_lap VARCHAR, round VARCHAR)

SELECT fastest_lap FROM table_name_18 WHERE round = 16


Question: Which Record has a home of Nashville?

Context: CREATE TABLE table_name_72 (record VARCHAR, home VARCHAR)

SELECT record FROM table_name_72 WHERE home = "nashville"


Question: Which Visitor played on January 17?

Context: CREATE TABLE table_name_67 (visitor VARCHAR, date VARCHAR)

SELECT visitor FROM table_name_67 WHERE date = "january 17"


Question: Which game later than number 32 had both Ellis for the decision and Nashville as the visiting team?

Context: CREATE TABLE table_name_59 (record VARCHAR, game VARCHAR, visitor VARCHAR, decision VARCHAR)

SELECT record FROM table_name_59 WHERE visitor = "nashville" AND decision = "ellis" AND game > 32


Question: Who was the visiting team in the game sometime after number 29 that had 18,584 atttendees?

Context: CREATE TABLE table_name_28 (visitor VARCHAR, game VARCHAR, attendance VARCHAR)

SELECT visitor FROM table_name_28 WHERE game > 29 AND attendance > 18 OFFSET 584


Question: If there is a VCPC of 75km/h (47mph) what is the VCA?

Context: CREATE TABLE table_name_7 (vca_155 VARCHAR, vcpc VARCHAR)

SELECT vca_155 FROM table_name_7 WHERE vcpc = "75km/h (47mph)"


Question: If there is a VCRT of 7.62mm (0.3in) fn mag 60-20 machine gun, what is the VCTP of that?

Context: CREATE TABLE table_name_86 (vctp VARCHAR, vcrt VARCHAR)

SELECT vctp FROM table_name_86 WHERE vcrt = "7.62mm (0.3in) fn mag 60-20 machine gun"


Question: What is the airing date for a modern drama with more than 21 episodes?

Context: CREATE TABLE table_name_21 (airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR)

SELECT airing_date FROM table_name_21 WHERE genre = "modern drama" AND number_of_episodes > 21


Question: What was the Constructor for the German Grand Prix Race?

Context: CREATE TABLE table_name_33 (constructor VARCHAR, race VARCHAR)

SELECT constructor FROM table_name_33 WHERE race = "german grand prix"


Question: What was the Constructor for the race that had Derek Warwick as its Fastest Lap?

Context: CREATE TABLE table_name_36 (constructor VARCHAR, fastest_lap VARCHAR)

SELECT constructor FROM table_name_36 WHERE fastest_lap = "derek warwick"


Question: What Brands Hatch race had Niki Lauda as its Fastest Lap?

Context: CREATE TABLE table_name_78 (race VARCHAR, fastest_lap VARCHAR, location VARCHAR)

SELECT race FROM table_name_78 WHERE fastest_lap = "niki lauda" AND location = "brands hatch"


Question: What was the Report for the Monaco race?

Context: CREATE TABLE table_name_32 (report VARCHAR, location VARCHAR)

SELECT report FROM table_name_32 WHERE location = "monaco"


Question: What was the nation that had 59 totals?

Context: CREATE TABLE table_name_75 (nation VARCHAR, total VARCHAR)

SELECT nation FROM table_name_75 WHERE total = 59


Question: On what date did Ayrton Senna win at Imola?

Context: CREATE TABLE table_name_92 (date VARCHAR, winning_driver VARCHAR, location VARCHAR)

SELECT date FROM table_name_92 WHERE winning_driver = "ayrton senna" AND location = "imola"


Question: Who had the fastest lap of the race that Ayrton Senna won on 23 April?

Context: CREATE TABLE table_name_4 (fastest_lap VARCHAR, winning_driver VARCHAR, date VARCHAR)

SELECT fastest_lap FROM table_name_4 WHERE winning_driver = "ayrton senna" AND date = "23 april"


Question: Which Grand Prix is located in Jerez?

Context: CREATE TABLE table_name_25 (grand_prix VARCHAR, location VARCHAR)

SELECT grand_prix FROM table_name_25 WHERE location = "jerez"


Question: Who had the pole position in Jerez?

Context: CREATE TABLE table_name_82 (pole_position VARCHAR, location VARCHAR)

SELECT pole_position FROM table_name_82 WHERE location = "jerez"


Question: What is the report for the race that Ayrton Senna won on 27 August?

Context: CREATE TABLE table_name_84 (report VARCHAR, winning_driver VARCHAR, date VARCHAR)

SELECT report FROM table_name_84 WHERE winning_driver = "ayrton senna" AND date = "27 august"


Question: What is the sum of gold medals for the United States with silver medal count greater than 3?

Context: CREATE TABLE table_name_26 (gold INTEGER, nation VARCHAR, silver VARCHAR)

SELECT SUM(gold) FROM table_name_26 WHERE nation = "united states" AND silver > 3


Question: What is the total number of medals of Norway with a silver medal count greater than 6 and a gold medal count greater than 10?

Context: CREATE TABLE table_name_72 (total VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR)

SELECT COUNT(total) FROM table_name_72 WHERE silver > 6 AND nation = "norway" AND gold > 10


Question: What is the lowest bronze medal count for Italy with fewer than 6 gold medals and greater than 10 total medals?

Context: CREATE TABLE table_name_14 (bronze INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)

SELECT MIN(bronze) FROM table_name_14 WHERE gold < 6 AND nation = "italy" AND total > 10


Question: On average, what is the number of silver medals for nations ranking higher than 7, with a total of 6 medals and fewer than 2 bronze medals?

Context: CREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, rank VARCHAR, total VARCHAR)

SELECT AVG(silver) FROM table_name_38 WHERE rank > 7 AND total = 6 AND bronze < 2


Question: For the United States, with greater than 2 bronze metals, greater than 3 silver medals, and a rank higher than 3, what is the highest total number of medals?

Context: CREATE TABLE table_name_4 (total INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, rank VARCHAR)

SELECT MAX(total) FROM table_name_4 WHERE bronze > 2 AND rank > 3 AND nation = "united states" AND silver > 3


Question: Which player was active in Jazz in 1975-79?

Context: CREATE TABLE table_name_36 (player VARCHAR, years_for_jazz VARCHAR)

SELECT player FROM table_name_36 WHERE years_for_jazz = "1975-79"


Question: What is the nationality for the guard position from Bowling Green?

Context: CREATE TABLE table_name_47 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR)

SELECT nationality FROM table_name_47 WHERE position = "guard" AND school_club_team = "bowling green"


Question: Who is the player from Auburn?

Context: CREATE TABLE table_name_86 (player VARCHAR, school_club_team VARCHAR)

SELECT player FROM table_name_86 WHERE school_club_team = "auburn"


Question: Which player is a shooting guard?

Context: CREATE TABLE table_name_81 (player VARCHAR, position VARCHAR)

SELECT player FROM table_name_81 WHERE position = "shooting guard"


Question: Which position was active in Jazz in 2002-03?

Context: CREATE TABLE table_name_59 (position VARCHAR, years_for_jazz VARCHAR)

SELECT position FROM table_name_59 WHERE years_for_jazz = "2002-03"


Question: Name the total number of swimsuits when evening gown is 8.329 and average is less than 8.497

Context: CREATE TABLE table_name_39 (swimsuit VARCHAR, evening_gown VARCHAR, average VARCHAR)

SELECT COUNT(swimsuit) FROM table_name_39 WHERE evening_gown = 8.329 AND average < 8.497


Question: Name the sum of swimsuit when the evening gown is less than 6.983 and the average is less than 7.362

Context: CREATE TABLE table_name_67 (swimsuit INTEGER, average VARCHAR, evening_gown VARCHAR)

SELECT SUM(swimsuit) FROM table_name_67 WHERE average < 7.362 AND evening_gown < 6.983


Question: Name the most interview for minnesota and average more than 7.901

Context: CREATE TABLE table_name_7 (interview INTEGER, state VARCHAR, average VARCHAR)

SELECT MAX(interview) FROM table_name_7 WHERE state = "minnesota" AND average > 7.901


Question: Name the highest Decile for roll more than 325 and area of warkworth

Context: CREATE TABLE table_name_70 (decile INTEGER, roll VARCHAR, area VARCHAR)

SELECT MAX(decile) FROM table_name_70 WHERE roll > 325 AND area = "warkworth"


Question: Name the authority for roll of 54

Context: CREATE TABLE table_name_22 (authority VARCHAR, roll VARCHAR)

SELECT authority FROM table_name_22 WHERE roll = 54


Question: What was the score of Match 2?

Context: CREATE TABLE table_name_69 (score1 VARCHAR, match VARCHAR)

SELECT score1 FROM table_name_69 WHERE match = 2


Question: When did Essendon play at home?

Context: CREATE TABLE table_name_15 (date VARCHAR, home_team VARCHAR)

SELECT date FROM table_name_15 WHERE home_team = "essendon"


Question: What was Collingwood's score when they played against North Melbourne at home?

Context: CREATE TABLE table_name_12 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_12 WHERE away_team = "north melbourne"


Question: What was the home team score at Melbourne's away match?

Context: CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_77 WHERE away_team = "melbourne"


Question: How many people were in attendance at Hawthorn's home match?

Context: CREATE TABLE table_name_60 (crowd INTEGER, home_team VARCHAR)

SELECT MIN(crowd) FROM table_name_60 WHERE home_team = "hawthorn"


Question: what is the capital with the Voivodeship Separate city of białostockie?

Context: CREATE TABLE table_name_1 (capital VARCHAR, voivodeship_separate_city VARCHAR)

SELECT capital FROM table_name_1 WHERE voivodeship_separate_city = "białostockie"


Question: between car plates of 80-84 what is the population in 1000 in year 1931?

Context: CREATE TABLE table_name_14 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR)

SELECT population_in_1000__1931_ FROM table_name_14 WHERE car_plates__since_1937_ = "80-84"


Question: tell me the population in 1000(1931) that has car plates since 1937 of 35-39.

Context: CREATE TABLE table_name_62 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR)

SELECT population_in_1000__1931_ FROM table_name_62 WHERE car_plates__since_1937_ = "35-39"


Question: tell me the name of the capital with an area of 20,4.

Context: CREATE TABLE table_name_7 (capital VARCHAR, area_in_1000km²__1930_ VARCHAR)

SELECT capital FROM table_name_7 WHERE area_in_1000km²__1930_ = "20,4"


Question: When did they play against Wales?

Context: CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR)

SELECT date FROM table_name_41 WHERE opponent = "wales"


Question: What was the result on 29/09/07?

Context: CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR)

SELECT result FROM table_name_14 WHERE date = "29/09/07"


Question: What was the competition on 25/08/07?

Context: CREATE TABLE table_name_52 (competition VARCHAR, date VARCHAR)

SELECT competition FROM table_name_52 WHERE date = "25/08/07"


Question: What position is associated with a Time of 20:39.171?

Context: CREATE TABLE table_name_42 (pos INTEGER, time VARCHAR)

SELECT AVG(pos) FROM table_name_42 WHERE time = "20:39.171"


Question: How many points associated with a Best time of 01:46.367?

Context: CREATE TABLE table_name_76 (points INTEGER, best_time VARCHAR)

SELECT AVG(points) FROM table_name_76 WHERE best_time = "01:46.367"


Question: What is the total reg gp of Ilya Krikunov, who has a round of 7 and a pick number larger than 223?

Context: CREATE TABLE table_name_44 (reg_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR, player VARCHAR)

SELECT COUNT(reg_gp) FROM table_name_44 WHERE rd__number = 7 AND player = "ilya krikunov" AND pick__number > 223


Question: What is the total PI GP of the player with a pick number 49 and a reg gp less than 0?

Context: CREATE TABLE table_name_69 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR)

SELECT COUNT(pl_gp) FROM table_name_69 WHERE pick__number = 49 AND reg_gp < 0


Question: What is the pick # of the player with a PI GP less than 0?

Context: CREATE TABLE table_name_16 (pick__number INTEGER, pl_gp INTEGER)

SELECT SUM(pick__number) FROM table_name_16 WHERE pl_gp < 0


Question: What is the reg gp of the player with a round number less than 2?

Context: CREATE TABLE table_name_83 (reg_gp INTEGER, rd__number INTEGER)

SELECT SUM(reg_gp) FROM table_name_83 WHERE rd__number < 2


Question: What is the average PI GP of the player from round 5 with a pick # larger than 151?

Context: CREATE TABLE table_name_19 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR)

SELECT AVG(pl_gp) FROM table_name_19 WHERE rd__number = 5 AND pick__number > 151


Question: What constellation has a Declination ( J2000 ) of °32′39″?

Context: CREATE TABLE table_name_57 (constellation VARCHAR, declination___j2000__ VARCHAR)

SELECT constellation FROM table_name_57 WHERE declination___j2000__ = "°32′39″"


Question: What is the lowest pick from Elitserien (Sweden)?

Context: CREATE TABLE table_name_15 (pick__number INTEGER, league_from VARCHAR)

SELECT MIN(pick__number) FROM table_name_15 WHERE league_from = "elitserien (sweden)"


Question: How many spectators were at the game where Richmond was the away team?

Context: CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR)

SELECT SUM(crowd) FROM table_name_8 WHERE away_team = "richmond"


Question: What is the location of the kanyakumari government medical college?

Context: CREATE TABLE table_name_59 (location VARCHAR, college_name VARCHAR)

SELECT location FROM table_name_59 WHERE college_name = "kanyakumari government medical college"


Question: Where is the coimbatore affilation that was established in 1982?

Context: CREATE TABLE table_name_89 (affiliation VARCHAR, estd VARCHAR, location VARCHAR)

SELECT affiliation FROM table_name_89 WHERE estd = "1982" AND location = "coimbatore"


Question: What is the location of the salem district?

Context: CREATE TABLE table_name_16 (location VARCHAR, district VARCHAR)

SELECT location FROM table_name_16 WHERE district = "salem district"


Question: What is the location of the tiruchirappalli district?

Context: CREATE TABLE table_name_73 (location VARCHAR, district VARCHAR)

SELECT location FROM table_name_73 WHERE district = "tiruchirappalli district"


Question: What is the district where the thanjavur medical college is located?

Context: CREATE TABLE table_name_93 (district VARCHAR, college_name VARCHAR)

SELECT district FROM table_name_93 WHERE college_name = "thanjavur medical college"


Question: Where is the location of the coimbatore medical college?

Context: CREATE TABLE table_name_42 (location VARCHAR, college_name VARCHAR)

SELECT location FROM table_name_42 WHERE college_name = "coimbatore medical college"


Question: What is the Time/Retired when the grid is larger than 9 and Rolf Stommelen is the driver?

Context: CREATE TABLE table_name_25 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)

SELECT time_retired FROM table_name_25 WHERE grid > 9 AND driver = "rolf stommelen"


Question: What is the highest number of laps when the Time/Retired is differential?

Context: CREATE TABLE table_name_76 (laps INTEGER, time_retired VARCHAR)

SELECT MAX(laps) FROM table_name_76 WHERE time_retired = "differential"


Question: Who is the driver when the laps are smaller than 14, the grid is smaller than 16, and the Time/retired is not classified?

Context: CREATE TABLE table_name_82 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)

SELECT driver FROM table_name_82 WHERE laps < 14 AND grid < 16 AND time_retired = "not classified"


Question: What is the average grid when the laps are smaller than 14 and Reine Wisell is the driver?

Context: CREATE TABLE table_name_69 (grid INTEGER, laps VARCHAR, driver VARCHAR)

SELECT AVG(grid) FROM table_name_69 WHERE laps < 14 AND driver = "reine wisell"


Question: Who is the entrant with a driver Damon Hill and a Renault RS8 3.0 V10 engine?

Context: CREATE TABLE table_name_72 (entrant VARCHAR, engine VARCHAR, driver VARCHAR)

SELECT entrant FROM table_name_72 WHERE engine = "renault rs8 3.0 v10" AND driver = "damon hill"


Question: Who is the constructor of the car with a Peugeot A12 EV5 3.0 V10 engine that competed in all rounds?

Context: CREATE TABLE table_name_2 (constructor VARCHAR, rounds VARCHAR, engine VARCHAR)

SELECT constructor FROM table_name_2 WHERE rounds = "all" AND engine = "peugeot a12 ev5 3.0 v10"


Question: What kind of engine is in the car for Scuderia Ferrari that went all rounds?

Context: CREATE TABLE table_name_28 (engine VARCHAR, rounds VARCHAR, entrant VARCHAR)

SELECT engine FROM table_name_28 WHERE rounds = "all" AND entrant = "scuderia ferrari"


Question: Who is the constructor of the 196 chassis?

Context: CREATE TABLE table_name_50 (constructor VARCHAR, chassis VARCHAR)

SELECT constructor FROM table_name_50 WHERE chassis = "196"


Question: Name the home with visitor of kings

Context: CREATE TABLE table_name_81 (home VARCHAR, visitor VARCHAR)

SELECT home FROM table_name_81 WHERE visitor = "kings"


Question: Name the total number of attendance when the cavaliers visited

Context: CREATE TABLE table_name_84 (attendance VARCHAR, visitor VARCHAR)

SELECT COUNT(attendance) FROM table_name_84 WHERE visitor = "cavaliers"


Question: Which mixed doubles was featured in 2006?

Context: CREATE TABLE table_name_93 (mixed_doubles VARCHAR, year VARCHAR)

SELECT mixed_doubles FROM table_name_93 WHERE year = 2006


Question: In the games at corio oval, what was the highest crowd?

Context: CREATE TABLE table_name_62 (crowd INTEGER, venue VARCHAR)

SELECT MAX(crowd) FROM table_name_62 WHERE venue = "corio oval"


Question: In the match as corio oval, who was the away team?

Context: CREATE TABLE table_name_29 (away_team VARCHAR, venue VARCHAR)

SELECT away_team FROM table_name_29 WHERE venue = "corio oval"


Question: How many communes associated with over 10 cantons and an area (Square km) of 1,589?

Context: CREATE TABLE table_name_83 (communes INTEGER, cantons VARCHAR, area__square_km_ VARCHAR)

SELECT AVG(communes) FROM table_name_83 WHERE cantons > 10 AND area__square_km_ = 1 OFFSET 589


Question: Which team won the game on January 12?

Context: CREATE TABLE table_name_83 (decision VARCHAR, date VARCHAR)

SELECT decision FROM table_name_83 WHERE date = "january 12"


Question: Who was the home team against Geelong?

Context: CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_70 WHERE away_team = "geelong"


Question: What was the attendance when the VFL played MCG?

Context: CREATE TABLE table_name_70 (crowd VARCHAR, venue VARCHAR)

SELECT COUNT(crowd) FROM table_name_70 WHERE venue = "mcg"


Question: Name the security forces with civilians of 67

Context: CREATE TABLE table_name_15 (security_forces VARCHAR, civilians VARCHAR)

SELECT security_forces FROM table_name_15 WHERE civilians = "67"


Question: Name the insurgents for civilians being 49

Context: CREATE TABLE table_name_75 (insurgents VARCHAR, civilians VARCHAR)

SELECT insurgents FROM table_name_75 WHERE civilians = "49"


Question: Name the security forces with civilians being 67

Context: CREATE TABLE table_name_81 (security_forces VARCHAR, civilians VARCHAR)

SELECT security_forces FROM table_name_81 WHERE civilians = "67"


Question: Name the security forces for 2009

Context: CREATE TABLE table_name_82 (security_forces VARCHAR, year VARCHAR)

SELECT security_forces FROM table_name_82 WHERE year = "2009"


Question: What tyre has a chassis of p57 p61?

Context: CREATE TABLE table_name_85 (tyre VARCHAR, chassis VARCHAR)

SELECT tyre FROM table_name_85 WHERE chassis = "p57 p61"


Question: what is the highest laps when the grid is 1?

Context: CREATE TABLE table_name_94 (laps INTEGER, grid VARCHAR)

SELECT MAX(laps) FROM table_name_94 WHERE grid = 1


Question: How many athletes had a Swimming Time (pts) of 2:20.93 (1232)?

Context: CREATE TABLE table_name_92 (total VARCHAR, swimming_time__pts_ VARCHAR)

SELECT COUNT(total) FROM table_name_92 WHERE swimming_time__pts_ = "2:20.93 (1232)"


Question: What is the riding penaltie (pts) for the athlete that has a Swimming Time (pts) of 2:18.16 (1264)?

Context: CREATE TABLE table_name_83 (riding_penalties__pts_ VARCHAR, swimming_time__pts_ VARCHAR)

SELECT riding_penalties__pts_ FROM table_name_83 WHERE swimming_time__pts_ = "2:18.16 (1264)"


Question: Which owner has a description of Mark 1 pos and is dated 1956?

Context: CREATE TABLE table_name_18 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR)

SELECT owner_s_ FROM table_name_18 WHERE date = 1956 AND description = "mark 1 pos"


Question: Which owner has a description of Mark 1 CK and is dated 1953?

Context: CREATE TABLE table_name_30 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR)

SELECT owner_s_ FROM table_name_30 WHERE date = 1953 AND description = "mark 1 ck"


Question: Who was the athlete who had SEMI of 1:43.79?

Context: CREATE TABLE table_name_97 (name_athlete VARCHAR, semi VARCHAR)

SELECT name_athlete FROM table_name_97 WHERE semi = "1:43.79"


Question: What were the final time for the swimmer on lane 4?

Context: CREATE TABLE table_name_1 (final VARCHAR, lane VARCHAR)

SELECT final FROM table_name_1 WHERE lane = 4


Question: What is the final score of the game at lambeau field?

Context: CREATE TABLE table_name_21 (final_score VARCHAR, stadium VARCHAR)

SELECT final_score FROM table_name_21 WHERE stadium = "lambeau field"


Question: What rank is aliyya qadi with less than 1421 votes?

Context: CREATE TABLE table_name_73 (rank INTEGER, candidate_name VARCHAR, votes VARCHAR)

SELECT MIN(rank) FROM table_name_73 WHERE candidate_name = "aliyya qadi" AND votes < 1421


Question: Which candidate has more than 279 votes, rank less than 50, is ♀ and al-ahd?

Context: CREATE TABLE table_name_61 (candidate_name VARCHAR, list VARCHAR, gender VARCHAR, votes VARCHAR, rank VARCHAR)

SELECT candidate_name FROM table_name_61 WHERE votes > 279 AND rank < 50 AND gender = "♀" AND list = "al-ahd"


Question: What is the first year that the Favorite Male Replacement category had Ben Vereen as a nominee?

Context: CREATE TABLE table_name_48 (year INTEGER, category VARCHAR, nominee VARCHAR)

SELECT MIN(year) FROM table_name_48 WHERE category = "favorite male replacement" AND nominee = "ben vereen"


Question: What year was Kristin Chenoweth nominated in the category of outstanding actress in a musical?

Context: CREATE TABLE table_name_52 (award_ceremony VARCHAR, category VARCHAR, nominee VARCHAR)

SELECT award_ceremony FROM table_name_52 WHERE category = "outstanding actress in a musical" AND nominee = "kristin chenoweth"


Question: What year was Aaron Tveit nominated in the Favorite Male Replacement category?

Context: CREATE TABLE table_name_87 (year INTEGER, nominee VARCHAR, result VARCHAR, category VARCHAR)

SELECT AVG(year) FROM table_name_87 WHERE result = "nominated" AND category = "favorite male replacement" AND nominee = "aaron tveit"


Question: Tell me the sum of rank for placings of 58

Context: CREATE TABLE table_name_39 (rank INTEGER, placings VARCHAR)

SELECT SUM(rank) FROM table_name_39 WHERE placings = 58


Question: Tell me the lowest placings for United Kingdom and rank less than 13

Context: CREATE TABLE table_name_30 (placings INTEGER, nation VARCHAR, rank VARCHAR)

SELECT MIN(placings) FROM table_name_30 WHERE nation = "united kingdom" AND rank < 13


Question: I want to know the highest rank with placings more than 123 and points greater than 88.06

Context: CREATE TABLE table_name_75 (rank INTEGER, placings VARCHAR, points VARCHAR)

SELECT MAX(rank) FROM table_name_75 WHERE placings > 123 AND points > 88.06


Question: Who is the drive for an Entrant of Scuderia Ambrosiana?

Context: CREATE TABLE table_name_65 (driver VARCHAR, entrant VARCHAR)

SELECT driver FROM table_name_65 WHERE entrant = "scuderia ambrosiana"


Question: Which of the Rounds has an Entrant of automobiles Talbot-Darracq, and Pierre Levegh as the driver?

Context: CREATE TABLE table_name_72 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR)

SELECT rounds FROM table_name_72 WHERE entrant = "automobiles talbot-darracq" AND driver = "pierre levegh"


Question: Who is the driver for the Entract of Enrico Platé?

Context: CREATE TABLE table_name_80 (driver VARCHAR, entrant VARCHAR)

SELECT driver FROM table_name_80 WHERE entrant = "enrico platé"


Question: Which of the entrants had Luigi Fagioli as a driver?

Context: CREATE TABLE table_name_79 (entrant VARCHAR, driver VARCHAR)

SELECT entrant FROM table_name_79 WHERE driver = "luigi fagioli"


Question: Who is the driver whose Constructor was Era, and whose entrant was T.A.S.O. Mathieson?

Context: CREATE TABLE table_name_94 (driver VARCHAR, constructor VARCHAR, entrant VARCHAR)

SELECT driver FROM table_name_94 WHERE constructor = "era" AND entrant = "t.a.s.o. mathieson"


Question: Which chassis had Rounds of 7, and an Entrant of Ecurie Rosier?

Context: CREATE TABLE table_name_15 (chassis VARCHAR, rounds VARCHAR, entrant VARCHAR)

SELECT chassis FROM table_name_15 WHERE rounds = "7" AND entrant = "ecurie rosier"


Question: Who is the winner constructor with driver riccardo patrese?

Context: CREATE TABLE table_name_79 (winning_constructor VARCHAR, winning_driver VARCHAR)

SELECT winning_constructor FROM table_name_79 WHERE winning_driver = "riccardo patrese"


Question: What is the highest round on 5 april?

Context: CREATE TABLE table_name_42 (round INTEGER, date VARCHAR)

SELECT MAX(round) FROM table_name_42 WHERE date = "5 april"


Question: Which date was hermanos rodríguez the location?

Context: CREATE TABLE table_name_37 (date VARCHAR, location VARCHAR)

SELECT date FROM table_name_37 WHERE location = "hermanos rodríguez"


Question: Name the record for may 3

Context: CREATE TABLE table_name_92 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_92 WHERE date = "may 3"


Question: Name the total number in attendance for may 1

Context: CREATE TABLE table_name_68 (attendance VARCHAR, date VARCHAR)

SELECT COUNT(attendance) FROM table_name_68 WHERE date = "may 1"


Question: Name the loss on may 29

Context: CREATE TABLE table_name_20 (loss VARCHAR, date VARCHAR)

SELECT loss FROM table_name_20 WHERE date = "may 29"


Question: How many cuts were made when there weren't any wins but had a top-5 of 1 and a top 10 larger than 4?

Context: CREATE TABLE table_name_62 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_5 VARCHAR)

SELECT SUM(cuts_made) FROM table_name_62 WHERE wins < 1 AND top_5 = 1 AND top_10 > 4


Question: Which college has a Player of shabazz muhammad?

Context: CREATE TABLE table_name_36 (college VARCHAR, player VARCHAR)

SELECT college FROM table_name_36 WHERE player = "shabazz muhammad"


Question: How tall is nerlens noel?

Context: CREATE TABLE table_name_11 (height VARCHAR, player VARCHAR)

SELECT height FROM table_name_11 WHERE player = "nerlens noel"


Question: Who is from flower mound, tx?

Context: CREATE TABLE table_name_47 (player VARCHAR, hometown VARCHAR)

SELECT player FROM table_name_47 WHERE hometown = "flower mound, tx"


Question: Where is shabazz muhammad from?

Context: CREATE TABLE table_name_58 (hometown VARCHAR, player VARCHAR)

SELECT hometown FROM table_name_58 WHERE player = "shabazz muhammad"


Question: What was the opponent for july 21?

Context: CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR)

SELECT opponent FROM table_name_35 WHERE date = "july 21"


Question: What was the record on july 24?

Context: CREATE TABLE table_name_95 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_95 WHERE date = "july 24"


Question: Who constructed the car with a grid under 15, 77 laps, and a Time/Retired of + 0.771?

Context: CREATE TABLE table_name_77 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)

SELECT constructor FROM table_name_77 WHERE grid < 15 AND laps = 77 AND time_retired = "+ 0.771"


Question: What is the average grid for damon hill with over 74 laps?

Context: CREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, driver VARCHAR)

SELECT AVG(grid) FROM table_name_29 WHERE laps > 74 AND driver = "damon hill"


Question: Which position has a School/club team of jacksonville?

Context: CREATE TABLE table_name_81 (pos VARCHAR, school_club_team VARCHAR)

SELECT pos FROM table_name_81 WHERE school_club_team = "jacksonville"


Question: How many rounds have a Pick of 13?

Context: CREATE TABLE table_name_21 (round INTEGER, pick VARCHAR)

SELECT SUM(round) FROM table_name_21 WHERE pick = 13


Question: How many rounds have School/club team of pan american?

Context: CREATE TABLE table_name_91 (round INTEGER, school_club_team VARCHAR)

SELECT SUM(round) FROM table_name_91 WHERE school_club_team = "pan american"


Question: What is the chassis when there is 25 points?

Context: CREATE TABLE table_name_41 (chassis VARCHAR, points VARCHAR)

SELECT chassis FROM table_name_41 WHERE points = "25"


Question: How many points were there before 1979 with a ferrari 312b2 chassis?

Context: CREATE TABLE table_name_3 (points VARCHAR, year VARCHAR, chassis VARCHAR)

SELECT points FROM table_name_3 WHERE year < 1979 AND chassis = "ferrari 312b2"


Question: What year were there 29 (32) points?

Context: CREATE TABLE table_name_3 (year VARCHAR, points VARCHAR)

SELECT year FROM table_name_3 WHERE points = "29 (32)"


Question: What result occurs when the round is 4 leg 2?

Context: CREATE TABLE table_name_87 (result VARCHAR, round VARCHAR)

SELECT result FROM table_name_87 WHERE round = "4 leg 2"


Question: What did fitzroy score at their home game?

Context: CREATE TABLE table_name_98 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_98 WHERE home_team = "fitzroy"


Question: Which away team played at western oval?

Context: CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR)

SELECT away_team FROM table_name_16 WHERE venue = "western oval"


Question: Which surface had Yew-Ming Si as a partner?

Context: CREATE TABLE table_name_83 (surface VARCHAR, partner VARCHAR)

SELECT surface FROM table_name_83 WHERE partner = "yew-ming si"


Question: What was the result of rank 1?

Context: CREATE TABLE table_name_73 (result VARCHAR, rank VARCHAR)

SELECT result FROM table_name_73 WHERE rank = 1


Question: What type has a date of 1 june?

Context: CREATE TABLE table_name_70 (type VARCHAR, date VARCHAR)

SELECT type FROM table_name_70 WHERE date = "1 june"


Question: What was the date with a hilly stage?

Context: CREATE TABLE table_name_16 (date VARCHAR, type VARCHAR)

SELECT date FROM table_name_16 WHERE type = "hilly stage"


Question: What is the name of the winner on 18 may?

Context: CREATE TABLE table_name_21 (winner VARCHAR, date VARCHAR)

SELECT winner FROM table_name_21 WHERE date = "18 may"


Question: What date was moena to aprica the course?

Context: CREATE TABLE table_name_13 (date VARCHAR, course VARCHAR)

SELECT date FROM table_name_13 WHERE course = "moena to aprica"


Question: What is the name of the winner with a type of plain stage and a Course of nola to sora?

Context: CREATE TABLE table_name_35 (winner VARCHAR, type VARCHAR, course VARCHAR)

SELECT winner FROM table_name_35 WHERE type = "plain stage" AND course = "nola to sora"


Question: Which sign has a red border and a warning sign?

Context: CREATE TABLE table_name_68 (text_symbol VARCHAR, border VARCHAR, type_of_sign VARCHAR)

SELECT text_symbol FROM table_name_68 WHERE border = "red" AND type_of_sign = "warning"


Question: Which sign had a yellow background and a triangular shape?

Context: CREATE TABLE table_name_86 (border VARCHAR, background_colour VARCHAR, shape VARCHAR)

SELECT border FROM table_name_86 WHERE background_colour = "yellow" AND shape = "triangular"


Question: Which sign has a red border?

Context: CREATE TABLE table_name_42 (text_symbol VARCHAR, border VARCHAR)

SELECT text_symbol FROM table_name_42 WHERE border = "red"


Question: Which color is the background of the mandatory instructions?

Context: CREATE TABLE table_name_43 (background_colour VARCHAR, type_of_sign VARCHAR)

SELECT background_colour FROM table_name_43 WHERE type_of_sign = "mandatory instructions"


Question: What is the color of the background of the white border and sign of information?

Context: CREATE TABLE table_name_25 (background_colour VARCHAR, border VARCHAR, type_of_sign VARCHAR)

SELECT background_colour FROM table_name_25 WHERE border = "white" AND type_of_sign = "information"


Question: What is the average total of Italy and has a bronze larger than 1?

Context: CREATE TABLE table_name_56 (total INTEGER, nation VARCHAR, bronze VARCHAR)

SELECT AVG(total) FROM table_name_56 WHERE nation = "italy" AND bronze > 1


Question: What amount of Gold does Russia have and have a rank larger than 1?

Context: CREATE TABLE table_name_8 (gold INTEGER, nation VARCHAR, rank VARCHAR)

SELECT SUM(gold) FROM table_name_8 WHERE nation = "russia" AND rank > 1


Question: What is the sum of the ranks with a total of 1 and silver less than 0.

Context: CREATE TABLE table_name_83 (rank INTEGER, total VARCHAR, silver VARCHAR)

SELECT SUM(rank) FROM table_name_83 WHERE total = 1 AND silver < 0


Question: Which Player is linebacker and has a pick larger than 28?

Context: CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, pick VARCHAR)

SELECT player FROM table_name_69 WHERE position = "linebacker" AND pick > 28


Question: What was the lowest round that Melvin Johnson played?

Context: CREATE TABLE table_name_99 (round INTEGER, player VARCHAR)

SELECT MIN(round) FROM table_name_99 WHERE player = "melvin johnson"


Question: Who was the runner-up at the South Florida Semi-Finalist #1?

Context: CREATE TABLE table_name_96 (runner_up VARCHAR, semi_finalist__number1 VARCHAR)

SELECT runner_up FROM table_name_96 WHERE semi_finalist__number1 = "south florida"


Question: Who was the Champion in Snellville, GA in 2006?

Context: CREATE TABLE table_name_46 (champion VARCHAR, location VARCHAR, year VARCHAR)

SELECT champion FROM table_name_46 WHERE location = "snellville, ga" AND year = "2006"


Question: Who won when Elon was the runner-up?

Context: CREATE TABLE table_name_53 (champion VARCHAR, runner_up VARCHAR)

SELECT champion FROM table_name_53 WHERE runner_up = "elon"


Question: What year saw a score of 8-5?

Context: CREATE TABLE table_name_9 (year VARCHAR, score VARCHAR)

SELECT year FROM table_name_9 WHERE score = "8-5"


Question: Who was the Semi-Finalist #2 in 2007?

Context: CREATE TABLE table_name_59 (semi_finalist__number2 VARCHAR, year VARCHAR)

SELECT semi_finalist__number2 FROM table_name_59 WHERE year = "2007"


Question: Who was the Semi-Finalist #2 in 2001?

Context: CREATE TABLE table_name_26 (semi_finalist__number2 VARCHAR, year VARCHAR)

SELECT semi_finalist__number2 FROM table_name_26 WHERE year = "2001"


Question: What tournament is in Arizona?

Context: CREATE TABLE table_name_70 (tournament VARCHAR, location VARCHAR)

SELECT tournament FROM table_name_70 WHERE location = "arizona"


Question: Which away team had a crowd bigger than 21,000?

Context: CREATE TABLE table_name_60 (away_team VARCHAR, crowd INTEGER)

SELECT away_team FROM table_name_60 WHERE crowd > 21 OFFSET 000


Question: What is the rank for points less than 166.96, and a Places of 166?

Context: CREATE TABLE table_name_88 (rank INTEGER, points VARCHAR, places VARCHAR)

SELECT AVG(rank) FROM table_name_88 WHERE points < "166".96 AND places = "166"


Question: What is the rank for more than 120.44 points in East Germany and a SP+FS of 3?

Context: CREATE TABLE table_name_21 (rank VARCHAR, points VARCHAR, nation VARCHAR, sp VARCHAR, fs VARCHAR)

SELECT COUNT(rank) FROM table_name_21 WHERE points > 120.44 AND nation = "east germany" AND sp + fs = 3


Question: What is the rank when 233 shows for places and SP+FS smaller than 27?

Context: CREATE TABLE table_name_94 (rank VARCHAR, places VARCHAR, sp VARCHAR, fs VARCHAR)

SELECT COUNT(rank) FROM table_name_94 WHERE places = "233" AND sp + fs < 27


Question: What is the average SP+FS for Denise Biellmann, and a Rank larger than 5?

Context: CREATE TABLE table_name_14 (fs VARCHAR, sp INTEGER, name VARCHAR, rank VARCHAR)

SELECT AVG(sp) + fs FROM table_name_14 WHERE name = "denise biellmann" AND rank > 5


Question: What is the number of points for east germany, and a Places of 88?

Context: CREATE TABLE table_name_84 (points INTEGER, nation VARCHAR, places VARCHAR)

SELECT SUM(points) FROM table_name_84 WHERE nation = "east germany" AND places = "88"


Question: what is the years for engin 5.7l hemi v8?

Context: CREATE TABLE table_name_82 (years VARCHAR, engine VARCHAR)

SELECT years FROM table_name_82 WHERE engine = "5.7l hemi v8"


Question: what is the years when the notes is laredo, limited, overland and the engine is 5.7l hemi v8?

Context: CREATE TABLE table_name_51 (years VARCHAR, notes VARCHAR, engine VARCHAR)

SELECT years FROM table_name_51 WHERE notes = "laredo, limited, overland" AND engine = "5.7l hemi v8"


Question: what is the torque when the notes are laredo, limited, overland and the engine is 5.7l hemi v8?

Context: CREATE TABLE table_name_69 (torque VARCHAR, notes VARCHAR, engine VARCHAR)

SELECT torque FROM table_name_69 WHERE notes = "laredo, limited, overland" AND engine = "5.7l hemi v8"


Question: Who drove the ferrari that went 57 laps?

Context: CREATE TABLE table_name_21 (driver VARCHAR, constructor VARCHAR, laps VARCHAR)

SELECT driver FROM table_name_21 WHERE constructor = "ferrari" AND laps = 57


Question: What place did R. Wenzel, who was active after 1934, have?

Context: CREATE TABLE table_name_7 (place INTEGER, name VARCHAR, until VARCHAR)

SELECT SUM(place) FROM table_name_7 WHERE name = "r. wenzel" AND until > 1934


Question: What's the time for a round of n/a when the opponent is mikhail ilyukhin?

Context: CREATE TABLE table_name_75 (time VARCHAR, round VARCHAR, opponent VARCHAR)

SELECT time FROM table_name_75 WHERE round = "n/a" AND opponent = "mikhail ilyukhin"


Question: What is the pole position of the Portuguese Grand Prix?

Context: CREATE TABLE table_name_54 (pole_position VARCHAR, grand_prix VARCHAR)

SELECT pole_position FROM table_name_54 WHERE grand_prix = "portuguese grand prix"


Question: What is the pole position of the grand prix with 1 round?

Context: CREATE TABLE table_name_93 (pole_position VARCHAR, round VARCHAR)

SELECT pole_position FROM table_name_93 WHERE round = 1


Question: What is the pole position of the Hungarian Grand Prix?

Context: CREATE TABLE table_name_41 (pole_position VARCHAR, grand_prix VARCHAR)

SELECT pole_position FROM table_name_41 WHERE grand_prix = "hungarian grand prix"


Question: What is the pole position of the Belgian Grand Prix?

Context: CREATE TABLE table_name_27 (pole_position VARCHAR, grand_prix VARCHAR)

SELECT pole_position FROM table_name_27 WHERE grand_prix = "belgian grand prix"


Question: What is the grand prix with Gerhard Berger as the fastest lap and Michael Schumacher as the pole position?

Context: CREATE TABLE table_name_50 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)

SELECT grand_prix FROM table_name_50 WHERE fastest_lap = "gerhard berger" AND pole_position = "michael schumacher"


Question: Tell me the declination for consellaion of ophiuchus and apparent magnitude less than 8.6 with right ascension of 16h47m14.5s

Context: CREATE TABLE table_name_55 (declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR, constellation VARCHAR, apparent_magnitude VARCHAR)

SELECT declination___j2000__ FROM table_name_55 WHERE constellation = "ophiuchus" AND apparent_magnitude < 8.6 AND right_ascension___j2000__ = "16h47m14.5s"


Question: Tell me the right ascensuon for object type of globular cluster and apparent magnitude of 8.5 and NGC number of 6273

Context: CREATE TABLE table_name_2 (right_ascension___j2000__ VARCHAR, ngc_number VARCHAR, object_type VARCHAR, apparent_magnitude VARCHAR)

SELECT right_ascension___j2000__ FROM table_name_2 WHERE object_type = "globular cluster" AND apparent_magnitude = 8.5 AND ngc_number = 6273


Question: When was the game played where St Kilda was the home team?

Context: CREATE TABLE table_name_4 (date VARCHAR, home_team VARCHAR)

SELECT date FROM table_name_4 WHERE home_team = "st kilda"


Question: What was the home team score with an away team of Melbourne?

Context: CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_65 WHERE away_team = "melbourne"


Question: Which away team played the home team of Footscray?

Context: CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_56 WHERE home_team = "footscray"


Question: How old was the conservative party member that left the house in 2001?

Context: CREATE TABLE table_name_43 (age_on_leaving VARCHAR, political_party VARCHAR, left_house VARCHAR)

SELECT age_on_leaving FROM table_name_43 WHERE political_party = "conservative" AND left_house = "2001"


Question: What was the lowest Attendance for the Staples Center Arena when the Points were over 14?

Context: CREATE TABLE table_name_21 (attendance INTEGER, points VARCHAR, arena VARCHAR)

SELECT MIN(attendance) FROM table_name_21 WHERE points > 14 AND arena = "staples center"


Question: Name the leading scorer for 12 january 2008

Context: CREATE TABLE table_name_40 (leading_scorer VARCHAR, date VARCHAR)

SELECT leading_scorer FROM table_name_40 WHERE date = "12 january 2008"


Question: Name the record for 21 january 2008

Context: CREATE TABLE table_name_4 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_4 WHERE date = "21 january 2008"


Question: what is the date when the away team is melbourne?

Context: CREATE TABLE table_name_48 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_48 WHERE away_team = "melbourne"


Question: What is the score for the home team for the venue glenferrie oval?

Context: CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_57 WHERE venue = "glenferrie oval"


Question: What was South Melbourne's score when they played as the away team?

Context: CREATE TABLE table_name_5 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_5 WHERE away_team = "south melbourne"


Question: What was the attendance for the North Melbourne's home game?

Context: CREATE TABLE table_name_31 (crowd VARCHAR, home_team VARCHAR)

SELECT crowd FROM table_name_31 WHERE home_team = "north melbourne"


Question: What is the name of the venue where home team st kilda played?

Context: CREATE TABLE table_name_83 (venue VARCHAR, home_team VARCHAR)

SELECT venue FROM table_name_83 WHERE home_team = "st kilda"


Question: What is the home team score that played away team carlton?

Context: CREATE TABLE table_name_60 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_60 WHERE away_team = "carlton"


Question: When the Year is smaller than 2004, and Mike Joy is the Lap-by-lap, what are the Ratings?

Context: CREATE TABLE table_name_86 (ratings VARCHAR, year VARCHAR, lap_by_lap VARCHAR)

SELECT ratings FROM table_name_86 WHERE year < 2004 AND lap_by_lap = "mike joy"


Question: Which Network has Bill Weber for the Lap-by-lap?

Context: CREATE TABLE table_name_90 (network VARCHAR, lap_by_lap VARCHAR)

SELECT network FROM table_name_90 WHERE lap_by_lap = "bill weber"


Question: Who was the Pre-Race Host when Mike Joy was the Lap-by-lap in the Year 2005?

Context: CREATE TABLE table_name_87 (pre_race_host VARCHAR, lap_by_lap VARCHAR, year VARCHAR)

SELECT pre_race_host FROM table_name_87 WHERE lap_by_lap = "mike joy" AND year = 2005


Question: How many Years have Ratings of 10.9/23?

Context: CREATE TABLE table_name_7 (year VARCHAR, ratings VARCHAR)

SELECT COUNT(year) FROM table_name_7 WHERE ratings = "10.9/23"


Question: What is the home team of lake oval's score?

SELECT home_team AS score FROM table_name_57 WHERE venue = "lake oval"


Question: When was victoria park used as a venue?

Context: CREATE TABLE table_name_18 (date VARCHAR, venue VARCHAR)

SELECT date FROM table_name_18 WHERE venue = "victoria park"


Question: Which date has an Away team of fitzroy?

Context: CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_67 WHERE away_team = "fitzroy"


Question: What is the largest crowd for a Home team of carlton?

Context: CREATE TABLE table_name_96 (crowd INTEGER, home_team VARCHAR)

SELECT MAX(crowd) FROM table_name_96 WHERE home_team = "carlton"


Question: When the Away team is melbourne, what's the lowest Crowd attended?

Context: CREATE TABLE table_name_42 (crowd INTEGER, away_team VARCHAR)

SELECT MIN(crowd) FROM table_name_42 WHERE away_team = "melbourne"


Question: When the Away team is essendon, what's the Home team score?

Context: CREATE TABLE table_name_99 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_99 WHERE away_team = "essendon"


Question: If the Venue is brunswick street oval, what date was the game played ?

Context: CREATE TABLE table_name_81 (date VARCHAR, venue VARCHAR)

SELECT date FROM table_name_81 WHERE venue = "brunswick street oval"


Question: Name the first for countries of trinidad and tobago for hutchinson for years before 2004

Context: CREATE TABLE table_name_39 (first VARCHAR, year VARCHAR, country VARCHAR, last VARCHAR)

SELECT first FROM table_name_39 WHERE country = "trinidad and tobago" AND last = "hutchinson" AND year < 2004


Question: Name the sport for canada in 2004

Context: CREATE TABLE table_name_40 (sport VARCHAR, country VARCHAR, year VARCHAR)

SELECT sport FROM table_name_40 WHERE country = "canada" AND year = 2004


Question: Name the last for softball before 2000

Context: CREATE TABLE table_name_95 (last VARCHAR, year VARCHAR, sport VARCHAR)

SELECT last FROM table_name_95 WHERE year < 2000 AND sport = "softball"


Question: Name the sum of year for swimming and first of mike

Context: CREATE TABLE table_name_68 (year INTEGER, sport VARCHAR, first VARCHAR)

SELECT SUM(year) FROM table_name_68 WHERE sport = "swimming" AND first = "mike"


Question: Name the sport for puerto rico and year of 2000

Context: CREATE TABLE table_name_44 (sport VARCHAR, country VARCHAR, year VARCHAR)

SELECT sport FROM table_name_44 WHERE country = "puerto rico" AND year = 2000


Question: Cumulative point total for all teams playing on the Discovery Channel?

Context: CREATE TABLE table_name_67 (points VARCHAR, team VARCHAR)

SELECT COUNT(points) FROM table_name_67 WHERE team = "discovery channel"


Question: Which player is from Belgium?

Context: CREATE TABLE table_name_44 (name VARCHAR, nationality VARCHAR)

SELECT name FROM table_name_44 WHERE nationality = "belgium"


Question: Who was the visiting team that played against the Kings?

Context: CREATE TABLE table_name_42 (visitor VARCHAR, home VARCHAR)

SELECT visitor FROM table_name_42 WHERE home = "kings"


Question: Tell me the player for round more than 5 and position of c

Context: CREATE TABLE table_name_25 (player VARCHAR, round VARCHAR, position VARCHAR)

SELECT player FROM table_name_25 WHERE round > 5 AND position = "c"


Question: Tell me the college for carl hagelin

Context: CREATE TABLE table_name_70 (college_junior_club_team__league_ VARCHAR, player VARCHAR)

SELECT college_junior_club_team__league_ FROM table_name_70 WHERE player = "carl hagelin"


Question: Which year has a total of 0 points and a chassis of Toleman tg181?

Context: CREATE TABLE table_name_88 (year INTEGER, points VARCHAR, chassis VARCHAR)

SELECT AVG(year) FROM table_name_88 WHERE points = 0 AND chassis = "toleman tg181"


Question: What is the latest year that has more than 5 points and a renault ef15 1.5 v6 t engine?

Context: CREATE TABLE table_name_20 (year INTEGER, engine VARCHAR, points VARCHAR)

SELECT MAX(year) FROM table_name_20 WHERE engine = "renault ef15 1.5 v6 t" AND points > 5


Question: Which year had a toleman tg183 chassis?

Context: CREATE TABLE table_name_36 (year VARCHAR, chassis VARCHAR)

SELECT COUNT(year) FROM table_name_36 WHERE chassis = "toleman tg183"


Question: What is the time for tony myres?

Context: CREATE TABLE table_name_13 (time VARCHAR, rider VARCHAR)

SELECT time FROM table_name_13 WHERE rider = "tony myres"


Question: Name the speed for andy reynolds

Context: CREATE TABLE table_name_41 (speed VARCHAR, rider VARCHAR)

SELECT speed FROM table_name_41 WHERE rider = "andy reynolds"


Question: Name the total number of rank for 348cc petty manx

Context: CREATE TABLE table_name_54 (rank VARCHAR, team VARCHAR)

SELECT COUNT(rank) FROM table_name_54 WHERE team = "348cc petty manx"


Question: Name the speed for 1:36.46.93

Context: CREATE TABLE table_name_13 (speed VARCHAR, time VARCHAR)

SELECT speed FROM table_name_13 WHERE time = "1:36.46.93"


Question: What is the away team score of Melbourne?

Context: CREATE TABLE table_name_54 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_54 WHERE away_team = "melbourne"


Question: What is the away team score for South Melbourne?

Context: CREATE TABLE table_name_86 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_86 WHERE away_team = "south melbourne"


Question: What is Prime Mover of Model FM CFA-16-4?

Context: CREATE TABLE table_name_87 (prime_mover VARCHAR, model VARCHAR)

SELECT prime_mover FROM table_name_87 WHERE model = "fm cfa-16-4"


Question: what was the purse ($) in illinois?

Context: CREATE TABLE table_name_80 (purse__ INTEGER, location VARCHAR)

SELECT MAX(purse__) AS $__ FROM table_name_80 WHERE location = "illinois"


Question: who won with a score of 199 (-14) on oct 31?

Context: CREATE TABLE table_name_21 (winner VARCHAR, score VARCHAR, date VARCHAR)

SELECT winner FROM table_name_21 WHERE score = "199 (-14)" AND date = "oct 31"


Question: How many years did he play in santiago de compostela?

Context: CREATE TABLE table_name_6 (year INTEGER, city VARCHAR)

SELECT SUM(year) FROM table_name_6 WHERE city = "santiago de compostela"


Question: What is the Total Finale of 女人唔易做?

Context: CREATE TABLE table_name_64 (finale INTEGER, chinese_title VARCHAR)

SELECT SUM(finale) FROM table_name_64 WHERE chinese_title = "女人唔易做"


Question: What is the lowest Premiere peaking at more than 35 with a Rank of 10 and Finale greater than 33?

Context: CREATE TABLE table_name_25 (premiere INTEGER, finale VARCHAR, peak VARCHAR, rank VARCHAR)

SELECT MIN(premiere) FROM table_name_25 WHERE peak > 35 AND rank = 10 AND finale > 33


Question: What is the Chinese Title Premiering 32 with 2.07 million HK viewers?

Context: CREATE TABLE table_name_60 (chinese_title VARCHAR, hk_viewers VARCHAR, premiere VARCHAR)

SELECT chinese_title FROM table_name_60 WHERE hk_viewers = "2.07 million" AND premiere = 32


Question: What is the Average of Men in Pain with a Finale of less than 33?

Context: CREATE TABLE table_name_70 (average INTEGER, english_title VARCHAR, finale VARCHAR)

SELECT AVG(average) FROM table_name_70 WHERE english_title = "men in pain" AND finale < 33


Question: What Chinese Title Ranking #7 has an Average of 32 and Peak less than 38?

Context: CREATE TABLE table_name_3 (chinese_title VARCHAR, rank VARCHAR, average VARCHAR, peak VARCHAR)

SELECT chinese_title FROM table_name_3 WHERE average = 32 AND peak < 38 AND rank = 7


Question: What is the average crowd size for corio oval?

Context: CREATE TABLE table_name_9 (crowd INTEGER, venue VARCHAR)

SELECT AVG(crowd) FROM table_name_9 WHERE venue = "corio oval"


Question: What is the average crowd size for Brunswick street oval?

Context: CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR)

SELECT AVG(crowd) FROM table_name_32 WHERE venue = "brunswick street oval"


Question: What day did the team play in murcia with a score of 0-3 after 1992?

Context: CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR, year VARCHAR, location VARCHAR)

SELECT date FROM table_name_15 WHERE year > 1992 AND location = "murcia" AND score = "0-3"


Question: What location did the team win before 1998 in the europe/africa zone, group i, round robin?

Context: CREATE TABLE table_name_96 (location VARCHAR, year VARCHAR, competition VARCHAR, result VARCHAR)

SELECT location FROM table_name_96 WHERE competition = "europe/africa zone, group i, round robin" AND result = "win" AND year < 1998


Question: What day did they record a score of 1-2 in 1994?

Context: CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR, year VARCHAR)

SELECT date FROM table_name_55 WHERE score = "1-2" AND year = 1994


Question: When the country is austria germany and the rank is kept under 5, what's the average number of matches played?

Context: CREATE TABLE table_name_91 (matches INTEGER, country VARCHAR, rank VARCHAR)

SELECT AVG(matches) FROM table_name_91 WHERE country = "austria germany" AND rank < 5


Question: Which country does the player pele belong to?

Context: CREATE TABLE table_name_85 (country VARCHAR, name VARCHAR)

SELECT country FROM table_name_85 WHERE name = "pele"


Question: What is the earliest game that had 42,707 attending?

Context: CREATE TABLE table_name_94 (game INTEGER, attendance VARCHAR)

SELECT MIN(game) FROM table_name_94 WHERE attendance = 42 OFFSET 707


Question: What is the sum of the figure skating scores whose total is less than 117.78?

Context: CREATE TABLE table_name_13 (figures INTEGER, total INTEGER)

SELECT SUM(figures) FROM table_name_13 WHERE total < 117.78


Question: What is the lowest total score among skaters from West Germany with a rank of 20 and a figure skating score less than 74.85?

Context: CREATE TABLE table_name_81 (total INTEGER, figures VARCHAR, nation VARCHAR, rank VARCHAR)

SELECT MIN(total) FROM table_name_81 WHERE nation = "west germany" AND rank = 20 AND figures < 74.85


Question: How many placings did Jacqueline du Bief earn where her total score is greater than 131.26?

Context: CREATE TABLE table_name_72 (placings VARCHAR, total VARCHAR, name VARCHAR)

SELECT placings FROM table_name_72 WHERE total > 131.26 AND name = "jacqueline du bief"


Question: Can you tell me the Placings that hasthe Free smaller than 524.3, and the Total smaller than 1170.1, and the Name of per cock-clausen?

Context: CREATE TABLE table_name_34 (placings VARCHAR, name VARCHAR, free VARCHAR, total VARCHAR)

SELECT placings FROM table_name_34 WHERE free < 524.3 AND total < 1170.1 AND name = "per cock-clausen"


Question: Can you tell me the average Figures that has the Placings of 34, and the Total larger than 1247.51?

Context: CREATE TABLE table_name_63 (figures INTEGER, placings VARCHAR, total VARCHAR)

SELECT AVG(figures) FROM table_name_63 WHERE placings = 34 AND total > 1247.51


Question: What is the result where the opponent is Columbus Destroyers?

Context: CREATE TABLE table_name_99 (result VARCHAR, opponent VARCHAR)

SELECT result FROM table_name_99 WHERE opponent = "columbus destroyers"


Question: What is the date of the away game in week 8?

Context: CREATE TABLE table_name_2 (date VARCHAR, home_away_game VARCHAR, week VARCHAR)

SELECT date FROM table_name_2 WHERE home_away_game = "away" AND week = 8


Question: Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve pole position?

Context: CREATE TABLE table_name_24 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)

SELECT grand_prix FROM table_name_24 WHERE fastest_lap = "gerhard berger" AND pole_position = "jacques villeneuve"


Question: What's the 2003 result for the falkirk council?

Context: CREATE TABLE table_name_97 (council VARCHAR)

SELECT 2003 AS _result FROM table_name_97 WHERE council = "falkirk"


Question: On which date was the manager fired and replaced by Albert Cartier?

Context: CREATE TABLE table_name_70 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)

SELECT date_of_vacancy FROM table_name_70 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier"


Question: What was the manner of departure for the team Anderlecht?

Context: CREATE TABLE table_name_70 (manner_of_departure VARCHAR, team VARCHAR)

SELECT manner_of_departure FROM table_name_70 WHERE team = "anderlecht"


Question: What was the manner of depature when the date of appointment was 27 December 2007?

Context: CREATE TABLE table_name_52 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)

SELECT manner_of_departure FROM table_name_52 WHERE date_of_appointment = "27 december 2007"


Question: Who was the replacement for the Brussels team with a date of vacancy of 22 December 2007?

Context: CREATE TABLE table_name_46 (replaced_by VARCHAR, team VARCHAR, date_of_vacancy VARCHAR)

SELECT replaced_by FROM table_name_46 WHERE team = "brussels" AND date_of_vacancy = "22 december 2007"


Question: What was the date of vacancy where the replacement was Albert Cartier and the manager was fired?

Context: CREATE TABLE table_name_9 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)

SELECT date_of_vacancy FROM table_name_9 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier"


Question: What is the Tallangatta DFL losses greater than 2 and an against greater than 1013

Context: CREATE TABLE table_name_49 (tallangatta_dfl VARCHAR, against VARCHAR, losses VARCHAR)

SELECT tallangatta_dfl FROM table_name_49 WHERE against > 1013 AND losses > 2


Question: What are the average byes that are greater than 1479, wins greater than 5 and 0 draws?

Context: CREATE TABLE table_name_5 (byes INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR)

SELECT AVG(byes) FROM table_name_5 WHERE against > 1479 AND wins > 5 AND draws < 0


Question: Tell me the average year for rank more than 3 and 28 floors

Context: CREATE TABLE table_name_84 (year INTEGER, rank VARCHAR, floors VARCHAR)

SELECT AVG(year) FROM table_name_84 WHERE rank > 3 AND floors = 28


Question: I want the name for rank less than 6 and year more than 1974

Context: CREATE TABLE table_name_75 (name VARCHAR, rank VARCHAR, year VARCHAR)

SELECT name FROM table_name_75 WHERE rank < 6 AND year > 1974


Question: What is the average rank of Great Britain when their total is over 4?

Context: CREATE TABLE table_name_80 (rank INTEGER, total VARCHAR, nation VARCHAR)

SELECT AVG(rank) FROM table_name_80 WHERE total > 4 AND nation = "great britain"


Question: What is the total number of Silvers held by France when their rank was over 14?

Context: CREATE TABLE table_name_63 (silver VARCHAR, nation VARCHAR, rank VARCHAR)

SELECT COUNT(silver) FROM table_name_63 WHERE nation = "france" AND rank > 14


Question: Who was the home team at the game held at Princes Park?

Context: CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_76 WHERE venue = "princes park"


Question: Who was the home team when Hawthorn was the away team?

Context: CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_39 WHERE away_team = "hawthorn"


Question: What was the Rockies record at their game that had a loss of Hernandez (3–5)?

Context: CREATE TABLE table_name_21 (record VARCHAR, loss VARCHAR)

SELECT record FROM table_name_21 WHERE loss = "hernandez (3–5)"


Question: What engine has g tyres and is driven by elio de angelis?

Context: CREATE TABLE table_name_30 (engine VARCHAR, tyres VARCHAR, driver VARCHAR)

SELECT engine FROM table_name_30 WHERE tyres = "g" AND driver = "elio de angelis"


Question: What rounds does elio de angelis drive?

Context: CREATE TABLE table_name_8 (rounds VARCHAR, driver VARCHAR)

SELECT rounds FROM table_name_8 WHERE driver = "elio de angelis"


Question: Who is the constructor for driver alan jones using a chassis of fw06 fw07?

Context: CREATE TABLE table_name_93 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)

SELECT constructor FROM table_name_93 WHERE chassis = "fw06 fw07" AND driver = "alan jones"


Question: What engine does driver james hunt have?

Context: CREATE TABLE table_name_94 (engine VARCHAR, driver VARCHAR)

SELECT engine FROM table_name_94 WHERE driver = "james hunt"


Question: What's the engine used for rounds 5-6?

Context: CREATE TABLE table_name_1 (engine VARCHAR, rounds VARCHAR)

SELECT engine FROM table_name_1 WHERE rounds = "5-6"


Question: Who was the home team at Princes Park?

Context: CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_41 WHERE venue = "princes park"


Question: Tell me the city/state for the holden racing team with winner of mark skaife todd kelly

Context: CREATE TABLE table_name_33 (city___state VARCHAR, team VARCHAR, winner VARCHAR)

SELECT city___state FROM table_name_33 WHERE team = "holden racing team" AND winner = "mark skaife todd kelly"


Question: What is the engine configuration of the 1.2 mpi engine?

Context: CREATE TABLE table_name_80 (engine_configuration VARCHAR, engine_name VARCHAR)

SELECT engine_configuration FROM table_name_80 WHERE engine_name = "1.2 mpi"


Question: What is the max torque of the 1.2 mpi engine?

Context: CREATE TABLE table_name_11 (max_torque_at_rpm VARCHAR, engine_name VARCHAR)

SELECT max_torque_at_rpm FROM table_name_11 WHERE engine_name = "1.2 mpi"


Question: Tell me the long for charles frederick

Context: CREATE TABLE table_name_93 (long VARCHAR, player VARCHAR)

SELECT long FROM table_name_93 WHERE player = "charles frederick"


Question: Tell me the average for 1 yards

Context: CREATE TABLE table_name_65 (avg VARCHAR, yards VARCHAR)

SELECT avg FROM table_name_65 WHERE yards = "1"


Question: Which time/retired had 75 laps and Pedro de la Rosa as a driver?

Context: CREATE TABLE table_name_86 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)

SELECT time_retired FROM table_name_86 WHERE laps = 75 AND driver = "pedro de la rosa"


Question: What is the total number in the season for the #30 Robert Berlinger series?

Context: CREATE TABLE table_name_73 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)

SELECT COUNT(no_in_season) FROM table_name_73 WHERE directed_by = "robert berlinger" AND no_in_series = 30


Question: When did Julie gets Validated originally air?

Context: CREATE TABLE table_name_84 (original_air_date VARCHAR, title VARCHAR)

SELECT original_air_date FROM table_name_84 WHERE title = "julie gets validated"


Question: Who was the number 24 series written by?

Context: CREATE TABLE table_name_36 (written_by VARCHAR, no_in_series VARCHAR)

SELECT written_by FROM table_name_36 WHERE no_in_series = 24


Question: When did Boyd Hale's Julie gets Validated originally air?

Context: CREATE TABLE table_name_87 (original_air_date VARCHAR, written_by VARCHAR, title VARCHAR)

SELECT original_air_date FROM table_name_87 WHERE written_by = "boyd hale" AND title = "julie gets validated"


Question: What was the Queens number when Brooklyn was 201,866?

Context: CREATE TABLE table_name_57 (queens VARCHAR, brooklyn VARCHAR)

SELECT queens FROM table_name_57 WHERE brooklyn = "201,866"


Question: Which Manhattan number appeared when Richmond (Staten Island) was 78%?

Context: CREATE TABLE table_name_21 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)

SELECT manhattan FROM table_name_21 WHERE richmond_[staten_is] = "78%"


Question: What did the home team score against Fitzroy?

Context: CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_61 WHERE away_team = "fitzroy"


Question: Who is the listed opponent in Week 2?

Context: CREATE TABLE table_name_24 (opponent VARCHAR, week VARCHAR)

SELECT opponent FROM table_name_24 WHERE week = 2


Question: What date has attendance listed as 45,024?

Context: CREATE TABLE table_name_11 (date VARCHAR, attendance VARCHAR)

SELECT date FROM table_name_11 WHERE attendance = "45,024"


Question: What numbered pick was mattias ohlund, with over 52 PL GP, and also a round under 11?

Context: CREATE TABLE table_name_82 (pick__number INTEGER, pl_gp VARCHAR, rd__number VARCHAR, player VARCHAR)

SELECT SUM(pick__number) FROM table_name_82 WHERE rd__number < 11 AND player = "mattias ohlund" AND pl_gp > 52


Question: How many reg GP for mattias ohlund?

Context: CREATE TABLE table_name_35 (reg_gp VARCHAR, player VARCHAR)

SELECT COUNT(reg_gp) FROM table_name_35 WHERE player = "mattias ohlund"


Question: What is the average attendance against the expos?

Context: CREATE TABLE table_name_57 (attendance INTEGER, opponent VARCHAR)

SELECT AVG(attendance) FROM table_name_57 WHERE opponent = "expos"


Question: What is the team's record on april 12?

Context: CREATE TABLE table_name_11 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_11 WHERE date = "april 12"


Question: Who did the team play on april 19?

Context: CREATE TABLE table_name_2 (opponent VARCHAR, date VARCHAR)

SELECT opponent FROM table_name_2 WHERE date = "april 19"


Question: What is the Aspect of Channel 26.5?

Context: CREATE TABLE table_name_23 (aspect VARCHAR, channel VARCHAR)

SELECT aspect FROM table_name_23 WHERE channel = 26.5


Question: Which Programming is on Channel 26.5?

Context: CREATE TABLE table_name_98 (programming VARCHAR, channel VARCHAR)

SELECT programming FROM table_name_98 WHERE channel = 26.5


Question: Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv?

Context: CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR)

SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv"


Question: What number of laps were done by driver Ronnie Peterson?

Context: CREATE TABLE table_name_56 (laps VARCHAR, driver VARCHAR)

SELECT laps FROM table_name_56 WHERE driver = "ronnie peterson"


Question: Which driver had a time/retired of fuel system?

Context: CREATE TABLE table_name_2 (driver VARCHAR, time_retired VARCHAR)

SELECT driver FROM table_name_2 WHERE time_retired = "fuel system"


Question: What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti?

Context: CREATE TABLE table_name_27 (grid INTEGER, driver VARCHAR, time_retired VARCHAR, laps VARCHAR)

SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "engine" AND laps < 45 AND driver = "giancarlo baghetti"


Question: I want the Grid for Laps of 35

Context: CREATE TABLE table_name_97 (grid VARCHAR, laps VARCHAR)

SELECT grid FROM table_name_97 WHERE laps = 35


Question: What is Jonty Rhodes's batting style?

Context: CREATE TABLE table_name_95 (batting_style VARCHAR, player VARCHAR)

SELECT batting_style FROM table_name_95 WHERE player = "jonty rhodes"


Question: What bowling style does First Class Team, Griqualand West have?

Context: CREATE TABLE table_name_52 (bowling_style VARCHAR, first_class_team VARCHAR)

SELECT bowling_style FROM table_name_52 WHERE first_class_team = "griqualand west"


Question: What is the batting style of Makhaya Ntini?

Context: CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR)

SELECT batting_style FROM table_name_85 WHERE player = "makhaya ntini"


Question: What region is the host university of southern california located?

Context: CREATE TABLE table_name_1 (region VARCHAR, host VARCHAR)

SELECT region FROM table_name_1 WHERE host = "university of southern california"


Question: In which state is the city of knoxville?

Context: CREATE TABLE table_name_81 (state VARCHAR, city VARCHAR)

SELECT state FROM table_name_81 WHERE city = "knoxville"


Question: Which city in Texas hosts the Frank Erwin center?

Context: CREATE TABLE table_name_58 (city VARCHAR, state VARCHAR, venue VARCHAR)

SELECT city FROM table_name_58 WHERE state = "texas" AND venue = "frank erwin center"


Question: In what region is the city of Austin?

Context: CREATE TABLE table_name_36 (region VARCHAR, city VARCHAR)

SELECT region FROM table_name_36 WHERE city = "austin"


Question: What is the polling result for Chuck DeVore which has a corresponding polling result of 4% for Other?

Context: CREATE TABLE table_name_97 (chuck_devore VARCHAR, other VARCHAR)

SELECT chuck_devore FROM table_name_97 WHERE other = "4%"


Question: What is the total when silver is less than 1 and rank larger than 3?

Context: CREATE TABLE table_name_82 (total VARCHAR, silver VARCHAR, rank VARCHAR)

SELECT COUNT(total) FROM table_name_82 WHERE silver < 1 AND rank > 3


Question: What is the number of bronze for Canada and silver is less than 0?

Context: CREATE TABLE table_name_72 (bronze INTEGER, nation VARCHAR, silver VARCHAR)

SELECT SUM(bronze) FROM table_name_72 WHERE nation = "canada" AND silver < 0


Question: What is the largest gold when silver is less than 1 for Canada and bronze is less than 0?

Context: CREATE TABLE table_name_48 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR)

SELECT MAX(gold) FROM table_name_48 WHERE silver < 1 AND nation = "canada" AND bronze < 0


Question: What is the silver for Germany and less than 2?

Context: CREATE TABLE table_name_64 (silver INTEGER, nation VARCHAR, rank VARCHAR)

SELECT AVG(silver) FROM table_name_64 WHERE nation = "germany" AND rank < 2


Question: Tell me the score for december 3

Context: CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR)

SELECT score FROM table_name_4 WHERE date = "december 3"


Question: Tell me the record for december 3

Context: CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_47 WHERE date = "december 3"


Question: Name the record for dallas visitor

Context: CREATE TABLE table_name_86 (record VARCHAR, visitor VARCHAR)

SELECT record FROM table_name_86 WHERE visitor = "dallas"


Question: Name the score for december 5

Context: CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR)

SELECT score FROM table_name_36 WHERE date = "december 5"


Question: Who is Princes Park's home team?

Context: CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_6 WHERE venue = "princes park"


Question: Who is North Melbourne's home team?

Context: CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_30 WHERE away_team = "north melbourne"


Question: In the Crews beyond 2006 what was the Year 8 1st Quads that exists in the same row that had the year 9 2nd Quads of BGGS?

Context: CREATE TABLE table_name_67 (year_8_1st_quad VARCHAR, year_9_2nd_quad VARCHAR, crew VARCHAR)

SELECT year_8_1st_quad FROM table_name_67 WHERE year_9_2nd_quad = "bggs" AND crew > 2006


Question: For the Crew with Year 9 2nd Quads of STM, Year 9 1st Quads of SOM, and a Year 8 3rd Quads of STA what was the Year 8 1st Quads?

Context: CREATE TABLE table_name_5 (year_8_1st_quad VARCHAR, year_8_3rd_quad VARCHAR, year_9_2nd_quad VARCHAR, year_9_1st_quad VARCHAR)

SELECT year_8_1st_quad FROM table_name_5 WHERE year_9_2nd_quad = "stm" AND year_9_1st_quad = "som" AND year_8_3rd_quad = "sta"


Question: Which character was in the sexiest female category of the British Soap Awards?

Context: CREATE TABLE table_name_59 (character VARCHAR, category VARCHAR, award VARCHAR)

SELECT character FROM table_name_59 WHERE category = "sexiest female" AND award = "british soap awards"


Question: Which film or series was nominated in the category of best fansite?

Context: CREATE TABLE table_name_2 (film_or_series VARCHAR, result VARCHAR, category VARCHAR)

SELECT film_or_series FROM table_name_2 WHERE result = "nominated" AND category = "best fansite"


Question: Where does Essendon play their home games?

Context: CREATE TABLE table_name_38 (venue VARCHAR, home_team VARCHAR)

SELECT venue FROM table_name_38 WHERE home_team = "essendon"


Question: What team plays their home games in Victoria Park?

Context: CREATE TABLE table_name_30 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_30 WHERE venue = "victoria park"


Question: What is the total attendance with a Report of sd.hr, and a Score of 3–1, and a Date of 14 apr 2001?

Context: CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, report VARCHAR, score VARCHAR)

SELECT SUM(attendance) FROM table_name_22 WHERE report = "sd.hr" AND score = "3–1" AND date = "14 apr 2001"


Question: What is the highest production code when the writer was brian egeston after season 5?

Context: CREATE TABLE table_name_6 (production_code INTEGER, written_by VARCHAR, season__number VARCHAR)

SELECT MAX(production_code) FROM table_name_6 WHERE written_by = "brian egeston" AND season__number > 5


Question: What was the record when chicago was the home team?

Context: CREATE TABLE table_name_63 (record VARCHAR, home VARCHAR)

SELECT record FROM table_name_63 WHERE home = "chicago"


Question: How many people were in the crowd when the Home Team was Hawthorn?

Context: CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR)

SELECT SUM(crowd) FROM table_name_58 WHERE home_team = "hawthorn"


Question: What's the average Grid with Laps of 88?

Context: CREATE TABLE table_name_66 (grid INTEGER, laps VARCHAR)

SELECT AVG(grid) FROM table_name_66 WHERE laps = 88


Question: Which driver has a Time/Retired of +6 laps?

Context: CREATE TABLE table_name_21 (driver VARCHAR, time_retired VARCHAR)

SELECT driver FROM table_name_21 WHERE time_retired = "+6 laps"


Question: What did Hawthorn score as the home team?

Context: CREATE TABLE table_name_21 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_21 WHERE home_team = "hawthorn"


Question: What team played South Melbourne at their home game?

Context: CREATE TABLE table_name_22 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_22 WHERE home_team = "south melbourne"


Question: What team played Geelong at their away game?

Context: CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_59 WHERE away_team = "geelong"


Question: What is the 1989 result of the tournament in which Katerina Maleeva finished 4r in 1991?

Context: CREATE TABLE table_name_60 (Id VARCHAR)

SELECT 1989 FROM table_name_60 WHERE 1991 = "4r"


Question: What is the 1989 result of the tournament in which Katerina finished nh in 1986?

Context: CREATE TABLE table_name_94 (Id VARCHAR)

SELECT 1989 FROM table_name_94 WHERE 1986 = "nh"


Question: What is the total of the ranks that did not participate?

Context: CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR)

SELECT total FROM table_name_88 WHERE rank = "did not participate"


Question: What is the decile for Westminster Christian School with a state integrated authority?

Context: CREATE TABLE table_name_55 (decile VARCHAR, authority VARCHAR, name VARCHAR)

SELECT decile FROM table_name_55 WHERE authority = "state integrated" AND name = "westminster christian school"


Question: What are the years when the authority was state integrated and a decile of 9?

Context: CREATE TABLE table_name_45 (years VARCHAR, authority VARCHAR, decile VARCHAR)

SELECT years FROM table_name_45 WHERE authority = "state integrated" AND decile = "9"


Question: What did the team score while away in moorabbin oval?

Context: CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR)

SELECT away_team AS score FROM table_name_30 WHERE venue = "moorabbin oval"


Question: When was the general foods pga seniors' championship tournament?

Context: CREATE TABLE table_name_66 (date VARCHAR, tournament VARCHAR)

SELECT date FROM table_name_66 WHERE tournament = "general foods pga seniors' championship"


Question: What was the attendance on location when the record was 3–16?

Context: CREATE TABLE table_name_86 (location_attendance VARCHAR, record VARCHAR)

SELECT location_attendance FROM table_name_86 WHERE record = "3–16"


Question: On what date was a two-way tie (8) the high rebound?

Context: CREATE TABLE table_name_3 (date VARCHAR, high_rebounds VARCHAR)

SELECT date FROM table_name_3 WHERE high_rebounds = "two-way tie (8)"


Question: What is the home team score with Away team Richmond?

Context: CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_20 WHERE away_team = "richmond"


Question: What is the smallest crowd for victoria park?

Context: CREATE TABLE table_name_89 (crowd INTEGER, venue VARCHAR)

SELECT MIN(crowd) FROM table_name_89 WHERE venue = "victoria park"


Question: what is the highest clean & jerk when total (kg) is 200.0 and snatch is more than 87.5?

Context: CREATE TABLE table_name_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR)

SELECT MAX(clean_) & _jerk FROM table_name_92 WHERE total__kg_ = "200.0" AND snatch > 87.5


Question: what is the average bodyweight when snatch is 80?

Context: CREATE TABLE table_name_89 (bodyweight INTEGER, snatch VARCHAR)

SELECT AVG(bodyweight) FROM table_name_89 WHERE snatch = 80


Question: What did the home team score at Windy Hill?

Context: CREATE TABLE table_name_92 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_92 WHERE venue = "windy hill"


Question: When the home team was Richmond, what was the largest crowd?

Context: CREATE TABLE table_name_49 (crowd INTEGER, home_team VARCHAR)

SELECT MAX(crowd) FROM table_name_49 WHERE home_team = "richmond"


Question: Tell me the average 1st prize for tennessee

Context: CREATE TABLE table_name_55 (location VARCHAR)

SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_55 WHERE location = "tennessee"


Question: Tell me the winner of the comfort classic

Context: CREATE TABLE table_name_97 (winner VARCHAR, tournament VARCHAR)

SELECT winner FROM table_name_97 WHERE tournament = "comfort classic"


Question: How many percentages have losses fewer than 1 with finals appearances of 4?

Context: CREATE TABLE table_name_13 (pct VARCHAR, losses VARCHAR, finals VARCHAR)

SELECT COUNT(pct) FROM table_name_13 WHERE losses < 1 AND finals = 4


Question: Name the least age for the 1st dose for 3 doses of 2-3 drops

Context: CREATE TABLE table_name_28 (minimum_age_at_1st_dose VARCHAR, number_of_doses VARCHAR, dose VARCHAR)

SELECT minimum_age_at_1st_dose FROM table_name_28 WHERE number_of_doses = "3 doses" AND dose = "2-3 drops"


Question: How many doses for the bacillus calmette-guérin?

Context: CREATE TABLE table_name_13 (number_of_doses VARCHAR, vaccine VARCHAR)

SELECT number_of_doses FROM table_name_13 WHERE vaccine = "bacillus calmette-guérin"


Question: What team did team carlton play while away?

Context: CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_42 WHERE away_team = "carlton"


Question: What home team plays at Windy Hill?

Context: CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_77 WHERE venue = "windy hill"


Question: What was the 2nd Party in the 1918 Election?

Context: CREATE TABLE table_name_66 (election VARCHAR)

SELECT 2 AS nd_party FROM table_name_66 WHERE election = "1918"