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_66 (baby_gender VARCHAR, congresswoman VARCHAR)
### Question:
What is the gender of Congresswoman Jaime Herrera Beutler's baby?
### Answer:
SELECT baby_gender FROM table_name_66 WHERE congresswoman = "jaime herrera beutler" |
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 (iata VARCHAR, icao VARCHAR)
### Question:
What is the IATA code for the city with ICAO code of RCMQ?
### Answer:
SELECT iata FROM table_name_98 WHERE icao = "rcmq" |
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_2365150_1 (open_cup VARCHAR, year VARCHAR)
### Question:
Name the total number of open cup for 1996
### Answer:
SELECT COUNT(open_cup) FROM table_2365150_1 WHERE year = 1996 |
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_35 (time VARCHAR, away VARCHAR)
### Question:
What time was the away game played against the High Park Demons?
### Answer:
SELECT time FROM table_name_35 WHERE away = "high park demons" |
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 (bluetooth VARCHAR, model VARCHAR)
### Question:
Does the S90i model have bluetooth?
### Answer:
SELECT bluetooth FROM table_name_31 WHERE model = "s90i" |
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 (host_country___countries VARCHAR, bronze VARCHAR, host_city___cities VARCHAR)
### Question:
Who was the host country when bronze is [[|]] (1) and host city is Krynica?
### Answer:
SELECT host_country___countries FROM table_name_45 WHERE bronze = "[[|]] (1)" AND host_city___cities = "krynica" |
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 (name VARCHAR, floors VARCHAR, years_as_tallest VARCHAR)
### Question:
What is the Name of the Building with 36 or more Floors with Years as tallest of 1986β1992?
### Answer:
SELECT name FROM table_name_27 WHERE floors > 36 AND years_as_tallest = "1986β1992" |
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 (format VARCHAR, region VARCHAR)
### Question:
What is Format, when Region is United States?
### Answer:
SELECT format FROM table_name_11 WHERE region = "united states" |
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 (name VARCHAR, best VARCHAR)
### Question:
Who had a best time of 1:00.870?
### Answer:
SELECT name FROM table_name_24 WHERE best = "1:00.870" |
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_63 (away_team VARCHAR, home_team VARCHAR)
### Question:
What is the away team when solon was the home team?
### Answer:
SELECT away_team FROM table_name_63 WHERE home_team = "solon" |
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 (laps INTEGER, driver VARCHAR)
### Question:
Driver Ricardo Sperafico has what as his average laps?
### Answer:
SELECT AVG(laps) FROM table_name_96 WHERE driver = "ricardo sperafico" |
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 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)
### Question:
What F Player was previously with the New York Knicks?
### Answer:
SELECT player FROM table_name_73 WHERE pos = "f" AND previous_team = "new york knicks" |
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 (class VARCHAR, prom__m_ VARCHAR, peak VARCHAR)
### Question:
Which Class is Peak Sail when it has a Prom larger than 30?
### Answer:
SELECT class FROM table_name_34 WHERE prom__m_ > 30 AND peak = "sail" |
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 (isbn VARCHAR, first_edition VARCHAR)
### Question:
What is the ISBN of the book with a first edition in May 2011?
### Answer:
SELECT isbn FROM table_name_42 WHERE first_edition = "may 2011" |
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_16423070_4 (tennis VARCHAR, softball VARCHAR, volleyball VARCHAR)
### Question:
who won tennis when ashland won softball and wooster won volleybal
### Answer:
SELECT tennis FROM table_16423070_4 WHERE softball = "Ashland" AND volleyball = "Wooster" |
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 (result VARCHAR, score VARCHAR, date VARCHAR)
### Question:
Score of 0β0, and a Date of 02-jan-64 had what result?
### Answer:
SELECT result FROM table_name_11 WHERE score = "0β0" AND date = "02-jan-64" |
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_1342270_17 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Who were the candidates when Noble Jones Gregory was incumbent?
### Answer:
SELECT candidates FROM table_1342270_17 WHERE incumbent = "Noble Jones Gregory" |
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_18847736_2 (opponents INTEGER, opponent VARCHAR)
### Question:
How many opponents are at Minnesota Vikings?
### Answer:
SELECT MAX(opponents) FROM table_18847736_2 WHERE opponent = "at Minnesota Vikings" |
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_18425346_2 (district VARCHAR, serial_no VARCHAR)
### Question:
In what district is the city listed in Serial number 9?
### Answer:
SELECT COUNT(district) FROM table_18425346_2 WHERE serial_no = 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_13399573_3 (try_bonus VARCHAR)
### Question:
What is listed under try bonus when listed under Tries for is tries for?
### Answer:
SELECT try_bonus FROM table_13399573_3 WHERE "tries_for" = "tries_for" |
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 (venue VARCHAR, result VARCHAR)
### Question:
Which Venue has a Result of 2β0?
### Answer:
SELECT venue FROM table_name_2 WHERE result = "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_99 (constructor VARCHAR, location VARCHAR, year VARCHAR)
### Question:
What company constructed the vehicle in the location not held in 1933?
### Answer:
SELECT constructor FROM table_name_99 WHERE location = "not held" AND year = "1933" |
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_24725951_1 (directed_and_produced_by VARCHAR, celebrities VARCHAR)
### Question:
List directors and producers when the celebrities involved were Bill Turnbull and Louise Minchin.
### Answer:
SELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = "Bill Turnbull and Louise Minchin" |
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_13 (tries VARCHAR, points VARCHAR)
### Question:
How many tries did the player have which ended with 20 Points?
### Answer:
SELECT tries FROM table_name_13 WHERE points = 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_name_79 (serie_a INTEGER, coppa_italia VARCHAR)
### Question:
What's the Serie A when the coppa italia was 5?
### Answer:
SELECT AVG(serie_a) FROM table_name_79 WHERE coppa_italia = 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_14 (company VARCHAR, director VARCHAR, year VARCHAR)
### Question:
What company does Simon Stone direct earlier than 2011?
### Answer:
SELECT company FROM table_name_14 WHERE director = "simon stone" AND year < 2011 |
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_35 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
What is the total number of Silver, when Gold is "1", and when Bronze is less than 0?
### Answer:
SELECT COUNT(silver) FROM table_name_35 WHERE gold = 1 AND bronze < 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_80 (pick__number VARCHAR, reg_gp INTEGER)
### Question:
What is the total of pick numbers with a Reg GP larger than 0?
### Answer:
SELECT COUNT(pick__number) FROM table_name_80 WHERE reg_gp > 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_1081235_1 (composition VARCHAR, name_of_lava_dome VARCHAR)
### Question:
What is the composition at Valles lava dome?
### Answer:
SELECT composition FROM table_1081235_1 WHERE name_of_lava_dome = "Valles lava 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_29135051_3 (broadcast_date VARCHAR, singer_s_ VARCHAR)
### Question:
how many broadcaste dates features the overtones
### Answer:
SELECT COUNT(broadcast_date) FROM table_29135051_3 WHERE singer_s_ = "The Overtones" |
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 (fifth_district VARCHAR, second_district VARCHAR)
### Question:
Who's the Fifth District with a Second District of paul leidig?
### Answer:
SELECT fifth_district FROM table_name_23 WHERE second_district = "paul leidig" |
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_10477224_1 (sepal_width VARCHAR, sepal_length VARCHAR, petal_width VARCHAR)
### Question:
Name the sepal width when sepal length is 6.5 and petal width is 2.2
### Answer:
SELECT sepal_width FROM table_10477224_1 WHERE sepal_length = "6.5" AND petal_width = "2.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_56 (bronze INTEGER, silver VARCHAR, total VARCHAR)
### Question:
WHat is the lowest amount of bronze medals for teams with 9 silvers and less than 27 points?
### Answer:
SELECT MIN(bronze) FROM table_name_56 WHERE silver = 9 AND total < 27 |
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 film_market_estimation (Film_ID VARCHAR); CREATE TABLE film (Film_ID VARCHAR)
### Question:
What is the title of the film that has the highest high market estimation.
### Answer:
SELECT t1.title FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID ORDER BY high_estimate 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_69 (rebounds INTEGER, steals VARCHAR, turnovers VARCHAR)
### Question:
What is the maximum rebounds when there are 0.9 steals and fewer than 1.4 turnovers?
### Answer:
SELECT MAX(rebounds) FROM table_name_69 WHERE steals = 0.9 AND turnovers < 1.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_55 (nationality VARCHAR, previous_team VARCHAR)
### Question:
What is the nationality of the player who was previously with the Detroit Pistons?
### Answer:
SELECT nationality FROM table_name_55 WHERE previous_team = "detroit pistons" |
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_57 (engine INTEGER, model VARCHAR, year_from VARCHAR)
### Question:
Which Engine has a Model of sl500, and a Year From larger than 1999?
### Answer:
SELECT MAX(engine) FROM table_name_57 WHERE model = "sl500" AND year_from > 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 entrepreneur (Id VARCHAR)
### Question:
How many entrepreneurs are there?
### Answer:
SELECT COUNT(*) FROM entrepreneur |
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 (score VARCHAR, date VARCHAR)
### Question:
What was the Score on November 10, 2007?
### Answer:
SELECT score FROM table_name_76 WHERE date = "november 10, 2007" |
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 (qual_1 VARCHAR, best VARCHAR)
### Question:
What is the qual 1 with a 1:09.567 best?
### Answer:
SELECT qual_1 FROM table_name_70 WHERE best = "1:09.567" |
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_26914076_4 (_number INTEGER, us_viewers__millions_ VARCHAR)
### Question:
What number episode in the season was watched by 0.49 million U.S. viewers?
### Answer:
SELECT MAX(_number) FROM table_26914076_4 WHERE us_viewers__millions_ = "0.49" |
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_2610582_2 (branding VARCHAR, callsign VARCHAR)
### Question:
What is the branding of the callsign DWCI-TV?
### Answer:
SELECT branding FROM table_2610582_2 WHERE callsign = "DWCI-TV" |
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 (time VARCHAR, event VARCHAR)
### Question:
How long was the time for the Legacy Fighting Championship 12?
### Answer:
SELECT time FROM table_name_68 WHERE event = "legacy fighting championship 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_13 (publisher VARCHAR, title VARCHAR)
### Question:
Who published Weird War Tales?
### Answer:
SELECT publisher FROM table_name_13 WHERE title = "weird war tales" |
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 (opponent VARCHAR, game VARCHAR, march VARCHAR)
### Question:
Which opponent's game was less than 76 when the march was 10?
### Answer:
SELECT opponent FROM table_name_45 WHERE game < 76 AND march = 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_17 (crowd VARCHAR, home_team VARCHAR)
### Question:
What is the crowd size for st kilda as the home team?
### Answer:
SELECT crowd FROM table_name_17 WHERE home_team = "st kilda" |
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_79 (cuts_made VARCHAR, top_5 VARCHAR, events VARCHAR)
### Question:
What was the total number of Cuts made, when Top-5 was greater than 3, and when Events were 85?
### Answer:
SELECT COUNT(cuts_made) FROM table_name_79 WHERE top_5 > 3 AND events = 85 |
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 (trainer VARCHAR, odds VARCHAR)
### Question:
Who has 6/1 odds?
### Answer:
SELECT trainer FROM table_name_50 WHERE odds = "6/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_1601027_1 (termination VARCHAR, headphone_model VARCHAR)
### Question:
Which terminations correspond with headphone model SR80I?
### Answer:
SELECT termination FROM table_1601027_1 WHERE headphone_model = "SR80i" |
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 (season VARCHAR, staffel_e VARCHAR)
### Question:
Which season has a Staffel E of Stahl Riesa?
### Answer:
SELECT season FROM table_name_21 WHERE staffel_e = "stahl riesa" |
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_28 (pepe_michinoku VARCHAR, ryuji_hijikata VARCHAR)
### Question:
What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)?
### Answer:
SELECT pepe_michinoku FROM table_name_28 WHERE ryuji_hijikata = "sabin (12:33)" |
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 (Id VARCHAR)
### Question:
What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R?
### Answer:
SELECT 1995 FROM table_name_81 WHERE 1997 = "lq" AND 1989 = "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_16768245_5 (latitude VARCHAR, name VARCHAR)
### Question:
Philae Sulcus has a latitude of what?
### Answer:
SELECT latitude FROM table_16768245_5 WHERE name = "Philae Sulcus" |
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 (score VARCHAR, date VARCHAR)
### Question:
What was the score in the September 26 game?
### Answer:
SELECT score FROM table_name_76 WHERE date = "september 26" |
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 (operator VARCHAR, region VARCHAR)
### Question:
What was the operator of the ensemble from Yorkshire?
### Answer:
SELECT operator FROM table_name_89 WHERE region = "yorkshire" |
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_27755784_10 (game INTEGER)
### Question:
What is the highest game number?
### Answer:
SELECT MAX(game) FROM table_27755784_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_44 (size__steps_ VARCHAR, just__cents_ VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR)
### Question:
size (steps) that has a size (cents) of 58.54, and a just ratio of 28:27, and a just (cents) larger than 62.96 is what total number?
### Answer:
SELECT COUNT(size__steps_) FROM table_name_44 WHERE size__cents_ = 58.54 AND just_ratio = "28:27" AND just__cents_ > 62.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_58 (year_commissioned INTEGER, gross_head__metres_ INTEGER)
### Question:
What is the Year Commissioned of the power stationo with a Gross head of less than 18?
### Answer:
SELECT AVG(year_commissioned) FROM table_name_58 WHERE gross_head__metres_ < 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_7 (original_channel VARCHAR, year INTEGER)
### Question:
what is the original channel when the year is after 2012?
### Answer:
SELECT original_channel FROM table_name_7 WHERE year > 2012 |
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_1245148_1 (length VARCHAR, track_name VARCHAR)
### Question:
What is the length of the track named michigan international speedway?
### Answer:
SELECT length FROM table_1245148_1 WHERE track_name = "Michigan International Speedway" |
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 (director VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
Who was the director that had a film titled "Floating Life"?
### Answer:
SELECT director FROM table_name_5 WHERE film_title_used_in_nomination = "floating 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_68 (location VARCHAR, date VARCHAR)
### Question:
What is the location of the tournament on Feb 10?
### Answer:
SELECT location FROM table_name_68 WHERE date = "feb 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_20 (wins VARCHAR, f_laps VARCHAR, team VARCHAR)
### Question:
what is the wins when the f/laps is test driver and team is lotus racing?
### Answer:
SELECT wins FROM table_name_20 WHERE f_laps = "test driver" AND team = "lotus racing" |
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 (drawn INTEGER, played VARCHAR, position VARCHAR)
### Question:
What is the lowest drawn that has a played greater than 19, with a position less than 2?
### Answer:
SELECT MIN(drawn) FROM table_name_52 WHERE played > 19 AND position < 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_14342592_7 (touchdowns INTEGER, player VARCHAR)
### Question:
How many touchdowns were there when Heston was in play?
### Answer:
SELECT MAX(touchdowns) FROM table_14342592_7 WHERE player = "Heston" |
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_17360840_9 (location VARCHAR, opponent VARCHAR)
### Question:
How many locations were recorded when the opponent Columbus Blue Jackets?
### Answer:
SELECT COUNT(location) FROM table_17360840_9 WHERE opponent = "Columbus Blue Jackets" |
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_1855342_5 (ability_to_compromise INTEGER, seq VARCHAR)
### Question:
When the seq is 41, what is the ability to compromise?
### Answer:
SELECT MAX(ability_to_compromise) FROM table_1855342_5 WHERE seq = "41" |
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_21260421_1 (winner VARCHAR, score VARCHAR)
### Question:
How many winners scored exactly 202 (-11)?
### Answer:
SELECT COUNT(winner) FROM table_21260421_1 WHERE score = "202 (-11)" |
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 (release_format VARCHAR, release_date INTEGER)
### Question:
What type of format was released after 1979?
### Answer:
SELECT release_format FROM table_name_48 WHERE release_date > 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_1473672_8 (position VARCHAR, pick__number VARCHAR)
### Question:
Name the position for pick number 128
### Answer:
SELECT position FROM table_1473672_8 WHERE pick__number = 128 |
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 (date VARCHAR, venue VARCHAR)
### Question:
What date was a game played at Headingley Stadium?
### Answer:
SELECT date FROM table_name_67 WHERE venue = "headingley 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_32 (grade VARCHAR)
### Question:
Which 2005 is the lowest one that has a Grade smaller than 6, and a 2008 smaller than 80, and a 2006 larger than 72?
### Answer:
SELECT MIN(2005) FROM table_name_32 WHERE grade < 6 AND 2008 < 80 AND 2006 > 72 |
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_15873547_1 (mascot VARCHAR, colors VARCHAR)
### Question:
What is the mascot with the colors green and navy?
### Answer:
SELECT mascot FROM table_15873547_1 WHERE colors = "Green and Navy" |
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 (flag VARCHAR, ship VARCHAR)
### Question:
Which Flag did the Ship Aidavita have?
### Answer:
SELECT flag FROM table_name_66 WHERE ship = "aidavita" |
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_242785_3 (notes VARCHAR, date_founded__founder VARCHAR)
### Question:
What are the notes during 57 bc caesar?
### Answer:
SELECT notes FROM table_242785_3 WHERE date_founded__founder = "57 BC Caesar" |
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_79 (total VARCHAR, league_cup_goals VARCHAR, fa_cup_goals VARCHAR)
### Question:
What is the sum of goals when the league cup goals are 4 and the FA cup goals are 0?
### Answer:
SELECT total FROM table_name_79 WHERE league_cup_goals = "4" AND fa_cup_goals = "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_78 (week INTEGER, date VARCHAR)
### Question:
What week has a Date of October 4, 1992?
### Answer:
SELECT SUM(week) FROM table_name_78 WHERE date = "october 4, 1992" |
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 (diff INTEGER, played INTEGER)
### Question:
What is the total difference for teams that played less than 6 games?
### Answer:
SELECT SUM(diff) FROM table_name_38 WHERE played < 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 list (classroom VARCHAR); CREATE TABLE teachers (firstname VARCHAR, classroom VARCHAR)
### Question:
Find the first names of the teachers that teach first grade.
### Answer:
SELECT DISTINCT T2.firstname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE grade = 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_2112260_1 (website VARCHAR, specialization VARCHAR, division VARCHAR)
### Question:
What is every website with specialization of engineering and division of dhaka division?
### Answer:
SELECT website FROM table_2112260_1 WHERE specialization = "Engineering" AND division = "Dhaka division" |
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_29285076_2 (location VARCHAR, date VARCHAR)
### Question:
At what location was the March 17 race held?
### Answer:
SELECT location FROM table_29285076_2 WHERE date = "March 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_19 (money_spent VARCHAR, _3q VARCHAR, after_debt VARCHAR)
### Question:
How much money was spent when the amount after debt was $1,757,936?
### Answer:
SELECT money_spent, _3q FROM table_name_19 WHERE after_debt = "$1,757,936" |
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_256286_20 (description VARCHAR, _percentage_yes VARCHAR)
### Question:
Who had 41.76% yes votes
### Answer:
SELECT description FROM table_256286_20 WHERE _percentage_yes = "41.76%" |
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_2508633_6 (nfl_team VARCHAR, player VARCHAR)
### Question:
Name the nfl team for eric williams
### Answer:
SELECT nfl_team FROM table_2508633_6 WHERE player = "Eric Williams" |
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_35 (themed_area VARCHAR, type VARCHAR, opened VARCHAR)
### Question:
What themed area opened in 2010 as an animal show?
### Answer:
SELECT themed_area FROM table_name_35 WHERE type = "animal show" AND opened = "2010" |
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 (away_team VARCHAR)
### Question:
What is the away team's score when footscray is the away team?
### Answer:
SELECT away_team AS score FROM table_name_74 WHERE away_team = "footscray" |
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 (programming VARCHAR, operator VARCHAR)
### Question:
What channel has an operator of ivptc?
### Answer:
SELECT programming FROM table_name_1 WHERE operator = "ivptc" |
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 (school_club_team VARCHAR, player VARCHAR)
### Question:
What school/club did gerald wilkins attend?
### Answer:
SELECT school_club_team FROM table_name_24 WHERE player = "gerald wilkins" |
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 (accolade VARCHAR, country VARCHAR, year VARCHAR)
### Question:
Which accolade has USA as the country, with a year less than 2009?
### Answer:
SELECT accolade FROM table_name_61 WHERE country = "usa" AND year < 2009 |
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_29050051_3 (_number INTEGER)
### Question:
What is the lowest listed number for a player?
### Answer:
SELECT MIN(_number) FROM table_29050051_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_57 (player VARCHAR, to_par VARCHAR, country VARCHAR)
### Question:
Who was the player for Japan when the to par was smaller than 7?
### Answer:
SELECT player FROM table_name_57 WHERE to_par < 7 AND country = "japan" |
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_25429986_1 (position VARCHAR, number VARCHAR)
### Question:
what position is number 22?
### Answer:
SELECT position FROM table_25429986_1 WHERE number = 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_25839957_5 (cvt_hd VARCHAR, market VARCHAR)
### Question:
What mobile markets have cvt hd?
### Answer:
SELECT cvt_hd FROM table_25839957_5 WHERE market = "Mobile" |
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_27615896_18 (sd VARCHAR, status VARCHAR)
### Question:
What is the total number of sd listings where the status is quarterfinals lost to Novak Djokovic [1]?
### Answer:
SELECT COUNT(sd) FROM table_27615896_18 WHERE status = "Quarterfinals lost to Novak Djokovic [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_12226390_2 (written_by VARCHAR, no_in_series VARCHAR)
### Question:
Who wrote the episode 14 in series?
### Answer:
SELECT written_by FROM table_12226390_2 WHERE no_in_series = 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_name_29 (played INTEGER, position VARCHAR, goals_against VARCHAR, draws VARCHAR, goals_for VARCHAR)
### Question:
Which Played has Draws smaller than 7, and Goals for smaller than 61, and Goals against smaller than 48, and a Position of 5?
### Answer:
SELECT MAX(played) FROM table_name_29 WHERE draws < 7 AND goals_for < 61 AND goals_against < 48 AND position = 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 film (title VARCHAR, film_id VARCHAR); CREATE TABLE inventory (inventory_id VARCHAR, film_id VARCHAR); CREATE TABLE rental (inventory_id VARCHAR)
### Question:
What is the film title and inventory id of the item in the inventory which was rented most frequently?
### Answer:
SELECT T1.title, T2.inventory_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id JOIN rental AS T3 ON T2.inventory_id = T3.inventory_id GROUP BY T2.inventory_id 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_30 (network VARCHAR, korean_title VARCHAR)
### Question:
What network is the Korean title of mbc λ² μ€νΈκ·Ήμ₯ - μμ λλ on?
### Answer:
SELECT network FROM table_name_30 WHERE korean_title = "mbc λ² μ€νΈκ·Ήμ₯ - μμ λλ" |
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_24039597_26 (innings VARCHAR, caught VARCHAR)
### Question:
What was the innings when caught was 20?
### Answer:
SELECT innings FROM table_24039597_26 WHERE caught = 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_name_81 (polling_institute VARCHAR, social_democratic VARCHAR)
### Question:
Which polling institute has a 30.7% for social democratic?
### Answer:
SELECT polling_institute FROM table_name_81 WHERE social_democratic = "30.7%" |
Subsets and Splits