text
stringlengths
293
1.24k
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (accidentally_achieved INTEGER, orbital_regime VARCHAR, successes VARCHAR) ### Question: What is the total of medium earth orbital regime, accidentally achieved and successes greater than 3? ### Answer: SELECT SUM(accidentally_achieved) FROM table_name_19 WHERE orbital_regime = "medium earth" AND successes > 3
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (town_city VARCHAR, name VARCHAR) ### Question: In what Town/City is Nana Museum of The Arctic located? ### Answer: SELECT town_city FROM table_name_45 WHERE name = "nana museum of the arctic"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (author VARCHAR, play VARCHAR) ### Question: Who is the author of the Play Electra? ### Answer: SELECT author FROM table_name_24 WHERE play = "electra"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR) ### Question: What was the highest Top-10, when the Top-5 was greater than 3, when the Cuts made were 20, and when the Top-25 was more than 10? ### Answer: SELECT MAX(top_10) FROM table_name_77 WHERE top_5 > 3 AND cuts_made = 20 AND top_25 > 10
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (japanese_title VARCHAR, romaji_title VARCHAR) ### Question: What title to the japanese give the romani title ashita wa ashita no kaze ga fuku? ### Answer: SELECT japanese_title FROM table_name_88 WHERE romaji_title = "ashita wa ashita no kaze ga fuku"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (race VARCHAR, circuit VARCHAR) ### Question: How many races were in the Mallala Motor Sport Park circuit? ### Answer: SELECT COUNT(race) FROM table_name_48 WHERE circuit = "mallala motor sport park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (site VARCHAR, result VARCHAR) ### Question: At what Site was the Result W13-7? ### Answer: SELECT site FROM table_name_59 WHERE result = "w13-7"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (opponent VARCHAR, result VARCHAR) ### Question: What was the Opponent in the game with a Result of L 24–14? ### Answer: SELECT opponent FROM table_name_38 WHERE result = "l 24–14"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342315_17 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts does riley joseph wilson? ### Answer: SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "Riley Joseph Wilson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_9 (location_attendance VARCHAR, game VARCHAR) ### Question: What Location Attendance has a Game of 4? ### Answer: SELECT location_attendance FROM table_name_9 WHERE game = "4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14752049_1 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR) ### Question: How many tourist arrivals occurred in 2011 in the country of Italy? ### Answer: SELECT international_tourist_arrivals__2011_ FROM table_14752049_1 WHERE country = "Italy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (home VARCHAR, date VARCHAR) ### Question: Name the home for 16 april 2008 ### Answer: SELECT home FROM table_name_11 WHERE date = "16 april 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21676617_1 (winning_time__km_rate_ VARCHAR, odds_of_winner VARCHAR) ### Question: What was the winning time in the year when the odds of the winner were 2.94? ### Answer: SELECT winning_time__km_rate_ FROM table_21676617_1 WHERE odds_of_winner = "2.94"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (singular_word VARCHAR, singular_abbreviation VARCHAR) ### Question: A singular abbreviation of p. is used for what singular word? ### Answer: SELECT singular_word FROM table_name_18 WHERE singular_abbreviation = "p."
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR) ### Question: What did the away team score at Moorabbin oval? ### Answer: SELECT away_team AS score FROM table_name_38 WHERE venue = "moorabbin oval"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Staff (date_left_staff VARCHAR, first_name VARCHAR, last_name VARCHAR) ### Question: When did the staff member with first name as Janessa and last name as Sawayn leave the company? ### Answer: SELECT date_left_staff FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23399481_4 (title VARCHAR, written_by VARCHAR) ### Question: What is the title of the episode/s written by Michael Gans & Richard Register? ### Answer: SELECT title FROM table_23399481_4 WHERE written_by = "Michael Gans & Richard Register"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16376436_1 (player VARCHAR, pick__number VARCHAR) ### Question: Which player was pick number 150? ### Answer: SELECT player FROM table_16376436_1 WHERE pick__number = 150
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (date VARCHAR, attendance VARCHAR) ### Question: What was the date of the game with 16,404 people? ### Answer: SELECT date FROM table_name_18 WHERE attendance = "16,404"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR) ### Question: What is the nationality of the guard who played for Florida International? ### Answer: SELECT nationality FROM table_name_53 WHERE position = "guard" AND school_club_team = "florida international"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (heat VARCHAR, name VARCHAR, lane VARCHAR) ### Question: What is the total heat number of sun yang, who has a lane less than 2? ### Answer: SELECT COUNT(heat) FROM table_name_37 WHERE name = "sun yang" AND lane < 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_40 (year INTEGER, points VARCHAR, entrant VARCHAR) ### Question: What is the earliest year with less than 3 points and Parmalat Forti Ford was the entrant? ### Answer: SELECT MIN(year) FROM table_name_40 WHERE points < 3 AND entrant = "parmalat forti ford"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (in_malayalam VARCHAR, saka_era VARCHAR) ### Question: WHAT IS THE IN MALAYALAM WITH kartika–agrahayana? ### Answer: SELECT in_malayalam FROM table_name_61 WHERE saka_era = "kartika–agrahayana"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (money_list_rank INTEGER, top_25 INTEGER) ### Question: What is the greatest money list ranking that has a Top 25 higher than 2? ### Answer: SELECT MAX(money_list_rank) FROM table_name_44 WHERE top_25 < 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (name VARCHAR, points VARCHAR) ### Question: What is the name of the player with 305 points? ### Answer: SELECT name FROM table_name_46 WHERE points = 305
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, brighton_cast VARCHAR) ### Question: Name the indianapolis concerts for paul baker ### Answer: SELECT indianapolis_concerts FROM table_17085724_1 WHERE brighton_cast = "Paul Baker"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (wins INTEGER, byes INTEGER) ### Question: For the teams that had more than 2 Byes, what was the highest number of Wins? ### Answer: SELECT MAX(wins) FROM table_name_14 WHERE byes > 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR) ### Question: How many touchdowns did the left guard took? ### Answer: SELECT MAX(touchdowns) FROM table_25711913_2 WHERE position = "Left guard"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2879165_1 (television_station VARCHAR, radio_station VARCHAR) ### Question: How many television station listing have a radio station as lao national radio? ### Answer: SELECT COUNT(television_station) FROM table_2879165_1 WHERE radio_station = "Lao National Radio"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (drawn VARCHAR, difference VARCHAR, points VARCHAR) ### Question: How many Drawn have a Difference of 3, and Points smaller than 52? ### Answer: SELECT COUNT(drawn) FROM table_name_55 WHERE difference = "3" AND points < 52
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) ### Question: How many grids have a time of +1:21.239 and more than 25 laps? ### Answer: SELECT COUNT(grid) FROM table_name_39 WHERE time_retired = "+1:21.239" AND laps > 25
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (lost INTEGER, goals_scored VARCHAR, played VARCHAR) ### Question: What is the average value for Lost, when the value for Goals Scored is greater than 20, and when the value for Played is less than 18? ### Answer: SELECT AVG(lost) FROM table_name_95 WHERE goals_scored > 20 AND played < 18
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (matches VARCHAR, name VARCHAR, rank VARCHAR) ### Question: What was the total number of matches for Nat Lofthouse, ranking higher than 7? ### Answer: SELECT COUNT(matches) FROM table_name_55 WHERE name = "nat lofthouse" AND rank > 7
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (finish VARCHAR, total VARCHAR, player VARCHAR) ### Question: In what place did Phil Mickelson finish with a total of 282? ### Answer: SELECT finish FROM table_name_96 WHERE total = 282 AND player = "phil mickelson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (fa_cup VARCHAR, other_ VARCHAR, c_ VARCHAR) ### Question: The other [C] of 0 12 0 (0) belongs to what FA Cup? ### Answer: SELECT fa_cup FROM table_name_36 WHERE other_[c_] = "0 12 0 (0)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (third_place VARCHAR, tournament VARCHAR) ### Question: who is third place when the tournament is delray beach? ### Answer: SELECT third_place FROM table_name_77 WHERE tournament = "delray beach"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_43 (rider VARCHAR, time_retired VARCHAR) ### Question: Who is the rider whose time/retired is accident? ### Answer: SELECT rider FROM table_name_43 WHERE time_retired = "accident"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22665117_1 (district_name VARCHAR, dist_id VARCHAR) ### Question: If the district ID is 74907, what is the name of the district? ### Answer: SELECT district_name FROM table_22665117_1 WHERE dist_id = 74907
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (home_team VARCHAR, state VARCHAR) ### Question: Who is the home team for the stadium located in Berlin? ### Answer: SELECT home_team FROM table_name_73 WHERE state = "berlin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (rank INTEGER, director VARCHAR) ### Question: What is the average rank for the film directed by michael bay? ### Answer: SELECT AVG(rank) FROM table_name_90 WHERE director = "michael bay"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2781227_4 (position VARCHAR, player VARCHAR) ### Question: For player is john jakopin mention the total number of position ### Answer: SELECT COUNT(position) FROM table_2781227_4 WHERE player = "John Jakopin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_56 (province VARCHAR, south_asians_2001 VARCHAR, south_asians_2011 VARCHAR) ### Question: Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011? ### Answer: SELECT province FROM table_name_56 WHERE south_asians_2001 < 190 AND south_asians_2011 = 115
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (attendance_g INTEGER, pos VARCHAR, season VARCHAR) ### Question: What is the average attendance for seasons before 1999 with pos of 8? ### Answer: SELECT AVG(attendance_g) FROM table_name_93 WHERE pos = 8 AND season < 1999
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_9 (cultural_and_educational_panel VARCHAR, labour_panel VARCHAR, industrial_and_commercial_panel VARCHAR) ### Question: Which Cultural and Educational Panel has a Labour Panel larger than 5, and an Industrial and Commercial Panel larger than 9? ### Answer: SELECT COUNT(cultural_and_educational_panel) FROM table_name_9 WHERE labour_panel > 5 AND industrial_and_commercial_panel > 9
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (against INTEGER, date VARCHAR) ### Question: What is the total against on 15/10/1999? ### Answer: SELECT SUM(against) FROM table_name_39 WHERE date = "15/10/1999"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11656578_2 (voivodeship VARCHAR, population__1980_ VARCHAR) ### Question: How many different voivodenship have 747 900 citizes? ### Answer: SELECT COUNT(voivodeship) FROM table_11656578_2 WHERE population__1980_ = "747 900"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27914606_1 (title VARCHAR, written_by VARCHAR) ### Question: what is the name of the episode whose writers were jeff astrof & matt goldman? ### Answer: SELECT title FROM table_27914606_1 WHERE written_by = "Jeff Astrof & Matt Goldman"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (route VARCHAR, winner VARCHAR) ### Question: Name the route with winner of sébastien rosseler ### Answer: SELECT route FROM table_name_27 WHERE winner = "sébastien rosseler"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27902171_4 (high_assists VARCHAR, record VARCHAR) ### Question: Who had the high assist total when the team was 0-1? ### Answer: SELECT high_assists FROM table_27902171_4 WHERE record = "0-1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1153898_1 (emulated_class VARCHAR, comparisons VARCHAR) ### Question: Is usb re-enumeration required part of the emulated class? ### Answer: SELECT emulated_class FROM table_1153898_1 WHERE comparisons = "USB RE-Enumeration Required"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (score VARCHAR, event VARCHAR) ### Question: Which Score has an Event of constructionjobs.com classic? ### Answer: SELECT score FROM table_name_74 WHERE event = "constructionjobs.com classic"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_32 (location_attendance VARCHAR, team VARCHAR) ### Question: What is the location attendance when the team is Golden State? ### Answer: SELECT location_attendance FROM table_name_32 WHERE team = "golden state"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (pick INTEGER, round VARCHAR, player VARCHAR) ### Question: What is the pick with Dean Sears and round larger than 6? ### Answer: SELECT MIN(pick) FROM table_name_61 WHERE round > 6 AND player = "dean sears"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (race_winners VARCHAR, date VARCHAR) ### Question: What is the race winners for the date of 23 june? ### Answer: SELECT race_winners FROM table_name_77 WHERE date = "23 june"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_51 (played INTEGER, points VARCHAR, goals_conceded VARCHAR) ### Question: When goals conceded is greater than 17 with 37 points, what is the greatest played? ### Answer: SELECT MAX(played) FROM table_name_51 WHERE points = 37 AND goals_conceded > 17
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (constructor VARCHAR, grid VARCHAR, laps VARCHAR) ### Question: I want the constructor for grid less than 20 and Laps of 6 ### Answer: SELECT constructor FROM table_name_68 WHERE grid < 20 AND laps = 6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (silver INTEGER, bronze INTEGER) ### Question: What is the sum of all silver medals with more than 2 bronze? ### Answer: SELECT SUM(silver) FROM table_name_82 WHERE bronze > 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_Name VARCHAR, Product_ID VARCHAR) ### Question: List the names of products that are not in any event. ### Answer: SELECT Product_Name FROM Products WHERE NOT Product_ID IN (SELECT Product_ID FROM Products_in_Events)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (xiii_season VARCHAR, viii_season VARCHAR) ### Question: What is XIII Season, when VIII Season is 4 780 743 (2 november 2008)? ### Answer: SELECT xiii_season FROM table_name_82 WHERE viii_season = "4 780 743 (2 november 2008)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (psip_short_name VARCHAR, network VARCHAR) ### Question: What is ion life network's PSIP Short Name? ### Answer: SELECT psip_short_name FROM table_name_58 WHERE network = "ion life"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR) ### Question: What is the score when the Tie no is replay, and the away team is York City? ### Answer: SELECT score FROM table_name_43 WHERE tie_no = "replay" AND away_team = "york city"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE College (enr INTEGER) ### Question: How many colleges has more than 15000 students? ### Answer: SELECT COUNT(*) FROM College WHERE enr > 15000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR) ### Question: What is the Time/Retired for brabham - climax, on Grid of 10? ### Answer: SELECT time_retired FROM table_name_89 WHERE constructor = "brabham - climax" AND grid = 10
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE circuits (circuitid VARCHAR, LOCATION VARCHAR, country VARCHAR) ### Question: Find the id and location of circuits that belong to France or Belgium? ### Answer: SELECT circuitid, LOCATION FROM circuits WHERE country = "France" OR country = "Belgium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (record VARCHAR, loss VARCHAR) ### Question: Loss of postponed (rain) rescheduled for may 10 had what record? ### Answer: SELECT record FROM table_name_60 WHERE loss = "postponed (rain) rescheduled for may 10"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17972193_1 (attendance VARCHAR, game_site VARCHAR) ### Question: How many total number of attendance were there when the game was held in Anaheim Stadium? ### Answer: SELECT COUNT(attendance) FROM table_17972193_1 WHERE game_site = "Anaheim Stadium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (venue VARCHAR, competition VARCHAR, year VARCHAR) ### Question: After 1979, where was the European Indoor Championships held? ### Answer: SELECT venue FROM table_name_27 WHERE competition = "european indoor championships" AND year > 1979
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12338595_1 (swimsuit VARCHAR, state VARCHAR) ### Question: What swimsuit score did the state of Virginia contestant achieve? ### Answer: SELECT COUNT(swimsuit) FROM table_12338595_1 WHERE state = "Virginia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_86 (manufacturer VARCHAR, laps VARCHAR, rider VARCHAR) ### Question: Who was the manufacturer for the car that dani pedrosa did less than 9 laps in? ### Answer: SELECT manufacturer FROM table_name_86 WHERE laps < 9 AND rider = "dani pedrosa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1979203_1 (branding VARCHAR, _virtual_ VARCHAR) ### Question: what is the name of the branding where the virtual is 13.1 ### Answer: SELECT branding FROM table_1979203_1 WHERE _virtual_ = "13.1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (attendance INTEGER, week VARCHAR) ### Question: Which Attendance has a Week of 8? ### Answer: SELECT AVG(attendance) FROM table_name_25 WHERE week = 8
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (surface VARCHAR, tournament VARCHAR) ### Question: What was the playing surface for the Tournament of Great Britain F16? ### Answer: SELECT surface FROM table_name_44 WHERE tournament = "great britain f16"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22368322_2 (_€_million VARCHAR, tier_1_capital VARCHAR, institution VARCHAR) ### Question: Name the total number of tier 1 capital for allied irish banks ### Answer: SELECT COUNT(tier_1_capital), _€_million FROM table_22368322_2 WHERE institution = "Allied Irish Banks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28884858_1 (team VARCHAR, stadium VARCHAR) ### Question: What is the name of the team when the stadium is listed as Edward Jones Dome? ### Answer: SELECT team FROM table_28884858_1 WHERE stadium = "Edward Jones Dome"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_43 (opponent VARCHAR, attendance VARCHAR, result VARCHAR) ### Question: Which opponent has unknown attendance, and lost 2-0? ### Answer: SELECT opponent FROM table_name_43 WHERE attendance = "unknown" AND result = "lost 2-0"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (place__posición_ VARCHAR, won__pg_ VARCHAR, draw__pe_ VARCHAR, team__equipo_ VARCHAR) ### Question: How many Places (Posición) has a Draw (PE) larger than 2 and a Team (Equipo) of paraíso and a Won (PG) larger than 6? ### Answer: SELECT COUNT(place__posición_) FROM table_name_53 WHERE draw__pe_ > 2 AND team__equipo_ = "paraíso" AND won__pg_ > 6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (album VARCHAR, label VARCHAR, title VARCHAR) ### Question: What album has the title I Need A Life with the label of warp records / paper bag records? ### Answer: SELECT album FROM table_name_18 WHERE label = "warp records / paper bag records" AND title = "i need a life"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR) ### Question: Which Away team score has a Venue of kardinia park? ### Answer: SELECT away_team AS score FROM table_name_42 WHERE venue = "kardinia park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (to_par VARCHAR, player VARCHAR) ### Question: What is fuzzy zoeller's to par? ### Answer: SELECT to_par FROM table_name_12 WHERE player = "fuzzy zoeller"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Transcripts (Id VARCHAR) ### Question: How many transcripts are released? ### Answer: SELECT COUNT(*) FROM Transcripts
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (date VARCHAR, against VARCHAR, surface VARCHAR) ### Question: What's the date that Morocco has an Against along with a surface of hard? ### Answer: SELECT date FROM table_name_46 WHERE against = "morocco" AND surface = "hard"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (song VARCHAR, language VARCHAR) ### Question: What song was in french? ### Answer: SELECT song FROM table_name_98 WHERE language = "french"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25391981_20 (episode_number VARCHAR, episode VARCHAR) ### Question: What number episode was Week 4, Part 1? ### Answer: SELECT episode_number FROM table_25391981_20 WHERE episode = "Week 4, Part 1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Apartments (apt_type_code VARCHAR, bathroom_count INTEGER) ### Question: Show the most common apartment type code among apartments with more than 1 bathroom. ### Answer: SELECT apt_type_code FROM Apartments WHERE bathroom_count > 1 GROUP BY apt_type_code ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR) ### Question: What was the average speed over 18.00km for winning driver Jean-Claude Andruet? ### Answer: SELECT avg_speed FROM table_name_23 WHERE distance = "18.00km" AND winning_driver = "jean-claude andruet"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (method VARCHAR, opponent VARCHAR) ### Question: What is the method of the match with chris ade as the opponent? ### Answer: SELECT method FROM table_name_70 WHERE opponent = "chris ade"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_148578_1 (altitude__km_ VARCHAR, date VARCHAR) ### Question: What was the altitude of the event on 1962-07-09? ### Answer: SELECT altitude__km_ FROM table_148578_1 WHERE date = "1962-07-09"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_22 (venue VARCHAR, player VARCHAR) ### Question: Where did Jack Badcock play? ### Answer: SELECT venue FROM table_name_22 WHERE player = "jack badcock"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (car__number INTEGER, pos VARCHAR, team VARCHAR, driver VARCHAR) ### Question: Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4? ### Answer: SELECT AVG(car__number) FROM table_name_95 WHERE team = "hendrick motorsports" AND driver = "mark martin" AND pos > 4
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29565541_2 (pa VARCHAR, w VARCHAR) ### Question: When 6 is the w what is the pa? ### Answer: SELECT pa FROM table_29565541_2 WHERE w = 6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_23 (competition VARCHAR, position VARCHAR, year VARCHAR) ### Question: Tell me the competition for 2nd position with year more than 2005 ### Answer: SELECT competition FROM table_name_23 WHERE position = "2nd" AND year > 2005
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12608427_8 (loan_club VARCHAR, name VARCHAR) ### Question: What was the loan club when Derry played? ### Answer: SELECT loan_club FROM table_12608427_8 WHERE name = "Derry"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) ### Question: When the phillies 1:15 pm played on April 9, what was the attendance? ### Answer: SELECT attendance FROM table_name_21 WHERE opponent = "phillies 1:15 pm" AND date = "april 9"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR) ### Question: Tell me the opponent for attendance of 53,899 ### Answer: SELECT opponent FROM table_name_49 WHERE attendance = "53,899"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (home__2nd_leg_ VARCHAR, aggregate VARCHAR) ### Question: What is the home of aggregate's 3-4? ### Answer: SELECT home__2nd_leg_ FROM table_name_87 WHERE aggregate = "3-4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (round INTEGER, player VARCHAR) ### Question: What is the highest round played by Chris Phillips? ### Answer: SELECT MAX(round) FROM table_name_67 WHERE player = "chris phillips"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11960944_4 (team VARCHAR, high_points VARCHAR) ### Question: Which team was played when the high points was from Wallace (20)? ### Answer: SELECT team FROM table_11960944_4 WHERE high_points = "Wallace (20)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2112766_1 (episode VARCHAR, viewers__in_millions_ VARCHAR) ### Question: how many episode have 8.4 millions viewer. ### Answer: SELECT COUNT(episode) FROM table_2112766_1 WHERE viewers__in_millions_ = "8.4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29803475_3 (title VARCHAR, directed_by VARCHAR) ### Question: what is the name of the episode directed by james bobin ### Answer: SELECT title FROM table_29803475_3 WHERE directed_by = "James Bobin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15353123_1 (college VARCHAR, player VARCHAR) ### Question: Which college did Dean Kirkland go to ### Answer: SELECT college FROM table_15353123_1 WHERE player = "Dean Kirkland"