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_98 (home_team VARCHAR, venue VARCHAR) ### Question: Who was the home team for the game played at Junction Oval? ### Answer: SELECT home_team FROM table_name_98 WHERE venue = "junction 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 table_name_61 (crowd INTEGER, away_team VARCHAR) ### Question: What is the smallest crowd with the away team of North Melbourne? ### Answer: SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "north melbourne"
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_81 (year_left INTEGER, school VARCHAR) ### Question: What's the highest Year Left for the School of Danville? ### Answer: SELECT MAX(year_left) FROM table_name_81 WHERE school = "danville"
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_27756014_1 (score VARCHAR, date VARCHAR) ### Question: What is the score of the game played on october 16? ### Answer: SELECT score FROM table_27756014_1 WHERE date = "October 16"
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 (conf VARCHAR, date VARCHAR) ### Question: What Conference was during the NCAA Tournament? ### Answer: SELECT conf FROM table_name_24 WHERE date = "ncaa tournament"
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_31 (league VARCHAR, playoffs VARCHAR) ### Question: Which league had a playoffs result of a lost semifinal? ### Answer: SELECT league FROM table_name_31 WHERE playoffs = "lost semifinal"
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_2 (malaysia_cup VARCHAR, total VARCHAR, league VARCHAR) ### Question: How many Malaysia Cups have 0 for the total with a league greater than 0? ### Answer: SELECT COUNT(malaysia_cup) FROM table_name_2 WHERE total = 0 AND league > 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_97 (tournament VARCHAR) ### Question: What is the 2010 value of the monte carlo masters, which had A in 2012? ### Answer: SELECT 2010 FROM table_name_97 WHERE 2012 = "a" AND tournament = "monte carlo masters"
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 (last_performance VARCHAR, status VARCHAR) ### Question: What is the date of the Last Performance of Billy Elliot with a Cast Status of past replacement? ### Answer: SELECT last_performance FROM table_name_46 WHERE status = "past replacement"
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 (date VARCHAR, week VARCHAR) ### Question: On what date did week 6 occur? ### Answer: SELECT date FROM table_name_40 WHERE week = 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_13456202_1 (founded INTEGER, school VARCHAR) ### Question: WHat year was north college hill high school founded? ### Answer: SELECT MAX(founded) FROM table_13456202_1 WHERE school = "North College Hill High school"
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_5 (date VARCHAR, region VARCHAR, label VARCHAR) ### Question: Which date was associated with the release in Europe on the Wichita Recordings label? ### Answer: SELECT date FROM table_name_5 WHERE region = "europe" AND label = "wichita recordings"
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 (laps VARCHAR, qual VARCHAR, grid VARCHAR) ### Question: Tell me the total number of Laps for Qual being larger than 142.81 with Grid of 12 ### Answer: SELECT COUNT(laps) FROM table_name_68 WHERE qual > 142.81 AND grid = 12
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 (opponent VARCHAR, score VARCHAR) ### Question: Who was the opponent when the score was 6–4, 6–7 (2–7) , 7–5? ### Answer: SELECT opponent FROM table_name_53 WHERE score = "6–4, 6–7 (2–7) , 7–5"
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 (score VARCHAR, visitor VARCHAR, date VARCHAR) ### Question: What's the score on february 18 when the visitors are the montreal canadiens? ### Answer: SELECT score FROM table_name_46 WHERE visitor = "montreal canadiens" AND date = "february 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_81 (gold INTEGER, participants VARCHAR, silver VARCHAR) ### Question: What is the sum of Gold with Participants that are 4 and a Silver that is smaller than 0? ### Answer: SELECT SUM(gold) FROM table_name_81 WHERE participants = 4 AND silver < 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_26013618_1 (nsg_nr VARCHAR, date_established VARCHAR) ### Question: How many reserves were established on 19740329 29.03.1974? ### Answer: SELECT COUNT(nsg_nr) FROM table_26013618_1 WHERE date_established = "19740329 29.03.1974"
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_99 (result VARCHAR, horse VARCHAR, event VARCHAR) ### Question: What is the result of Waldemar 27´s freestyle test? ### Answer: SELECT COUNT(result) FROM table_name_99 WHERE horse = "waldemar 27" AND event = "freestyle test"
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_21995420_6 (school VARCHAR, basic_elements VARCHAR) ### Question: What is every school with basic elements of 52? ### Answer: SELECT school FROM table_21995420_6 WHERE basic_elements = 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_15824796_4 (season__number VARCHAR, original_air_date VARCHAR) ### Question: Which Season originally aired on September 17, 1955 ### Answer: SELECT season__number FROM table_15824796_4 WHERE original_air_date = "September 17, 1955"
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_6 (tournament VARCHAR) ### Question: What is the 2012 value with a 1r in 2011 in the Australian Open? ### Answer: SELECT 2012 FROM table_name_6 WHERE 2011 = "1r" AND tournament = "australian open"
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 (group_c VARCHAR, group_b VARCHAR) ### Question: What is the group C region with Illinois as group B? ### Answer: SELECT group_c FROM table_name_53 WHERE group_b = "illinois"
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 (website VARCHAR, founded VARCHAR, suburb_town VARCHAR) ### Question: Which website was founded before 1897, and is located in Adaminaby? ### Answer: SELECT website FROM table_name_82 WHERE founded < 1897 AND suburb_town = "adaminaby"
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_6 (date VARCHAR, opponent VARCHAR) ### Question: What is the date of the tournament with carlos moyà as the opponent? ### Answer: SELECT date FROM table_name_6 WHERE opponent = "carlos moyà"
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_1342013_9 (incumbent VARCHAR, district VARCHAR) ### Question: who is the the incumbent with dbeingtrict being florida 2 ### Answer: SELECT incumbent FROM table_1342013_9 WHERE district = "Florida 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_6 (total INTEGER, year_s__won VARCHAR) ### Question: Year(s) won of 1994 , 1997 has what average total? ### Answer: SELECT AVG(total) FROM table_name_6 WHERE year_s__won = "1994 , 1997"
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_65 (opponents_in_the_final VARCHAR, date VARCHAR, tournament VARCHAR) ### Question: Who are the Opponents in the final prior to 1998 in the Bucharest, Romania Tournament? ### Answer: SELECT opponents_in_the_final FROM table_name_65 WHERE date < 1998 AND tournament = "bucharest, romania"
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_92 (score VARCHAR, away_team VARCHAR) ### Question: What was the score of the game where stafford rangers was the away team? ### Answer: SELECT score FROM table_name_92 WHERE away_team = "stafford rangers"
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 (high_assists VARCHAR, game VARCHAR, record VARCHAR) ### Question: Which High assists have a Game larger than 21, and a Record of 18-6? ### Answer: SELECT high_assists FROM table_name_21 WHERE game > 21 AND record = "18-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 settlements (claim_id VARCHAR, settlement_amount INTEGER); CREATE TABLE claims (Effective_Date VARCHAR, claim_id VARCHAR) ### Question: What is the effective date of the claim that has the largest amount of total settlement? ### Answer: SELECT t1.Effective_Date FROM claims AS t1 JOIN settlements AS t2 ON t1.claim_id = t2.claim_id GROUP BY t1.claim_id ORDER BY SUM(t2.settlement_amount) 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_1616608_2 (released_date VARCHAR, western_title VARCHAR) ### Question: What was the released date of Polarium? ### Answer: SELECT released_date FROM table_1616608_2 WHERE western_title = "Polarium"
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_18703133_1 (losses INTEGER, points VARCHAR) ### Question: Name the least amount of losses for 23 points ### Answer: SELECT MIN(losses) FROM table_18703133_1 WHERE points = 23
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_17325580_5 (score VARCHAR, team VARCHAR) ### Question: what was the final score of the game versus Milwaukee? ### Answer: SELECT score FROM table_17325580_5 WHERE team = "Milwaukee"
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 (record VARCHAR, home VARCHAR, visitor VARCHAR, score VARCHAR) ### Question: Name the Record of Visitor of toronto st. pats with a Score of 5–4 and a Home of ottawa senators? Question 5 ### Answer: SELECT record FROM table_name_48 WHERE visitor = "toronto st. pats" AND score = "5–4" AND home = "ottawa senators"
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_15511178_3 (race VARCHAR, winning_team VARCHAR, pole_position VARCHAR) ### Question: Which race was the winning team mathiasen motorsports and the pole belonged to jonathan bomarito ### Answer: SELECT race FROM table_15511178_3 WHERE winning_team = "Mathiasen Motorsports" AND pole_position = "Jonathan Bomarito"
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_27734577_2 (high_assists VARCHAR, high_rebounds VARCHAR) ### Question: List the highest number of assists when zaza pachulia (6) had the most rebounds. ### Answer: SELECT COUNT(high_assists) FROM table_27734577_2 WHERE high_rebounds = "Zaza Pachulia (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_17355743_1 (written_by VARCHAR, season__number VARCHAR) ### Question: Who wrote season 10 ### Answer: SELECT written_by FROM table_17355743_1 WHERE season__number = 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_86 (grid VARCHAR, driver VARCHAR, laps VARCHAR) ### Question: What was the grid for anthony davidson when the laps were less than 8? ### Answer: SELECT COUNT(grid) FROM table_name_86 WHERE driver = "anthony davidson" AND laps < 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_67 (attendance INTEGER, home VARCHAR) ### Question: What is the lowest number of people attending the game where Colorado was the home team? ### Answer: SELECT MIN(attendance) FROM table_name_67 WHERE home = "colorado"
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_52 (ship VARCHAR, captain VARCHAR) ### Question: Tell me the ship for lieutenant montagu verling ### Answer: SELECT ship FROM table_name_52 WHERE captain = "lieutenant montagu verling"
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_76 (pick VARCHAR, player VARCHAR) ### Question: Which pick's player was Marc Lewis (lhp)? ### Answer: SELECT pick FROM table_name_76 WHERE player = "marc lewis (lhp)"
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_26077092_7 (player VARCHAR, college VARCHAR) ### Question: How many players are from Purdue? ### Answer: SELECT COUNT(player) FROM table_26077092_7 WHERE college = "Purdue"
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_41 (senior_pga_championship VARCHAR, senior_british_open VARCHAR) ### Question: When Tom Watson (5/6) won the Senior British Open who won the Senior PGA Championship? ### Answer: SELECT senior_pga_championship FROM table_name_41 WHERE senior_british_open = "tom watson (5/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_14 (result VARCHAR, week VARCHAR) ### Question: Name the result for week 7 ### Answer: SELECT result FROM table_name_14 WHERE week = 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_17 (counties_represented VARCHAR, party VARCHAR, committee VARCHAR) ### Question: What counties represented have a democratic committee, and a committee of ways and means? ### Answer: SELECT counties_represented FROM table_name_17 WHERE party = "democratic" AND committee = "ways and means"
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 (opponent VARCHAR, march VARCHAR, game VARCHAR) ### Question: who is the opponent after march 21 and the game is 75? ### Answer: SELECT opponent FROM table_name_93 WHERE march > 21 AND game = 75
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 camera_lens (id VARCHAR, brand VARCHAR); CREATE TABLE mountain (name VARCHAR, prominence VARCHAR, id VARCHAR); CREATE TABLE photos (mountain_id VARCHAR, camera_lens_id VARCHAR); CREATE TABLE mountain (name VARCHAR, prominence VARCHAR) ### Question: Show the name and prominence of the mountains whose picture is not taken by a lens of brand 'Sigma'. ### Answer: SELECT name, prominence FROM mountain EXCEPT SELECT T1.name, T1.prominence FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id = T3.id WHERE T3.brand = 'Sigma'
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 GRADECONVERSION (gradepoint INTEGER) ### Question: Find the max and min grade point for all letter grade. ### Answer: SELECT MAX(gradepoint), MIN(gradepoint) FROM GRADECONVERSION
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 (grid INTEGER, driver VARCHAR, laps VARCHAR) ### Question: In what grid did Richard Robarts make 36 laps? ### Answer: SELECT SUM(grid) FROM table_name_48 WHERE driver = "richard robarts" AND laps < 36
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_31 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) ### Question: How many laps for a grid of over 18 and retired due to electrical failure? ### Answer: SELECT SUM(laps) FROM table_name_31 WHERE grid > 18 AND time_retired = "electrical"
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 (driver VARCHAR, grid VARCHAR) ### Question: What driver shows grid as 18? ### Answer: SELECT driver FROM table_name_95 WHERE grid = 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_24 (european_cup VARCHAR, national_league VARCHAR) ### Question: What European Cup is in Israeli Premier League? ### Answer: SELECT european_cup FROM table_name_24 WHERE national_league = "israeli premier league"
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_15275060_1 (old_bulgarian_names VARCHAR, Yanuari VARCHAR, Transliteration VARCHAR) ### Question: Name the old bulgarian names for yanuari ### Answer: SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yanuari
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 (visitor VARCHAR, leading_scorer VARCHAR) ### Question: Which team was the visitor when Milt Palacio (15) was the leading scorer? ### Answer: SELECT visitor FROM table_name_82 WHERE leading_scorer = "milt palacio (15)"
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_34 (constructor VARCHAR, race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) ### Question: I want the constructor for winning driver of jim clark, pole position of graham hill and dutch grand prix ### Answer: SELECT constructor FROM table_name_34 WHERE winning_driver = "jim clark" AND pole_position = "graham hill" AND race = "dutch grand prix"
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_1341423_40 (party VARCHAR, district VARCHAR) ### Question: what is the party for the district south carolina 4? ### Answer: SELECT party FROM table_1341423_40 WHERE district = "South Carolina 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_20010140_10 (record VARCHAR, date VARCHAR) ### Question: how many records were made on february 22 ### Answer: SELECT COUNT(record) FROM table_20010140_10 WHERE date = "February 22"
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_2 (population__2007_ VARCHAR, population__2010_ INTEGER) ### Question: WHAT IS THE POPULATION OF 2007 WHEN 2010 POPULATION WAS SMALLER THAN 1282? ### Answer: SELECT COUNT(population__2007_) FROM table_name_2 WHERE population__2010_ < 1282
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 (time_retired VARCHAR, grid VARCHAR) ### Question: What is the time/retired for grid 23? ### Answer: SELECT time_retired FROM table_name_88 WHERE grid = 23
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_33 (total VARCHAR, slalom_points VARCHAR) ### Question: What are the total points for the skier with 3.18 slalom points? ### Answer: SELECT total FROM table_name_33 WHERE slalom_points = "3.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_48 (partner VARCHAR, score_in_the_final VARCHAR) ### Question: Who was the partner when the final score was 7–6, 3–6, 6–7? ### Answer: SELECT partner FROM table_name_48 WHERE score_in_the_final = "7–6, 3–6, 6–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_1 (event VARCHAR, name VARCHAR) ### Question: What event did Cristina Iovu participate in? ### Answer: SELECT event FROM table_name_1 WHERE name = "cristina iovu"
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 (wounded VARCHAR, killed VARCHAR, unit VARCHAR) ### Question: How many were Wounded in the Artillery Corps unit while having 0 off 0 men Killed? ### Answer: SELECT wounded FROM table_name_24 WHERE killed = "0 off 0 men" AND unit = "artillery corps"
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_19001175_1 (points VARCHAR, name VARCHAR) ### Question: Name the points for thierry tassin category:articles with hcards ### Answer: SELECT points FROM table_19001175_1 WHERE name = "Thierry Tassin Category:Articles with hCards"
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 (points INTEGER, engine VARCHAR, year VARCHAR, entrant VARCHAR) ### Question: What's the total points that Scuderia Ferrari with a Ferrari V12 engine have before 1971? ### Answer: SELECT SUM(points) FROM table_name_60 WHERE year < 1971 AND entrant = "scuderia ferrari" AND engine = "ferrari v12"
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 (type VARCHAR, course VARCHAR) ### Question: What's the type on Sestri Levante to Riomaggiore? ### Answer: SELECT type FROM table_name_39 WHERE course = "sestri levante to riomaggiore"
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 (events INTEGER, rank VARCHAR, wins VARCHAR) ### Question: What is the average events where the rank is smaller than 2 and wins are smaller than 5? ### Answer: SELECT AVG(events) FROM table_name_11 WHERE rank < 2 AND wins < 5
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_84 (surface VARCHAR, partner VARCHAR) ### Question: Marty Riessen played as a partner during a match with what kind of surface? ### Answer: SELECT surface FROM table_name_84 WHERE partner = "marty riessen"
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 (nhl_team VARCHAR, college_junior_club_team VARCHAR) ### Question: The Estevan Bruins (WCHL) are affiliated with what NHL team? ### Answer: SELECT nhl_team FROM table_name_51 WHERE college_junior_club_team = "estevan bruins (wchl)"
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_20590020_2 (best_finish VARCHAR, money_list_rank VARCHAR) ### Question: What is the total number of players who had a money list rank of 96? ### Answer: SELECT COUNT(best_finish) FROM table_20590020_2 WHERE money_list_rank = 96
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 (avg_g INTEGER, effic VARCHAR, name VARCHAR) ### Question: What is the lowest avg/g that has an effic greater than 34.36, with wesley carroll as the name? ### Answer: SELECT MIN(avg_g) FROM table_name_86 WHERE effic > 34.36 AND name = "wesley carroll"
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_4 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR) ### Question: What transfer fee did Birmingham City get on 30 June 2010? ### Answer: SELECT transfer_fee FROM table_name_4 WHERE ends = "30 june 2010" AND moving_from = "birmingham 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 table_name_54 (date VARCHAR, record VARCHAR) ### Question: What was the date of the game when the record was 66-38? ### Answer: SELECT date FROM table_name_54 WHERE record = "66-38"
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 technician (Starting_Year VARCHAR, Age VARCHAR) ### Question: What is the starting year of the oldest technicians? ### Answer: SELECT Starting_Year FROM technician ORDER BY Age 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_31 (tournament VARCHAR) ### Question: What tournament has a 2008 value of A, q1 in 2005, and 1r in 2004? ### Answer: SELECT tournament FROM table_name_31 WHERE 2008 = "a" AND 2005 = "q1" AND 2004 = "1r"
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_1217448_1 (publisher VARCHAR, first_appearance VARCHAR) ### Question: what is the total number of publisher where first appearance is daredevil #1 ### Answer: SELECT COUNT(publisher) FROM table_1217448_1 WHERE first_appearance = "Daredevil #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_52 (election INTEGER, party VARCHAR, mayor VARCHAR) ### Question: Which Election has a Party of democratic party, and a Mayor of leonardo betti? ### Answer: SELECT MAX(election) FROM table_name_52 WHERE party = "democratic party" AND mayor = "leonardo betti"
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 (became_consort VARCHAR, ceased_to_be_consort VARCHAR) ### Question: Name the became consort for ceased to be consort of 4 april 1588 husband's death ### Answer: SELECT became_consort FROM table_name_14 WHERE ceased_to_be_consort = "4 april 1588 husband's death"
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_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR) ### Question: Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo? ### Answer: SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)"
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 (grid INTEGER, laps VARCHAR, time_retired VARCHAR) ### Question: What is the total amount of grid when the laps amount was smaller than 68 and the time/retired was injection? ### Answer: SELECT SUM(grid) FROM table_name_87 WHERE laps < 68 AND time_retired = "injection"
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 (points INTEGER, position VARCHAR, played VARCHAR) ### Question: what is the average points when position is more than 5 and played is less than 10? ### Answer: SELECT AVG(points) FROM table_name_55 WHERE position > 5 AND played < 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_1134091_4 (date_successor_seated VARCHAR, district VARCHAR) ### Question: When was the successor seated when the district was California 10th? ### Answer: SELECT date_successor_seated FROM table_1134091_4 WHERE district = "California 10th"
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 (home_team VARCHAR, venue VARCHAR) ### Question: Who was home at Princes Park? ### Answer: SELECT home_team AS score FROM table_name_55 WHERE venue = "princes 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_98 (film VARCHAR, award VARCHAR) ### Question: Name the film for award of £3,740 ### Answer: SELECT film FROM table_name_98 WHERE award = "£3,740"
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 (ergative VARCHAR, nominative VARCHAR) ### Question: Mis-i is the nominative of what ergative? ### Answer: SELECT ergative FROM table_name_48 WHERE nominative = "mis-i"
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_62 (nominating_festival VARCHAR, country VARCHAR) ### Question: Which nominating festival did Bosnia and Herzegovina enter? ### Answer: SELECT nominating_festival FROM table_name_62 WHERE country = "bosnia and herzegovina"
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_15405904_1 (won INTEGER, team VARCHAR) ### Question: When the team is ypiranga-sp what is the number of won games? ### Answer: SELECT MIN(won) FROM table_15405904_1 WHERE team = "Ypiranga-SP"
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_10953197_6 (no_in_season INTEGER) ### Question: give the least number of times an episode was shown from 1997-1998 ### Answer: SELECT MIN(no_in_season) FROM table_10953197_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_66 (system VARCHAR, name VARCHAR) ### Question: Which system is named ELKJS? ### Answer: SELECT system FROM table_name_66 WHERE name = "elkjs"
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 (analogue_terrestrial_channel VARCHAR, internet VARCHAR) ### Question: What is the analogue terrestrial channel when the internet shows channel4.com? ### Answer: SELECT analogue_terrestrial_channel FROM table_name_95 WHERE internet = "channel4.com"
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_1682026_3 (profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) ### Question: What are the profits (in billions) where the assets are 192.8 billion? ### Answer: SELECT profits__billion_$_ FROM table_1682026_3 WHERE assets__billion_$_ = "192.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_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR) ### Question: Who were the winners if the Mountain Classification award was given to Oscar Solis and Team Classification was given to EPM-Une? ### Answer: SELECT winner FROM table_28853064_15 WHERE mountains_classification = "Oscar Solis" AND team_classification = "EPM-UNE"
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_54 (goals VARCHAR, score VARCHAR) ### Question: Tell me the goals for score of 38-28 ### Answer: SELECT goals FROM table_name_54 WHERE score = "38-28"
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 (nickname VARCHAR, location VARCHAR) ### Question: What is the nickname of the school located in Fairfax, VA? ### Answer: SELECT nickname FROM table_name_98 WHERE location = "fairfax, va"
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_16494599_5 (no INTEGER, years_for_grizzlies VARCHAR) ### Question: what's the highest player number from the list from 2000-2001 ### Answer: SELECT MAX(no) FROM table_16494599_5 WHERE years_for_grizzlies = "2000-2001"
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 (album_title VARCHAR, title VARCHAR) ### Question: Which Album title has a Title of 滑板? ### Answer: SELECT album_title FROM table_name_53 WHERE title = "滑板"
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_21321804_1 (position VARCHAR, cfl_team VARCHAR, college VARCHAR) ### Question: Which position is cfl team edmonton eskimos for weber state college? ### Answer: SELECT position FROM table_21321804_1 WHERE cfl_team = "Edmonton Eskimos" AND college = "Weber 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_50 (date VARCHAR, circuit VARCHAR) ### Question: Name the date for circuit of interlagos ### Answer: SELECT date FROM table_name_50 WHERE circuit = "interlagos"
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 (driver VARCHAR, grid VARCHAR) ### Question: Which driver has grid value of 18? ### Answer: SELECT driver FROM table_name_45 WHERE grid = "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_86 (label VARCHAR, date VARCHAR, catalog VARCHAR) ### Question: Which label released the catalog Magik Muzik CD 07 on 28 March 2007? ### Answer: SELECT label FROM table_name_86 WHERE date = "28 march 2007" AND catalog = "magik muzik cd 07"