question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 | text stringlengths 114 1.06k |
|---|---|---|---|
How many laps did John Love have on a grid less than 11? | CREATE TABLE table_name_18 (laps VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT laps FROM table_name_18 WHERE grid < 11 AND driver = "john love" | ### Context: CREATE TABLE table_name_18 (laps VARCHAR, grid VARCHAR, driver VARCHAR) ### Question: How many laps did John Love have on a grid less than 11? ### Answer: SELECT laps FROM table_name_18 WHERE grid < 11 AND driver = "john love" |
What is the Builder of Locomotive 2? | CREATE TABLE table_name_6 (builder VARCHAR, locomotive VARCHAR) | SELECT builder FROM table_name_6 WHERE locomotive = "2" | ### Context: CREATE TABLE table_name_6 (builder VARCHAR, locomotive VARCHAR) ### Question: What is the Builder of Locomotive 2? ### Answer: SELECT builder FROM table_name_6 WHERE locomotive = "2" |
With a Type of 4-6-4t, what is the sum Withdrawn? | CREATE TABLE table_name_43 (withdrawn INTEGER, type VARCHAR) | SELECT SUM(withdrawn) FROM table_name_43 WHERE type = "4-6-4t" | ### Context: CREATE TABLE table_name_43 (withdrawn INTEGER, type VARCHAR) ### Question: With a Type of 4-6-4t, what is the sum Withdrawn? ### Answer: SELECT SUM(withdrawn) FROM table_name_43 WHERE type = "4-6-4t" |
What was the score from the game where Dallas played Home and Edmonton was visiting? | CREATE TABLE table_name_41 (score VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_41 WHERE home = "dallas" AND visitor = "edmonton" | ### Context: CREATE TABLE table_name_41 (score VARCHAR, home VARCHAR, visitor VARCHAR) ### Question: What was the score from the game where Dallas played Home and Edmonton was visiting? ### Answer: SELECT score FROM table_name_41 WHERE home = "dallas" AND visitor = "edmonton" |
What was the mintage when the theme was Santa Claus? | CREATE TABLE table_name_15 (mintage VARCHAR, theme VARCHAR) | SELECT mintage FROM table_name_15 WHERE theme = "santa claus" | ### Context: CREATE TABLE table_name_15 (mintage VARCHAR, theme VARCHAR) ### Question: What was the mintage when the theme was Santa Claus? ### Answer: SELECT mintage FROM table_name_15 WHERE theme = "santa claus" |
What was the issue price in the year 2008? | CREATE TABLE table_name_29 (issue_price INTEGER, year VARCHAR) | SELECT SUM(issue_price) FROM table_name_29 WHERE year = 2008 | ### Context: CREATE TABLE table_name_29 (issue_price INTEGER, year VARCHAR) ### Question: What was the issue price in the year 2008? ### Answer: SELECT SUM(issue_price) FROM table_name_29 WHERE year = 2008 |
What is the earliest year when the composition is 99.99% silver and the issue price is $94.95? | CREATE TABLE table_name_66 (year INTEGER, composition VARCHAR, issue_price VARCHAR) | SELECT MIN(year) FROM table_name_66 WHERE composition = "99.99% silver" AND issue_price = "$94.95" | ### Context: CREATE TABLE table_name_66 (year INTEGER, composition VARCHAR, issue_price VARCHAR) ### Question: What is the earliest year when the composition is 99.99% silver and the issue price is $94.95? ### Answer: SELECT MIN(year) FROM table_name_66 WHERE composition = "99.99% silver" AND issue_price = "$94.95" |
What year had an issue price of $94.95 and theme of Amethyst crystal? | CREATE TABLE table_name_87 (year INTEGER, issue_price VARCHAR, theme VARCHAR) | SELECT AVG(year) FROM table_name_87 WHERE issue_price = "$94.95" AND theme = "amethyst crystal" | ### Context: CREATE TABLE table_name_87 (year INTEGER, issue_price VARCHAR, theme VARCHAR) ### Question: What year had an issue price of $94.95 and theme of Amethyst crystal? ### Answer: SELECT AVG(year) FROM table_name_87 WHERE issue_price = "$94.95" AND theme = "amethyst crystal" |
Name the score for when the opponent in the final is shiho hisamatsu | CREATE TABLE table_name_43 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_43 WHERE opponent_in_the_final = "shiho hisamatsu" | ### Context: CREATE TABLE table_name_43 (score VARCHAR, opponent_in_the_final VARCHAR) ### Question: Name the score for when the opponent in the final is shiho hisamatsu ### Answer: SELECT score FROM table_name_43 WHERE opponent_in_the_final = "shiho hisamatsu" |
Name the tournament for april 3, 2005 | CREATE TABLE table_name_79 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_79 WHERE date = "april 3, 2005" | ### Context: CREATE TABLE table_name_79 (tournament VARCHAR, date VARCHAR) ### Question: Name the tournament for april 3, 2005 ### Answer: SELECT tournament FROM table_name_79 WHERE date = "april 3, 2005" |
Name th score for may 11, 2003 | CREATE TABLE table_name_1 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_1 WHERE date = "may 11, 2003" | ### Context: CREATE TABLE table_name_1 (score VARCHAR, date VARCHAR) ### Question: Name th score for may 11, 2003 ### Answer: SELECT score FROM table_name_1 WHERE date = "may 11, 2003" |
Who constructed pedro diniz's car? | CREATE TABLE table_name_30 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_30 WHERE driver = "pedro diniz" | ### Context: CREATE TABLE table_name_30 (constructor VARCHAR, driver VARCHAR) ### Question: Who constructed pedro diniz's car? ### Answer: SELECT constructor FROM table_name_30 WHERE driver = "pedro diniz" |
What is the grid total for david coulthard with over 45 laps? | CREATE TABLE table_name_85 (grid VARCHAR, driver VARCHAR, laps VARCHAR) | SELECT COUNT(grid) FROM table_name_85 WHERE driver = "david coulthard" AND laps > 45 | ### Context: CREATE TABLE table_name_85 (grid VARCHAR, driver VARCHAR, laps VARCHAR) ### Question: What is the grid total for david coulthard with over 45 laps? ### Answer: SELECT COUNT(grid) FROM table_name_85 WHERE driver = "david coulthard" AND laps > 45 |
What is the average for the gymnast with a 9.9 start value and a total of 9.612? | CREATE TABLE table_name_33 (average INTEGER, start_value VARCHAR, total VARCHAR) | SELECT AVG(average) FROM table_name_33 WHERE start_value = 9.9 AND total = 9.612 | ### Context: CREATE TABLE table_name_33 (average INTEGER, start_value VARCHAR, total VARCHAR) ### Question: What is the average for the gymnast with a 9.9 start value and a total of 9.612? ### Answer: SELECT AVG(average) FROM table_name_33 WHERE start_value = 9.9 AND total = 9.612 |
What was the penalty for the gymnast with average above 9.662 and total is more than 9.706? | CREATE TABLE table_name_13 (penalty VARCHAR, average VARCHAR, total VARCHAR) | SELECT penalty FROM table_name_13 WHERE average > 9.662 AND total > 9.706 | ### Context: CREATE TABLE table_name_13 (penalty VARCHAR, average VARCHAR, total VARCHAR) ### Question: What was the penalty for the gymnast with average above 9.662 and total is more than 9.706? ### Answer: SELECT penalty FROM table_name_13 WHERE average > 9.662 AND total > 9.706 |
What category was Kasautii Zindagii Kay nominated for after 2005? | CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, for_the_show VARCHAR) | SELECT category FROM table_name_20 WHERE year > 2005 AND for_the_show = "kasautii zindagii kay" | ### Context: CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, for_the_show VARCHAR) ### Question: What category was Kasautii Zindagii Kay nominated for after 2005? ### Answer: SELECT category FROM table_name_20 WHERE year > 2005 AND for_the_show = "kasautii zindagii kay" |
What show had a nomination for best actor in a lead role – female (popular) in 2006? | CREATE TABLE table_name_22 (for_the_show VARCHAR, category VARCHAR, year VARCHAR) | SELECT for_the_show FROM table_name_22 WHERE category = "best actor in a lead role – female (popular)" AND year = 2006 | ### Context: CREATE TABLE table_name_22 (for_the_show VARCHAR, category VARCHAR, year VARCHAR) ### Question: What show had a nomination for best actor in a lead role – female (popular) in 2006? ### Answer: SELECT for_the_show FROM table_name_22 WHERE category = "best actor in a lead role – female (popular)" AND year = 2006 |
In what week was the Result L 15-13? | CREATE TABLE table_name_91 (week INTEGER, result VARCHAR) | SELECT AVG(week) FROM table_name_91 WHERE result = "l 15-13" | ### Context: CREATE TABLE table_name_91 (week INTEGER, result VARCHAR) ### Question: In what week was the Result L 15-13? ### Answer: SELECT AVG(week) FROM table_name_91 WHERE result = "l 15-13" |
What is the Attendance with Opponent Dallas Cowboys in a Week greater than 5? | CREATE TABLE table_name_51 (attendance INTEGER, opponent VARCHAR, week VARCHAR) | SELECT SUM(attendance) FROM table_name_51 WHERE opponent = "dallas cowboys" AND week > 5 | ### Context: CREATE TABLE table_name_51 (attendance INTEGER, opponent VARCHAR, week VARCHAR) ### Question: What is the Attendance with Opponent Dallas Cowboys in a Week greater than 5? ### Answer: SELECT SUM(attendance) FROM table_name_51 WHERE opponent = "dallas cowboys" AND week > 5 |
How many points for maserati v12 engines in 1968? | CREATE TABLE table_name_89 (points VARCHAR, engine VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_89 WHERE engine = "maserati v12" AND year = 1968 | ### Context: CREATE TABLE table_name_89 (points VARCHAR, engine VARCHAR, year VARCHAR) ### Question: How many points for maserati v12 engines in 1968? ### Answer: SELECT COUNT(points) FROM table_name_89 WHERE engine = "maserati v12" AND year = 1968 |
What entrant had less than 3 points before 1963? | CREATE TABLE table_name_28 (entrant VARCHAR, year VARCHAR, points VARCHAR) | SELECT entrant FROM table_name_28 WHERE year < 1963 AND points < 3 | ### Context: CREATE TABLE table_name_28 (entrant VARCHAR, year VARCHAR, points VARCHAR) ### Question: What entrant had less than 3 points before 1963? ### Answer: SELECT entrant FROM table_name_28 WHERE year < 1963 AND points < 3 |
Who had the pole at the French Grand Prix? | CREATE TABLE table_name_86 (pole_position VARCHAR, grand_prix VARCHAR) | SELECT pole_position FROM table_name_86 WHERE grand_prix = "french grand prix" | ### Context: CREATE TABLE table_name_86 (pole_position VARCHAR, grand_prix VARCHAR) ### Question: Who had the pole at the French Grand Prix? ### Answer: SELECT pole_position FROM table_name_86 WHERE grand_prix = "french grand prix" |
Who constructed the car that won the Canadian Grand Prix? | CREATE TABLE table_name_97 (constructor VARCHAR, grand_prix VARCHAR) | SELECT constructor FROM table_name_97 WHERE grand_prix = "canadian grand prix" | ### Context: CREATE TABLE table_name_97 (constructor VARCHAR, grand_prix VARCHAR) ### Question: Who constructed the car that won the Canadian Grand Prix? ### Answer: SELECT constructor FROM table_name_97 WHERE grand_prix = "canadian grand prix" |
When Michael Schumacher won the race, who had the fastest lap? | CREATE TABLE table_name_18 (fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_name_18 WHERE winning_driver = "michael schumacher" | ### Context: CREATE TABLE table_name_18 (fastest_lap VARCHAR, winning_driver VARCHAR) ### Question: When Michael Schumacher won the race, who had the fastest lap? ### Answer: SELECT fastest_lap FROM table_name_18 WHERE winning_driver = "michael schumacher" |
For the Player playing for the College of Kentucky and a Height of 6-7 what was their corresponding School? | CREATE TABLE table_name_72 (school VARCHAR, college VARCHAR, height VARCHAR) | SELECT school FROM table_name_72 WHERE college = "kentucky" AND height = "6-7" | ### Context: CREATE TABLE table_name_72 (school VARCHAR, college VARCHAR, height VARCHAR) ### Question: For the Player playing for the College of Kentucky and a Height of 6-7 what was their corresponding School? ### Answer: SELECT school FROM table_name_72 WHERE college = "kentucky" AND height = "6-7" |
What School did Terrence Jones play for? | CREATE TABLE table_name_40 (school VARCHAR, player VARCHAR) | SELECT school FROM table_name_40 WHERE player = "terrence jones" | ### Context: CREATE TABLE table_name_40 (school VARCHAR, player VARCHAR) ### Question: What School did Terrence Jones play for? ### Answer: SELECT school FROM table_name_40 WHERE player = "terrence jones" |
What Player(s) have a Height of 6-3? | CREATE TABLE table_name_42 (player VARCHAR, height VARCHAR) | SELECT player FROM table_name_42 WHERE height = "6-3" | ### Context: CREATE TABLE table_name_42 (player VARCHAR, height VARCHAR) ### Question: What Player(s) have a Height of 6-3? ### Answer: SELECT player FROM table_name_42 WHERE height = "6-3" |
For the player with a Height of 6-9 and College of Kentucky what was their NBA Draft? | CREATE TABLE table_name_41 (nba_draft VARCHAR, height VARCHAR, college VARCHAR) | SELECT nba_draft FROM table_name_41 WHERE height = "6-9" AND college = "kentucky" | ### Context: CREATE TABLE table_name_41 (nba_draft VARCHAR, height VARCHAR, college VARCHAR) ### Question: For the player with a Height of 6-9 and College of Kentucky what was their NBA Draft? ### Answer: SELECT nba_draft FROM table_name_41 WHERE height = "6-9" AND college = "kentucky" |
What was the score on February 9? | CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_84 WHERE date = "february 9" | ### Context: CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR) ### Question: What was the score on February 9? ### Answer: SELECT score FROM table_name_84 WHERE date = "february 9" |
What is the average point total for arrows racing team before 1983? | CREATE TABLE table_name_73 (points INTEGER, team VARCHAR, year VARCHAR) | SELECT AVG(points) FROM table_name_73 WHERE team = "arrows racing team" AND year < 1983 | ### Context: CREATE TABLE table_name_73 (points INTEGER, team VARCHAR, year VARCHAR) ### Question: What is the average point total for arrows racing team before 1983? ### Answer: SELECT AVG(points) FROM table_name_73 WHERE team = "arrows racing team" AND year < 1983 |
What team has jordan 193 chassis after 1990? | CREATE TABLE table_name_61 (team VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT team FROM table_name_61 WHERE year > 1990 AND chassis = "jordan 193" | ### Context: CREATE TABLE table_name_61 (team VARCHAR, year VARCHAR, chassis VARCHAR) ### Question: What team has jordan 193 chassis after 1990? ### Answer: SELECT team FROM table_name_61 WHERE year > 1990 AND chassis = "jordan 193" |
How many points for the cosworth v8 engine after 1985? | CREATE TABLE table_name_23 (points VARCHAR, year VARCHAR, engine VARCHAR) | SELECT points FROM table_name_23 WHERE year > 1985 AND engine = "cosworth v8" | ### Context: CREATE TABLE table_name_23 (points VARCHAR, year VARCHAR, engine VARCHAR) ### Question: How many points for the cosworth v8 engine after 1985? ### Answer: SELECT points FROM table_name_23 WHERE year > 1985 AND engine = "cosworth v8" |
What is the constructor for the driver with grid less than 2? | CREATE TABLE table_name_6 (constructor VARCHAR, grid INTEGER) | SELECT constructor FROM table_name_6 WHERE grid < 2 | ### Context: CREATE TABLE table_name_6 (constructor VARCHAR, grid INTEGER) ### Question: What is the constructor for the driver with grid less than 2? ### Answer: SELECT constructor FROM table_name_6 WHERE grid < 2 |
What Position did Aaron Williams play? | CREATE TABLE table_name_12 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_12 WHERE player = "aaron williams" | ### Context: CREATE TABLE table_name_12 (position VARCHAR, player VARCHAR) ### Question: What Position did Aaron Williams play? ### Answer: SELECT position FROM table_name_12 WHERE player = "aaron williams" |
At Position of guard, from the School/Club Team Notre Dame, how many Years for Jazz did that person play? | CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT years_for_jazz FROM table_name_43 WHERE position = "guard" AND school_club_team = "notre dame" | ### Context: CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, school_club_team VARCHAR) ### Question: At Position of guard, from the School/Club Team Notre Dame, how many Years for Jazz did that person play? ### Answer: SELECT years_for_jazz FROM table_name_43 WHERE position = "guard" AND school_club_team = "notre dame" |
Which School/Club Team did Andre Wakefield play for? | CREATE TABLE table_name_34 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_34 WHERE player = "andre wakefield" | ### Context: CREATE TABLE table_name_34 (school_club_team VARCHAR, player VARCHAR) ### Question: Which School/Club Team did Andre Wakefield play for? ### Answer: SELECT school_club_team FROM table_name_34 WHERE player = "andre wakefield" |
What is the Nationality of the player who had Position of guard from School/Club Team Notre Dame? | CREATE TABLE table_name_59 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_59 WHERE position = "guard" AND school_club_team = "notre dame" | ### Context: CREATE TABLE table_name_59 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR) ### Question: What is the Nationality of the player who had Position of guard from School/Club Team Notre Dame? ### Answer: SELECT nationality FROM table_name_59 WHERE position = "guard" AND school_club_team = "notre dame" |
What School/Club Team is Player Howard Wood from? | CREATE TABLE table_name_83 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_83 WHERE player = "howard wood" | ### Context: CREATE TABLE table_name_83 (school_club_team VARCHAR, player VARCHAR) ### Question: What School/Club Team is Player Howard Wood from? ### Answer: SELECT school_club_team FROM table_name_83 WHERE player = "howard wood" |
What School/Club Team is Player Aaron Williams from? | CREATE TABLE table_name_5 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_5 WHERE player = "aaron williams" | ### Context: CREATE TABLE table_name_5 (school_club_team VARCHAR, player VARCHAR) ### Question: What School/Club Team is Player Aaron Williams from? ### Answer: SELECT school_club_team FROM table_name_5 WHERE player = "aaron williams" |
What is the street address of the building with 5 floors? | CREATE TABLE table_name_9 (street_address VARCHAR, floors VARCHAR) | SELECT street_address FROM table_name_9 WHERE floors = "5" | ### Context: CREATE TABLE table_name_9 (street_address VARCHAR, floors VARCHAR) ### Question: What is the street address of the building with 5 floors? ### Answer: SELECT street_address FROM table_name_9 WHERE floors = "5" |
What is the street address of the building with 40 floors? | CREATE TABLE table_name_94 (street_address VARCHAR, floors VARCHAR) | SELECT street_address FROM table_name_94 WHERE floors = "40" | ### Context: CREATE TABLE table_name_94 (street_address VARCHAR, floors VARCHAR) ### Question: What is the street address of the building with 40 floors? ### Answer: SELECT street_address FROM table_name_94 WHERE floors = "40" |
What were the years the building with 44 floors was tallest? | CREATE TABLE table_name_53 (years_as_tallest VARCHAR, floors VARCHAR) | SELECT years_as_tallest FROM table_name_53 WHERE floors = "44" | ### Context: CREATE TABLE table_name_53 (years_as_tallest VARCHAR, floors VARCHAR) ### Question: What were the years the building with 44 floors was tallest? ### Answer: SELECT years_as_tallest FROM table_name_53 WHERE floors = "44" |
What is the street address of Oliver Building? | CREATE TABLE table_name_20 (street_address VARCHAR, name VARCHAR) | SELECT street_address FROM table_name_20 WHERE name = "oliver building" | ### Context: CREATE TABLE table_name_20 (street_address VARCHAR, name VARCHAR) ### Question: What is the street address of Oliver Building? ### Answer: SELECT street_address FROM table_name_20 WHERE name = "oliver building" |
Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north? | CREATE TABLE table_name_62 (winning_party_2003 VARCHAR, constituency VARCHAR) | SELECT winning_party_2003 FROM table_name_62 WHERE constituency = "aberdeen north" | ### Context: CREATE TABLE table_name_62 (winning_party_2003 VARCHAR, constituency VARCHAR) ### Question: Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north? ### Answer: SELECT winning_party_2003 FROM table_name_62 WHERE constituency = "aberdeen north" |
Can you tell me the lowest Rank that has the Constituency of strathkelvin and bearsden? | CREATE TABLE table_name_64 (rank INTEGER, constituency VARCHAR) | SELECT MIN(rank) FROM table_name_64 WHERE constituency = "strathkelvin and bearsden" | ### Context: CREATE TABLE table_name_64 (rank INTEGER, constituency VARCHAR) ### Question: Can you tell me the lowest Rank that has the Constituency of strathkelvin and bearsden? ### Answer: SELECT MIN(rank) FROM table_name_64 WHERE constituency = "strathkelvin and bearsden" |
Can you tell me the sum of Swing to gain that has Constituency of caithness, sutherland and easter ross? | CREATE TABLE table_name_48 (swing_to_gain INTEGER, constituency VARCHAR) | SELECT SUM(swing_to_gain) FROM table_name_48 WHERE constituency = "caithness, sutherland and easter ross" | ### Context: CREATE TABLE table_name_48 (swing_to_gain INTEGER, constituency VARCHAR) ### Question: Can you tell me the sum of Swing to gain that has Constituency of caithness, sutherland and easter ross? ### Answer: SELECT SUM(swing_to_gain) FROM table_name_48 WHERE constituency = "caithness, sutherland and easter ross" |
What's the Time/Retired of Laps of 75? | CREATE TABLE table_name_59 (time_retired VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_59 WHERE laps = 75 | ### Context: CREATE TABLE table_name_59 (time_retired VARCHAR, laps VARCHAR) ### Question: What's the Time/Retired of Laps of 75? ### Answer: SELECT time_retired FROM table_name_59 WHERE laps = 75 |
Which Driver has Laps larger than 78, and a Time/Retired of + 1:09.4? | CREATE TABLE table_name_99 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR) | SELECT driver FROM table_name_99 WHERE laps > 78 AND time_retired = "+ 1:09.4" | ### Context: CREATE TABLE table_name_99 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR) ### Question: Which Driver has Laps larger than 78, and a Time/Retired of + 1:09.4? ### Answer: SELECT driver FROM table_name_99 WHERE laps > 78 AND time_retired = "+ 1:09.4" |
Hows many Laps are in a Grid of 4? | CREATE TABLE table_name_72 (laps VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_72 WHERE grid = 4 | ### Context: CREATE TABLE table_name_72 (laps VARCHAR, grid VARCHAR) ### Question: Hows many Laps are in a Grid of 4? ### Answer: SELECT COUNT(laps) FROM table_name_72 WHERE grid = 4 |
What venue did the away team Collingwood play at? | CREATE TABLE table_name_42 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_42 WHERE away_team = "collingwood" | ### Context: CREATE TABLE table_name_42 (venue VARCHAR, away_team VARCHAR) ### Question: What venue did the away team Collingwood play at? ### Answer: SELECT venue FROM table_name_42 WHERE away_team = "collingwood" |
What is the score of the away team that played at Kardinia Park? | CREATE TABLE table_name_33 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_33 WHERE venue = "kardinia park" | ### Context: CREATE TABLE table_name_33 (away_team VARCHAR, venue VARCHAR) ### Question: What is the score of the away team that played at Kardinia Park? ### Answer: SELECT away_team AS score FROM table_name_33 WHERE venue = "kardinia park" |
What is the name of the away team that played at Kardinia Park? | CREATE TABLE table_name_2 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_2 WHERE venue = "kardinia park" | ### Context: CREATE TABLE table_name_2 (away_team VARCHAR, venue VARCHAR) ### Question: What is the name of the away team that played at Kardinia Park? ### Answer: SELECT away_team FROM table_name_2 WHERE venue = "kardinia park" |
What is the attendance in the bye week after week 5? | CREATE TABLE table_name_40 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_40 WHERE week > 5 AND opponent = "bye" | ### Context: CREATE TABLE table_name_40 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) ### Question: What is the attendance in the bye week after week 5? ### Answer: SELECT attendance FROM table_name_40 WHERE week > 5 AND opponent = "bye" |
What location had 1:59:12 in time? | CREATE TABLE table_name_1 (location VARCHAR, time VARCHAR) | SELECT location FROM table_name_1 WHERE time = "1:59:12" | ### Context: CREATE TABLE table_name_1 (location VARCHAR, time VARCHAR) ### Question: What location had 1:59:12 in time? ### Answer: SELECT location FROM table_name_1 WHERE time = "1:59:12" |
What is the score for the away team of north melbourne? | CREATE TABLE table_name_79 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_79 WHERE away_team = "north melbourne" | ### Context: CREATE TABLE table_name_79 (away_team VARCHAR) ### Question: What is the score for the away team of north melbourne? ### Answer: SELECT away_team AS score FROM table_name_79 WHERE away_team = "north melbourne" |
Which home team plays at victoria park? | CREATE TABLE table_name_46 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_46 WHERE venue = "victoria park" | ### Context: CREATE TABLE table_name_46 (home_team VARCHAR, venue VARCHAR) ### Question: Which home team plays at victoria park? ### Answer: SELECT home_team FROM table_name_46 WHERE venue = "victoria park" |
what is the competition for the event team all-round in the year before 1913? | CREATE TABLE table_name_38 (competition VARCHAR, event VARCHAR, year VARCHAR) | SELECT competition FROM table_name_38 WHERE event = "team all-round" AND year < 1913 | ### Context: CREATE TABLE table_name_38 (competition VARCHAR, event VARCHAR, year VARCHAR) ### Question: what is the competition for the event team all-round in the year before 1913? ### Answer: SELECT competition FROM table_name_38 WHERE event = "team all-round" AND year < 1913 |
what is the event for the year less than 1913 with the position of 2nd? | CREATE TABLE table_name_60 (event VARCHAR, year VARCHAR, position VARCHAR) | SELECT event FROM table_name_60 WHERE year < 1913 AND position = "2nd" | ### Context: CREATE TABLE table_name_60 (event VARCHAR, year VARCHAR, position VARCHAR) ### Question: what is the event for the year less than 1913 with the position of 2nd? ### Answer: SELECT event FROM table_name_60 WHERE year < 1913 AND position = "2nd" |
what is the competition in paris for the parallel bars with a position of 1st? | CREATE TABLE table_name_8 (competition VARCHAR, event VARCHAR, venue VARCHAR, position VARCHAR) | SELECT competition FROM table_name_8 WHERE venue = "paris" AND position = "1st" AND event = "parallel bars" | ### Context: CREATE TABLE table_name_8 (competition VARCHAR, event VARCHAR, venue VARCHAR, position VARCHAR) ### Question: what is the competition in paris for the parallel bars with a position of 1st? ### Answer: SELECT competition FROM table_name_8 WHERE venue = "paris" AND position = "1st" AND event = "parallel bars" |
what is the competition in a year after 1911 with the position of 1st for the rings? | CREATE TABLE table_name_78 (competition VARCHAR, event VARCHAR, year VARCHAR, position VARCHAR) | SELECT competition FROM table_name_78 WHERE year > 1911 AND position = "1st" AND event = "rings" | ### Context: CREATE TABLE table_name_78 (competition VARCHAR, event VARCHAR, year VARCHAR, position VARCHAR) ### Question: what is the competition in a year after 1911 with the position of 1st for the rings? ### Answer: SELECT competition FROM table_name_78 WHERE year > 1911 AND position = "1st" AND event = "rings" |
what is the year that the position was 1st in paris? | CREATE TABLE table_name_26 (year VARCHAR, position VARCHAR, venue VARCHAR) | SELECT year FROM table_name_26 WHERE position = "1st" AND venue = "paris" | ### Context: CREATE TABLE table_name_26 (year VARCHAR, position VARCHAR, venue VARCHAR) ### Question: what is the year that the position was 1st in paris? ### Answer: SELECT year FROM table_name_26 WHERE position = "1st" AND venue = "paris" |
Which team plays their home matches at the mcg Venue? | CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_16 WHERE venue = "mcg" | ### Context: CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) ### Question: Which team plays their home matches at the mcg Venue? ### Answer: SELECT home_team FROM table_name_16 WHERE venue = "mcg" |
What host has an original air date of june 11, 2007? | CREATE TABLE table_name_11 (host VARCHAR, original_airdate VARCHAR) | SELECT host FROM table_name_11 WHERE original_airdate = "june 11, 2007" | ### Context: CREATE TABLE table_name_11 (host VARCHAR, original_airdate VARCHAR) ### Question: What host has an original air date of june 11, 2007? ### Answer: SELECT host FROM table_name_11 WHERE original_airdate = "june 11, 2007" |
Where is the location of a team with a 3-2 record? | CREATE TABLE table_name_96 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_96 WHERE record = "3-2" | ### Context: CREATE TABLE table_name_96 (location VARCHAR, record VARCHAR) ### Question: Where is the location of a team with a 3-2 record? ### Answer: SELECT location FROM table_name_96 WHERE record = "3-2" |
What is the result of the team with the 4-2 record? | CREATE TABLE table_name_67 (res VARCHAR, record VARCHAR) | SELECT res FROM table_name_67 WHERE record = "4-2" | ### Context: CREATE TABLE table_name_67 (res VARCHAR, record VARCHAR) ### Question: What is the result of the team with the 4-2 record? ### Answer: SELECT res FROM table_name_67 WHERE record = "4-2" |
What was St Kilda's away team score? | CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_30 WHERE home_team = "st kilda" | ### Context: CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR) ### Question: What was St Kilda's away team score? ### Answer: SELECT away_team AS score FROM table_name_30 WHERE home_team = "st kilda" |
What was the attendance at Moorabbin Oval? | CREATE TABLE table_name_41 (crowd INTEGER, venue VARCHAR) | SELECT AVG(crowd) FROM table_name_41 WHERE venue = "moorabbin oval" | ### Context: CREATE TABLE table_name_41 (crowd INTEGER, venue VARCHAR) ### Question: What was the attendance at Moorabbin Oval? ### Answer: SELECT AVG(crowd) FROM table_name_41 WHERE venue = "moorabbin oval" |
Who was Melbourne's away team opponent? | CREATE TABLE table_name_48 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_48 WHERE home_team = "melbourne" | ### Context: CREATE TABLE table_name_48 (away_team VARCHAR, home_team VARCHAR) ### Question: Who was Melbourne's away team opponent? ### Answer: SELECT away_team FROM table_name_48 WHERE home_team = "melbourne" |
What was the attendance at the Footscray away game? | CREATE TABLE table_name_19 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_19 WHERE away_team = "footscray" | ### Context: CREATE TABLE table_name_19 (crowd VARCHAR, away_team VARCHAR) ### Question: What was the attendance at the Footscray away game? ### Answer: SELECT crowd FROM table_name_19 WHERE away_team = "footscray" |
Tell me the competition that happened on 14 june 2008 | CREATE TABLE table_name_54 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_54 WHERE date = "14 june 2008" | ### Context: CREATE TABLE table_name_54 (competition VARCHAR, date VARCHAR) ### Question: Tell me the competition that happened on 14 june 2008 ### Answer: SELECT competition FROM table_name_54 WHERE date = "14 june 2008" |
Tell me the score for Venue of tanteen recreation ground, st. george's | CREATE TABLE table_name_43 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_43 WHERE venue = "tanteen recreation ground, st. george's" | ### Context: CREATE TABLE table_name_43 (score VARCHAR, venue VARCHAR) ### Question: Tell me the score for Venue of tanteen recreation ground, st. george's ### Answer: SELECT score FROM table_name_43 WHERE venue = "tanteen recreation ground, st. george's" |
How many weeks are associated with Season 3 – spring 2008? | CREATE TABLE table_name_74 (_number_of_weeks VARCHAR, season VARCHAR) | SELECT COUNT(_number_of_weeks) FROM table_name_74 WHERE season = "3 – spring 2008" | ### Context: CREATE TABLE table_name_74 (_number_of_weeks VARCHAR, season VARCHAR) ### Question: How many weeks are associated with Season 3 – spring 2008? ### Answer: SELECT COUNT(_number_of_weeks) FROM table_name_74 WHERE season = "3 – spring 2008" |
Who won when robert kudelski finished with under 13 weeks? | CREATE TABLE table_name_89 (winner VARCHAR, _number_of_weeks VARCHAR, third_place VARCHAR) | SELECT winner FROM table_name_89 WHERE _number_of_weeks < 13 AND third_place = "robert kudelski" | ### Context: CREATE TABLE table_name_89 (winner VARCHAR, _number_of_weeks VARCHAR, third_place VARCHAR) ### Question: Who won when robert kudelski finished with under 13 weeks? ### Answer: SELECT winner FROM table_name_89 WHERE _number_of_weeks < 13 AND third_place = "robert kudelski" |
What is the average attendance when Brewers are the opponent with a score of 6–3? | CREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR, score VARCHAR) | SELECT AVG(attendance) FROM table_name_68 WHERE opponent = "brewers" AND score = "6–3" | ### Context: CREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR, score VARCHAR) ### Question: What is the average attendance when Brewers are the opponent with a score of 6–3? ### Answer: SELECT AVG(attendance) FROM table_name_68 WHERE opponent = "brewers" AND score = "6–3" |
What loss occurred on June 10? | CREATE TABLE table_name_81 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_81 WHERE date = "june 10" | ### Context: CREATE TABLE table_name_81 (loss VARCHAR, date VARCHAR) ### Question: What loss occurred on June 10? ### Answer: SELECT loss FROM table_name_81 WHERE date = "june 10" |
Who is the opponent with a score of 5–4? | CREATE TABLE table_name_36 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_36 WHERE score = "5–4" | ### Context: CREATE TABLE table_name_36 (opponent VARCHAR, score VARCHAR) ### Question: Who is the opponent with a score of 5–4? ### Answer: SELECT opponent FROM table_name_36 WHERE score = "5–4" |
What is the week for Result of w 28-17? | CREATE TABLE table_name_70 (week VARCHAR, result VARCHAR) | SELECT week FROM table_name_70 WHERE result = "w 28-17" | ### Context: CREATE TABLE table_name_70 (week VARCHAR, result VARCHAR) ### Question: What is the week for Result of w 28-17? ### Answer: SELECT week FROM table_name_70 WHERE result = "w 28-17" |
What is the avarage Attendance for the Date of october 26, 1947? | CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_45 WHERE date = "october 26, 1947" | ### Context: CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR) ### Question: What is the avarage Attendance for the Date of october 26, 1947? ### Answer: SELECT AVG(attendance) FROM table_name_45 WHERE date = "october 26, 1947" |
Can you tell me the Years that has the Name of arapohue school? | CREATE TABLE table_name_70 (years VARCHAR, name VARCHAR) | SELECT years FROM table_name_70 WHERE name = "arapohue school" | ### Context: CREATE TABLE table_name_70 (years VARCHAR, name VARCHAR) ### Question: Can you tell me the Years that has the Name of arapohue school? ### Answer: SELECT years FROM table_name_70 WHERE name = "arapohue school" |
Can you tell me the lowest Decile that has the Area of matakohe, and the Roll larger than 86? | CREATE TABLE table_name_52 (decile INTEGER, area VARCHAR, roll VARCHAR) | SELECT MIN(decile) FROM table_name_52 WHERE area = "matakohe" AND roll > 86 | ### Context: CREATE TABLE table_name_52 (decile INTEGER, area VARCHAR, roll VARCHAR) ### Question: Can you tell me the lowest Decile that has the Area of matakohe, and the Roll larger than 86? ### Answer: SELECT MIN(decile) FROM table_name_52 WHERE area = "matakohe" AND roll > 86 |
Can you tell me the total number of Roll that has the Area of aranga? | CREATE TABLE table_name_95 (roll VARCHAR, area VARCHAR) | SELECT COUNT(roll) FROM table_name_95 WHERE area = "aranga" | ### Context: CREATE TABLE table_name_95 (roll VARCHAR, area VARCHAR) ### Question: Can you tell me the total number of Roll that has the Area of aranga? ### Answer: SELECT COUNT(roll) FROM table_name_95 WHERE area = "aranga" |
Can you tell me the Name that has the Roll larger than 419? | CREATE TABLE table_name_95 (name VARCHAR, roll INTEGER) | SELECT name FROM table_name_95 WHERE roll > 419 | ### Context: CREATE TABLE table_name_95 (name VARCHAR, roll INTEGER) ### Question: Can you tell me the Name that has the Roll larger than 419? ### Answer: SELECT name FROM table_name_95 WHERE roll > 419 |
Which total number of Week has an Opponent of at new orleans saints, and an Attendance larger than 53,448? | CREATE TABLE table_name_17 (week VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_17 WHERE opponent = "at new orleans saints" AND attendance > 53 OFFSET 448 | ### Context: CREATE TABLE table_name_17 (week VARCHAR, opponent VARCHAR, attendance VARCHAR) ### Question: Which total number of Week has an Opponent of at new orleans saints, and an Attendance larger than 53,448? ### Answer: SELECT COUNT(week) FROM table_name_17 WHERE opponent = "at new orleans saints" AND attendance > 53 OFFSET 448 |
Which Attendance has a Result of w 51-21? | CREATE TABLE table_name_70 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_70 WHERE result = "w 51-21" | ### Context: CREATE TABLE table_name_70 (attendance VARCHAR, result VARCHAR) ### Question: Which Attendance has a Result of w 51-21? ### Answer: SELECT attendance FROM table_name_70 WHERE result = "w 51-21" |
Who was the Away team at Arden Street Oval? | CREATE TABLE table_name_98 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_98 WHERE venue = "arden street oval" | ### Context: CREATE TABLE table_name_98 (away_team VARCHAR, venue VARCHAR) ### Question: Who was the Away team at Arden Street Oval? ### Answer: SELECT away_team FROM table_name_98 WHERE venue = "arden street oval" |
What is the average top-25 value for majors that have more than 0 wins? | CREATE TABLE table_name_27 (top_25 INTEGER, wins INTEGER) | SELECT AVG(top_25) FROM table_name_27 WHERE wins > 0 | ### Context: CREATE TABLE table_name_27 (top_25 INTEGER, wins INTEGER) ### Question: What is the average top-25 value for majors that have more than 0 wins? ### Answer: SELECT AVG(top_25) FROM table_name_27 WHERE wins > 0 |
What is the most number of cuts made that had more than 7 events played and more than 2 top-25s? | CREATE TABLE table_name_18 (cuts_made INTEGER, events VARCHAR, top_25 VARCHAR) | SELECT MAX(cuts_made) FROM table_name_18 WHERE events = 7 AND top_25 > 2 | ### Context: CREATE TABLE table_name_18 (cuts_made INTEGER, events VARCHAR, top_25 VARCHAR) ### Question: What is the most number of cuts made that had more than 7 events played and more than 2 top-25s? ### Answer: SELECT MAX(cuts_made) FROM table_name_18 WHERE events = 7 AND top_25 > 2 |
For top-25 values under 2, what is the average number of cuts made? | CREATE TABLE table_name_54 (cuts_made INTEGER, top_25 INTEGER) | SELECT AVG(cuts_made) FROM table_name_54 WHERE top_25 < 2 | ### Context: CREATE TABLE table_name_54 (cuts_made INTEGER, top_25 INTEGER) ### Question: For top-25 values under 2, what is the average number of cuts made? ### Answer: SELECT AVG(cuts_made) FROM table_name_54 WHERE top_25 < 2 |
With a dail of 24th and more than 57 seats, what is the election? | CREATE TABLE table_name_26 (election VARCHAR, seats VARCHAR, dáil VARCHAR) | SELECT election FROM table_name_26 WHERE seats > 57 AND dáil = "24th" | ### Context: CREATE TABLE table_name_26 (election VARCHAR, seats VARCHAR, dáil VARCHAR) ### Question: With a dail of 24th and more than 57 seats, what is the election? ### Answer: SELECT election FROM table_name_26 WHERE seats > 57 AND dáil = "24th" |
with shares of 45.3% and total seats less than 166. what is the greatest number of seat? | CREATE TABLE table_name_61 (seats INTEGER, share_of_votes VARCHAR, total_seats VARCHAR) | SELECT MAX(seats) FROM table_name_61 WHERE share_of_votes = "45.3%" AND total_seats < 166 | ### Context: CREATE TABLE table_name_61 (seats INTEGER, share_of_votes VARCHAR, total_seats VARCHAR) ### Question: with shares of 45.3% and total seats less than 166. what is the greatest number of seat? ### Answer: SELECT MAX(seats) FROM table_name_61 WHERE share_of_votes = "45.3%" AND total_seats < 166 |
with a share of 44.2% and 77 seats, what is the greatest seat total? | CREATE TABLE table_name_82 (total_seats INTEGER, seats VARCHAR, share_of_votes VARCHAR) | SELECT MAX(total_seats) FROM table_name_82 WHERE seats = 77 AND share_of_votes = "44.2%" | ### Context: CREATE TABLE table_name_82 (total_seats INTEGER, seats VARCHAR, share_of_votes VARCHAR) ### Question: with a share of 44.2% and 77 seats, what is the greatest seat total? ### Answer: SELECT MAX(total_seats) FROM table_name_82 WHERE seats = 77 AND share_of_votes = "44.2%" |
What is the long in 1994? | CREATE TABLE table_name_60 (long VARCHAR, year VARCHAR) | SELECT long FROM table_name_60 WHERE year = "1994" | ### Context: CREATE TABLE table_name_60 (long VARCHAR, year VARCHAR) ### Question: What is the long in 1994? ### Answer: SELECT long FROM table_name_60 WHERE year = "1994" |
Which team has a long of 67? | CREATE TABLE table_name_6 (team VARCHAR, long VARCHAR) | SELECT team FROM table_name_6 WHERE long = "67" | ### Context: CREATE TABLE table_name_6 (team VARCHAR, long VARCHAR) ### Question: Which team has a long of 67? ### Answer: SELECT team FROM table_name_6 WHERE long = "67" |
What is the RAvg of the year with Ratt of 9? | CREATE TABLE table_name_27 (ravg VARCHAR, ratt VARCHAR) | SELECT ravg FROM table_name_27 WHERE ratt = "9" | ### Context: CREATE TABLE table_name_27 (ravg VARCHAR, ratt VARCHAR) ### Question: What is the RAvg of the year with Ratt of 9? ### Answer: SELECT ravg FROM table_name_27 WHERE ratt = "9" |
What is the Ratt of the year with a 78 long? | CREATE TABLE table_name_97 (ratt VARCHAR, long VARCHAR) | SELECT ratt FROM table_name_97 WHERE long = "78" | ### Context: CREATE TABLE table_name_97 (ratt VARCHAR, long VARCHAR) ### Question: What is the Ratt of the year with a 78 long? ### Answer: SELECT ratt FROM table_name_97 WHERE long = "78" |
Which team has a Ravg of 1.3? | CREATE TABLE table_name_64 (team VARCHAR, ravg VARCHAR) | SELECT team FROM table_name_64 WHERE ravg = "1.3" | ### Context: CREATE TABLE table_name_64 (team VARCHAR, ravg VARCHAR) ### Question: Which team has a Ravg of 1.3? ### Answer: SELECT team FROM table_name_64 WHERE ravg = "1.3" |
What is the rate of 17 years? | CREATE TABLE table_name_55 (rate VARCHAR, year VARCHAR) | SELECT rate FROM table_name_55 WHERE year = "17 years" | ### Context: CREATE TABLE table_name_55 (rate VARCHAR, year VARCHAR) ### Question: What is the rate of 17 years? ### Answer: SELECT rate FROM table_name_55 WHERE year = "17 years" |
Name the samurai for stampede of t. mask | CREATE TABLE table_name_97 (samurai VARCHAR, stampede VARCHAR) | SELECT samurai FROM table_name_97 WHERE stampede = "t. mask" | ### Context: CREATE TABLE table_name_97 (samurai VARCHAR, stampede VARCHAR) ### Question: Name the samurai for stampede of t. mask ### Answer: SELECT samurai FROM table_name_97 WHERE stampede = "t. mask" |
Which series is based in Toronto on may 18? | CREATE TABLE table_name_3 (series VARCHAR, home VARCHAR, date VARCHAR) | SELECT series FROM table_name_3 WHERE home = "toronto" AND date = "may 18" | ### Context: CREATE TABLE table_name_3 (series VARCHAR, home VARCHAR, date VARCHAR) ### Question: Which series is based in Toronto on may 18? ### Answer: SELECT series FROM table_name_3 WHERE home = "toronto" AND date = "may 18" |
What is the combined crowd in Vancouver on may 22? | CREATE TABLE table_name_43 (attendance INTEGER, home VARCHAR, date VARCHAR) | SELECT SUM(attendance) FROM table_name_43 WHERE home = "vancouver" AND date = "may 22" | ### Context: CREATE TABLE table_name_43 (attendance INTEGER, home VARCHAR, date VARCHAR) ### Question: What is the combined crowd in Vancouver on may 22? ### Answer: SELECT SUM(attendance) FROM table_name_43 WHERE home = "vancouver" AND date = "may 22" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.