instruction
stringlengths 67
299
| input
stringlengths 88
550
| output
stringlengths 32
484
|
|---|---|---|
Write a SQL query that answers the following question: What is the length of disc 67?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (length VARCHAR, disc VARCHAR)
|
SELECT length FROM table_name_13 WHERE disc = "67"
|
Write a SQL query that answers the following question: What points larger than 1950 has a maserati straight-6 engine?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (points VARCHAR, year VARCHAR, engine VARCHAR)
|
SELECT points FROM table_name_68 WHERE year > 1950 AND engine = "maserati straight-6"
|
Write a SQL query that answers the following question: What is the chassis for a 1952 officine alfieri maserati with an entrant?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (chassis VARCHAR, entrant VARCHAR, year VARCHAR)
|
SELECT chassis FROM table_name_92 WHERE entrant = "officine alfieri maserati" AND year = 1952
|
Write a SQL query that answers the following question: What type of engine does a 1951 alfa romeo 159m chasis have?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (engine VARCHAR, year VARCHAR, chassis VARCHAR)
|
SELECT engine FROM table_name_44 WHERE year = 1951 AND chassis = "alfa romeo 159m"
|
Write a SQL query that answers the following question: What Entrant has a 1952 maserati straight-6 engine?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (entrant VARCHAR, engine VARCHAR, year VARCHAR)
|
SELECT entrant FROM table_name_29 WHERE engine = "maserati straight-6" AND year = 1952
|
Write a SQL query that answers the following question: What Entrant older than 1950 has points smaller than 7?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (entrant VARCHAR, year VARCHAR, points VARCHAR)
|
SELECT entrant FROM table_name_82 WHERE year > 1950 AND points < 7
|
Write a SQL query that answers the following question: What is the total points that an 1951 Entrant alfa romeo spa have?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (points INTEGER, entrant VARCHAR, year VARCHAR)
|
SELECT SUM(points) FROM table_name_70 WHERE entrant = "alfa romeo spa" AND year < 1951
|
Write a SQL query that answers the following question: Who is the co-driver in 1999 with more than 32 laps?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (co_driver VARCHAR, laps VARCHAR, year VARCHAR)
|
SELECT co_driver FROM table_name_51 WHERE laps > 32 AND year = 1999
|
Write a SQL query that answers the following question: Name the winning constructor for when the fastest lap was mark webber at the malaysian grand prix
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (winning_constructor VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)
|
SELECT winning_constructor FROM table_name_77 WHERE fastest_lap = "mark webber" AND grand_prix = "malaysian grand prix"
|
Write a SQL query that answers the following question: Name the winning constructor for abu dhabi grand prix
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (winning_constructor VARCHAR, grand_prix VARCHAR)
|
SELECT winning_constructor FROM table_name_22 WHERE grand_prix = "abu dhabi grand prix"
|
Write a SQL query that answers the following question: Name the pole position for belgian grand prix
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (pole_position VARCHAR, grand_prix VARCHAR)
|
SELECT pole_position FROM table_name_75 WHERE grand_prix = "belgian grand prix"
|
Write a SQL query that answers the following question: Name the pole positon for korean grand prix
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (pole_position VARCHAR, grand_prix VARCHAR)
|
SELECT pole_position FROM table_name_28 WHERE grand_prix = "korean grand prix"
|
Write a SQL query that answers the following question: Name the pole position at the german grand prix
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (pole_position VARCHAR, grand_prix VARCHAR)
|
SELECT pole_position FROM table_name_3 WHERE grand_prix = "german grand prix"
|
Write a SQL query that answers the following question: What is the code for Latvian Lats?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (code VARCHAR, currency VARCHAR)
|
SELECT code FROM table_name_21 WHERE currency = "latvian lats"
|
Write a SQL query that answers the following question: Which currency has a central rate of 3.45280?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (currency VARCHAR, central_rate VARCHAR)
|
SELECT currency FROM table_name_45 WHERE central_rate = "3.45280"
|
Write a SQL query that answers the following question: Which currency has a central rate of 0.702804?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (currency VARCHAR, central_rate VARCHAR)
|
SELECT currency FROM table_name_12 WHERE central_rate = "0.702804"
|
Write a SQL query that answers the following question: What is the entry ERM II for the Hungarian Forint?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (entry_erm_ii VARCHAR, currency VARCHAR)
|
SELECT entry_erm_ii FROM table_name_56 WHERE currency = "hungarian forint"
|
Write a SQL query that answers the following question: What is the official target date for the Swedish Krona?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (official_target_date VARCHAR, currency VARCHAR)
|
SELECT official_target_date FROM table_name_34 WHERE currency = "swedish krona"
|
Write a SQL query that answers the following question: The EPT German open was won by which listed winner?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (winner VARCHAR, event VARCHAR)
|
SELECT winner FROM table_name_8 WHERE event = "ept german open"
|
Write a SQL query that answers the following question: What event did Will Fry win?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (event VARCHAR, winner VARCHAR)
|
SELECT event FROM table_name_72 WHERE winner = "will fry"
|
Write a SQL query that answers the following question: The EPT German Open took place in what city?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (city VARCHAR, event VARCHAR)
|
SELECT city FROM table_name_25 WHERE event = "ept german open"
|
Write a SQL query that answers the following question: When did an event take place in the City of Copenhagen?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (date VARCHAR, city VARCHAR)
|
SELECT date FROM table_name_58 WHERE city = "copenhagen"
|
Write a SQL query that answers the following question: The prize of Β£1,000,000 was given by an event in what city?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (city VARCHAR, prize VARCHAR)
|
SELECT city FROM table_name_56 WHERE prize = "Β£1,000,000"
|
Write a SQL query that answers the following question: JoΓ£o Barbosa was the winner of which event?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (event VARCHAR, winner VARCHAR)
|
SELECT event FROM table_name_93 WHERE winner = "joΓ£o barbosa"
|
Write a SQL query that answers the following question: What was the Attendance during the Home game where St. Johnstone was the Opponent?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR, venue VARCHAR)
|
SELECT COUNT(attendance) FROM table_name_80 WHERE opponent = "st. johnstone" AND venue = "home"
|
Write a SQL query that answers the following question: Which class has a Year of 1968?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (class VARCHAR, year VARCHAR)
|
SELECT class FROM table_name_36 WHERE year = 1968
|
Write a SQL query that answers the following question: Which class has a Team of kouros racing team?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (class VARCHAR, team VARCHAR)
|
SELECT class FROM table_name_34 WHERE team = "kouros racing team"
|
Write a SQL query that answers the following question: Who is the Winner, when the Loser is the Baltimore Colts, when the Location is Schaefer Stadium, and when the Result is 42-3?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (winner VARCHAR, result VARCHAR, loser VARCHAR, location VARCHAR)
|
SELECT winner FROM table_name_33 WHERE loser = "baltimore colts" AND location = "schaefer stadium" AND result = "42-3"
|
Write a SQL query that answers the following question: What is the Location, when the Winner is the Baltimore Colts, when the Year is before 1972, and when the Result is 14-6?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (location VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR)
|
SELECT location FROM table_name_90 WHERE winner = "baltimore colts" AND year < 1972 AND result = "14-6"
|
Write a SQL query that answers the following question: What is the Date, when the Year is after 1978, and when the Location is Memorial Stadium (Baltimore)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date VARCHAR, year VARCHAR, location VARCHAR)
|
SELECT date FROM table_name_46 WHERE year > 1978 AND location = "memorial stadium (baltimore)"
|
Write a SQL query that answers the following question: Which engine has a Chassis of lotus 44 f2?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (engine VARCHAR, chassis VARCHAR)
|
SELECT engine FROM table_name_24 WHERE chassis = "lotus 44 f2"
|
Write a SQL query that answers the following question: What entrant appeared in 1969?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (entrant VARCHAR, year VARCHAR)
|
SELECT entrant FROM table_name_24 WHERE year = 1969
|
Write a SQL query that answers the following question: Which engine has a Year larger than 1969?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (engine VARCHAR, year INTEGER)
|
SELECT engine FROM table_name_7 WHERE year > 1969
|
Write a SQL query that answers the following question: What is the largest year with an Entrant of ron harris / team lotus?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (year INTEGER, entrant VARCHAR)
|
SELECT MAX(year) FROM table_name_79 WHERE entrant = "ron harris / team lotus"
|
Write a SQL query that answers the following question: During stage 21, who held the Intergiro classification?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (intergiro_classification VARCHAR, stage VARCHAR)
|
SELECT intergiro_classification FROM table_name_22 WHERE stage = "21"
|
Write a SQL query that answers the following question: During which stage was gatorade the Trofeo Fast Team?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (stage VARCHAR, trofeo_fast_team VARCHAR)
|
SELECT stage FROM table_name_35 WHERE trofeo_fast_team = "gatorade"
|
Write a SQL query that answers the following question: Who held the Intergiro classificaiton when the Trofeo Fast Team is gb-mg maglificio?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR)
|
SELECT intergiro_classification FROM table_name_29 WHERE trofeo_fast_team = "gb-mg maglificio"
|
Write a SQL query that answers the following question: During which stage was the Intergiro classification held by Miguel Indurain, the Points classification held by Mario Cipollini, and the Young rider classification held by Leonardo Sierra?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR, points_classification VARCHAR)
|
SELECT stage FROM table_name_76 WHERE intergiro_classification = "miguel indurain" AND points_classification = "mario cipollini" AND young_rider_classification = "leonardo sierra"
|
Write a SQL query that answers the following question: Who was the winner when the General classification was held by Miguel Indurain, the Points classification held by Mario Cipollini, the Mountains classification held by Claudio Chiappucci, and the Young RIder classification held by Pavel Tonkov?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (winner VARCHAR, young_rider_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR, points_classification VARCHAR)
|
SELECT winner FROM table_name_10 WHERE general_classification = "miguel indurain" AND points_classification = "mario cipollini" AND mountains_classification = "claudio chiappucci" AND young_rider_classification = "pavel tonkov"
|
Write a SQL query that answers the following question: What is the goals against for the goalkeeper with 2520 minutes?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (goals_against VARCHAR, minutes VARCHAR)
|
SELECT goals_against FROM table_name_75 WHERE minutes = 2520
|
Write a SQL query that answers the following question: What is the average Games Played for Bo Oshoniyi, who had more than 1170 minutes and 10 loses?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (games_played INTEGER, minutes VARCHAR, loses VARCHAR, player VARCHAR)
|
SELECT AVG(games_played) FROM table_name_5 WHERE loses = 10 AND player = "bo oshoniyi" AND minutes > 1170
|
Write a SQL query that answers the following question: What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average larger than 1.46, had?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (goals_against INTEGER, club VARCHAR, ga_average VARCHAR)
|
SELECT MAX(goals_against) FROM table_name_96 WHERE club = "dallas burn" AND ga_average > 1.46
|
Write a SQL query that answers the following question: What is the lowest number of losses a goalkeeper with more than 2776 minutes had?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (loses INTEGER, minutes INTEGER)
|
SELECT MIN(loses) FROM table_name_54 WHERE minutes > 2776
|
Write a SQL query that answers the following question: What is the lowest minutes a goalkeeper with 13 games played has?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (minutes INTEGER, games_played VARCHAR)
|
SELECT MIN(minutes) FROM table_name_25 WHERE games_played = 13
|
Write a SQL query that answers the following question: Which round resulted in 10-52?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (round VARCHAR, score VARCHAR)
|
SELECT round FROM table_name_67 WHERE score = "10-52"
|
Write a SQL query that answers the following question: What venue did Melbourne Storm played in Rd 7, 2006?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (venue VARCHAR, opponent VARCHAR, round VARCHAR)
|
SELECT venue FROM table_name_68 WHERE opponent = "melbourne storm" AND round = "rd 7, 2006"
|
Write a SQL query that answers the following question: In which venue was the result a draw?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (venue VARCHAR, result VARCHAR)
|
SELECT venue FROM table_name_67 WHERE result = "draw"
|
Write a SQL query that answers the following question: Which School Colors were Founded of 1969, with an Institution of barton community college?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (school_colors VARCHAR, founded VARCHAR, institution VARCHAR)
|
SELECT school_colors FROM table_name_48 WHERE founded = 1969 AND institution = "barton community college"
|
Write a SQL query that answers the following question: Which Institution has a Mascot of broncbusters?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (institution VARCHAR, mascot VARCHAR)
|
SELECT institution FROM table_name_43 WHERE mascot = "broncbusters"
|
Write a SQL query that answers the following question: What is the largest Founded with an Institution of cloud county community college?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (founded INTEGER, institution VARCHAR)
|
SELECT MAX(founded) FROM table_name_67 WHERE institution = "cloud county community college"
|
Write a SQL query that answers the following question: What is the total Founded with a Main Campus Location of liberal?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (founded VARCHAR, main_campus_location VARCHAR)
|
SELECT COUNT(founded) FROM table_name_29 WHERE main_campus_location = "liberal"
|
Write a SQL query that answers the following question: What is the 2-person dive that has 2 as the surface?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (surface VARCHAR)
|
SELECT "2" AS _person_dive FROM table_name_86 WHERE surface = "2"
|
Write a SQL query that answers the following question: What surface has 2 as a cage dive?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (surface VARCHAR, cage_dive VARCHAR)
|
SELECT surface FROM table_name_5 WHERE cage_dive = "2"
|
Write a SQL query that answers the following question: Which 3-person dive has 0 as a remote camera?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (remote_camera VARCHAR)
|
SELECT 3 AS _person_dive FROM table_name_29 WHERE remote_camera = "0"
|
Write a SQL query that answers the following question: Which years have a Decile smaller than 2, and an Area of mohaka?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (years VARCHAR, decile VARCHAR, area VARCHAR)
|
SELECT years FROM table_name_97 WHERE decile < 2 AND area = "mohaka"
|
Write a SQL query that answers the following question: Which gender has an Authority of state, Years of 1β8, and a Decile smaller than 10, and a Roll of 36?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (gender VARCHAR, roll VARCHAR, decile VARCHAR, authority VARCHAR, years VARCHAR)
|
SELECT gender FROM table_name_76 WHERE authority = "state" AND years = "1β8" AND decile < 10 AND roll = 36
|
Write a SQL query that answers the following question: Which roll has an Area of mahia?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (roll VARCHAR, area VARCHAR)
|
SELECT roll FROM table_name_2 WHERE area = "mahia"
|
Write a SQL query that answers the following question: Which Decile has an Authority of state, a Roll smaller than 61, and an Area of kotemaori?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (decile VARCHAR, area VARCHAR, authority VARCHAR, roll VARCHAR)
|
SELECT decile FROM table_name_34 WHERE authority = "state" AND roll < 61 AND area = "kotemaori"
|
Write a SQL query that answers the following question: What's the highest League Cup with an FA Cup thats larger than 2?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (league INTEGER, fa_cup INTEGER)
|
SELECT MAX(league) AS Cup FROM table_name_95 WHERE fa_cup > 2
|
Write a SQL query that answers the following question: What's the total number of FA Cup with a Play-offs of 3, and the Name of Mitch Cook Category:Articles with hCards and has a Total thats less than 11?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (fa_cup VARCHAR, total VARCHAR, play_offs VARCHAR, name VARCHAR)
|
SELECT COUNT(fa_cup) FROM table_name_64 WHERE play_offs = 3 AND name = "mitch cook category:articles with hcards" AND total < 11
|
Write a SQL query that answers the following question: What's the total of number of FA Cup that has a League small than 29 with Play-offs less than 0?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (fa_cup VARCHAR, league VARCHAR, play_offs VARCHAR)
|
SELECT COUNT(fa_cup) FROM table_name_50 WHERE league < 29 AND play_offs < 0
|
Write a SQL query that answers the following question: What's the lowest Play-offs with a League of 4 and FA Cup larger than 1?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (play_offs INTEGER, league VARCHAR, fa_cup VARCHAR)
|
SELECT MIN(play_offs) FROM table_name_48 WHERE league = 4 AND fa_cup > 1
|
Write a SQL query that answers the following question: What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (league VARCHAR, play_offs VARCHAR, name VARCHAR)
|
SELECT COUNT(league) AS Cup FROM table_name_8 WHERE play_offs > 2 AND name = "mitch cook category:articles with hcards"
|
Write a SQL query that answers the following question: What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (channel_4_weekly_rank_a INTEGER, viewers__millions_ VARCHAR, airdate VARCHAR)
|
SELECT AVG(channel_4_weekly_rank_a) FROM table_name_20 WHERE viewers__millions_ < 2.19 AND airdate = "december 7, 2007"
|
Write a SQL query that answers the following question: What is the number of viewers in millions for the episode on October 10, 2008, and a Channel 4 weekly rank a smaller than 30?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (viewers__millions_ VARCHAR, airdate VARCHAR, channel_4_weekly_rank_a VARCHAR)
|
SELECT COUNT(viewers__millions_) FROM table_name_94 WHERE airdate = "october 10, 2008" AND channel_4_weekly_rank_a < 30
|
Write a SQL query that answers the following question: What is the duration of the flight with end time of 21:06?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (duration VARCHAR, end_time VARCHAR)
|
SELECT duration FROM table_name_61 WHERE end_time = "21:06"
|
Write a SQL query that answers the following question: What is the spacecraft with end time of 4 September 04:51?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (spacecraft VARCHAR, end_time VARCHAR)
|
SELECT spacecraft FROM table_name_70 WHERE end_time = "4 september 04:51"
|
Write a SQL query that answers the following question: What is the crew with the end time of 21:11?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (crew VARCHAR, end_time VARCHAR)
|
SELECT crew FROM table_name_73 WHERE end_time = "21:11"
|
Write a SQL query that answers the following question: What is the duration of the Expedition 20 ISS Zvezda?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (duration VARCHAR, spacecraft VARCHAR)
|
SELECT duration FROM table_name_40 WHERE spacecraft = "expedition 20 iss zvezda"
|
Write a SQL query that answers the following question: Who was the crew for the duration of 12 minutes?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (crew VARCHAR, duration VARCHAR)
|
SELECT crew FROM table_name_4 WHERE duration = "12 minutes"
|
Write a SQL query that answers the following question: Name the sum of year for connaught engineering and points less than 0
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (year INTEGER, entrant VARCHAR, points VARCHAR)
|
SELECT SUM(year) FROM table_name_49 WHERE entrant = "connaught engineering" AND points < 0
|
Write a SQL query that answers the following question: What is the average win percentage of a season with a GB of 5?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (win__percentage INTEGER, gb_ VARCHAR, d_ VARCHAR)
|
SELECT AVG(win__percentage) FROM table_name_76 WHERE gb_[d_] = "5"
|
Write a SQL query that answers the following question: What was the starting position of Joie Chitwood when he finished more than 200 laps?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (start VARCHAR, laps INTEGER)
|
SELECT start FROM table_name_49 WHERE laps > 200
|
Write a SQL query that answers the following question: What is Chitwood's lowest completed number of laps with a qualifying time of 124.619?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (laps INTEGER, qual VARCHAR)
|
SELECT MIN(laps) FROM table_name_72 WHERE qual = "124.619"
|
Write a SQL query that answers the following question: Which venue was used on 12 September 1998?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (venue VARCHAR, date VARCHAR)
|
SELECT venue FROM table_name_10 WHERE date = "12 september 1998"
|
Write a SQL query that answers the following question: What is the score [A] of the match at Vanuatu (n) on 5 September 1998?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (score_ VARCHAR, a_ VARCHAR, venue VARCHAR, date VARCHAR)
|
SELECT score_[a_] FROM table_name_39 WHERE venue = "vanuatu (n)" AND date = "5 september 1998"
|
Write a SQL query that answers the following question: What is the score [A] of the match on 19 September 1998?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (score_ VARCHAR, a_ VARCHAR, date VARCHAR)
|
SELECT score_[a_] FROM table_name_49 WHERE date = "19 september 1998"
|
Write a SQL query that answers the following question: What was the score of the game when the record was 32β19β7?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)
|
SELECT score FROM table_name_40 WHERE record = "32β19β7"
|
Write a SQL query that answers the following question: What was the date of the game when the record was 9β5β2?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR)
|
SELECT date FROM table_name_78 WHERE record = "9β5β2"
|
Write a SQL query that answers the following question: Who was the home team when the record was 36β21β8?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (home VARCHAR, record VARCHAR)
|
SELECT home FROM table_name_23 WHERE record = "36β21β8"
|
Write a SQL query that answers the following question: What was the date of the game when the Calgary Flames were the visiting team and there was a record of 1β2β0?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (date VARCHAR, visitor VARCHAR, record VARCHAR)
|
SELECT date FROM table_name_17 WHERE visitor = "calgary flames" AND record = "1β2β0"
|
Write a SQL query that answers the following question: Who was the home team when the record was 27β14β6?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (home VARCHAR, record VARCHAR)
|
SELECT home FROM table_name_15 WHERE record = "27β14β6"
|
Write a SQL query that answers the following question: What was the lifespan of Representative Harry P. O'neill from the state of Pennsylvania?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (lifespan VARCHAR, state VARCHAR, representative VARCHAR)
|
SELECT lifespan FROM table_name_28 WHERE state = "pennsylvania" AND representative = "harry p. o'neill"
|
Write a SQL query that answers the following question: What years did Representative Frank A. Oliver serve?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (years VARCHAR, representative VARCHAR)
|
SELECT years FROM table_name_70 WHERE representative = "frank a. oliver"
|
Write a SQL query that answers the following question: Name the record for october 11
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)
|
SELECT record FROM table_name_34 WHERE date = "october 11"
|
Write a SQL query that answers the following question: Name the score with record of 68-66
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (score VARCHAR, record VARCHAR)
|
SELECT score FROM table_name_69 WHERE record = "68-66"
|
Write a SQL query that answers the following question: Name the record for august 28
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (record VARCHAR, date VARCHAR)
|
SELECT record FROM table_name_24 WHERE date = "august 28"
|
Write a SQL query that answers the following question: What was the score for Leo Diegel?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (score VARCHAR, player VARCHAR)
|
SELECT score FROM table_name_63 WHERE player = "leo diegel"
|
Write a SQL query that answers the following question: What is the name of the player with a To par of β4?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR)
|
SELECT player FROM table_name_41 WHERE to_par = "β4"
|
Write a SQL query that answers the following question: What was the surface for the game that was played with partner Tiya Rolle?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (surface VARCHAR, partner VARCHAR)
|
SELECT surface FROM table_name_35 WHERE partner = "tiya rolle"
|
Write a SQL query that answers the following question: What is the final score for the game played on January 10, 2011 with partner Mashona Washington?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (score VARCHAR, partner VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_22 WHERE partner = "mashona washington" AND date = "january 10, 2011"
|
Write a SQL query that answers the following question: What was the outcome for the game that was played on 07-Jun-2010?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (outcome VARCHAR, date VARCHAR)
|
SELECT outcome FROM table_name_8 WHERE date = "07-jun-2010"
|
Write a SQL query that answers the following question: What is the score for the game that was played on 29-Jun-2009?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_93 WHERE date = "29-jun-2009"
|
Write a SQL query that answers the following question: What was the surface for the game that was played on 12-Apr-2005?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (surface VARCHAR, date VARCHAR)
|
SELECT surface FROM table_name_50 WHERE date = "12-apr-2005"
|
Write a SQL query that answers the following question: What points has james allen as the skipper?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (points VARCHAR, skipper VARCHAR)
|
SELECT points FROM table_name_66 WHERE skipper = "james allen"
|
Write a SQL query that answers the following question: What is the name of the yacht where 12 is the overall place?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR)
|
SELECT yacht_name FROM table_name_28 WHERE overall_place = "12"
|
Write a SQL query that answers the following question: Which skipper has a combine elapsed time of 174d 01h 11m 59s?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR)
|
SELECT skipper FROM table_name_17 WHERE combined_elapsed_time = "174d 01h 11m 59s"
|
Write a SQL query that answers the following question: Which skipper has barclays adventurer as the name of the yacht?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (skipper VARCHAR, yacht_name VARCHAR)
|
SELECT skipper FROM table_name_92 WHERE yacht_name = "barclays adventurer"
|
Write a SQL query that answers the following question: What is the overall place that has 170d 11h 31m 10s as the combined elapsed time?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (overall_place VARCHAR, combined_elapsed_time VARCHAR)
|
SELECT overall_place FROM table_name_47 WHERE combined_elapsed_time = "170d 11h 31m 10s"
|
Write a SQL query that answers the following question: What was the senior status for the judge who was terminated because of death, with a Chief Judge entry of β?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (senior_status VARCHAR, reason_for_termination VARCHAR, chief_judge VARCHAR)
|
SELECT senior_status FROM table_name_22 WHERE reason_for_termination = "death" AND chief_judge = "β"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.