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_82 (loss VARCHAR, record VARCHAR)
### Question:
What is the loss for the record of 42-36?
### Answer:
SELECT loss FROM table_name_82 WHERE record = "42-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_1473672_7 (pick__number VARCHAR, player VARCHAR)
### Question:
How many players had been drafted in front of Yves archambault
### Answer:
SELECT pick__number FROM table_1473672_7 WHERE player = "Yves Archambault"
|
Below is an context that describes a 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 (player VARCHAR, place VARCHAR)
### Question:
Which player has a place of t2?
### Answer:
SELECT player FROM table_name_4 WHERE place = "t2"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24910733_2 (timeslot__est_ VARCHAR, rating VARCHAR)
### Question:
How many timeslots received a rating of 5.7?
### Answer:
SELECT COUNT(timeslot__est_) FROM table_24910733_2 WHERE rating = "5.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_87 (total INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR)
### Question:
What is the largest total for a team with 1 bronze, 0 gold medals and ranking of 7?
### Answer:
SELECT MAX(total) FROM table_name_87 WHERE bronze = 1 AND rank = "7" AND gold > 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_11318462_29 (school VARCHAR, location VARCHAR)
### Question:
How many schools are located in South Brisbane?
### Answer:
SELECT COUNT(school) FROM table_11318462_29 WHERE location = "South Brisbane"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2468961_4 (title VARCHAR, no_in_series VARCHAR)
### Question:
What was the title of series number 56?
### Answer:
SELECT title FROM table_2468961_4 WHERE no_in_series = 56
|
Below is an context that describes a 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 (Id VARCHAR)
### Question:
What is the 2008 result where 2003 is 325?
### Answer:
SELECT 2008 FROM table_name_34 WHERE 2003 = "325"
|
Below is an context that describes a 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 (publisher VARCHAR, release_title VARCHAR)
### Question:
Who was the publisher of Martial Law: Dead Ringers?
### Answer:
SELECT publisher FROM table_name_56 WHERE release_title = "martial law: dead ringers"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27592654_2 (province VARCHAR, election_date VARCHAR)
### Question:
What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861?
### Answer:
SELECT province FROM table_27592654_2 WHERE election_date = "5 Cannot handle non-empty timestamp argument! 1861"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22998777_1 (season VARCHAR, position VARCHAR)
### Question:
If the position of 26th what is the season total number?
### Answer:
SELECT COUNT(season) FROM table_22998777_1 WHERE position = "26th"
|
Below is an context that describes a 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 (regulations VARCHAR, winning_constructor VARCHAR)
### Question:
What regulations have hudson as the winning constructor?
### Answer:
SELECT regulations FROM table_name_84 WHERE winning_constructor = "hudson"
|
Below is an context that describes a 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, swimmer VARCHAR, overall_rank VARCHAR)
### Question:
Tell me the total number of time for luke hall overall rank being larger than 105
### Answer:
SELECT COUNT(time) FROM table_name_68 WHERE swimmer = "luke hall" AND overall_rank > 105
|
Below is an context that describes a 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 (player VARCHAR, score VARCHAR)
### Question:
What is the name of the player with an overall score of 70-69-69=208?
### Answer:
SELECT player FROM table_name_41 WHERE score = 70 - 69 - 69 = 208
|
Below is an context that describes a 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 (round VARCHAR, opponent VARCHAR)
### Question:
Which round did the bout against Jonatas Novaes end in?
### Answer:
SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_262527_1 (type VARCHAR, joined VARCHAR)
### Question:
what type was joined in 1902 5?
### Answer:
SELECT type FROM table_262527_1 WHERE joined = "1902 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_89 (winner VARCHAR, fastest_lap VARCHAR)
### Question:
Who was the winner when Katsuyuki Hiranaka had the fastest lap?
### Answer:
SELECT winner FROM table_name_89 WHERE fastest_lap = "katsuyuki hiranaka"
|
Below is an context that describes a 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_94 (sydney VARCHAR, melbourne VARCHAR, auckland VARCHAR)
### Question:
Which Sydney's Melbourne was no, when Auckland was yes?
### Answer:
SELECT sydney FROM table_name_94 WHERE melbourne = "no" AND auckland = "yes"
|
Below is an context that describes a 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 (games INTEGER, date_of_birth VARCHAR, debut_year VARCHAR)
### Question:
What is the average games a player born on 17 March 1915 and debut before 1935 had?
### Answer:
SELECT AVG(games) FROM table_name_68 WHERE date_of_birth = "17 march 1915" AND debut_year < 1935
|
Below is an context that describes a 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 (creator VARCHAR, latest_stable_version VARCHAR)
### Question:
Who is the Creator that has a version of 0.5.2 (part of compiz fusion release)?
### Answer:
SELECT creator FROM table_name_45 WHERE latest_stable_version = "0.5.2 (part of compiz fusion release)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29970488_2 (weight___lb__ VARCHAR, hometown VARCHAR)
### Question:
How many different items appear in the weight column when Pittsburgh, PA is the hometown?
### Answer:
SELECT COUNT(weight___lb__) FROM table_29970488_2 WHERE hometown = "Pittsburgh, PA"
|
Below is an context that describes a 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_83 (foreign_population INTEGER, population__2004_ VARCHAR)
### Question:
What is the largest foreign population when the 2004 population is 7641?
### Answer:
SELECT MAX(foreign_population) FROM table_name_83 WHERE population__2004_ = 7641
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_222448_1 (percentage_yield VARCHAR, dpmo VARCHAR)
### Question:
What is the percentage yield for a DPMO of 3.4?
### Answer:
SELECT percentage_yield FROM table_222448_1 WHERE dpmo = "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_56 (time VARCHAR, country VARCHAR, lane VARCHAR)
### Question:
For how long did Bolivia have a lane greater than 6?
### Answer:
SELECT COUNT(time) FROM table_name_56 WHERE country = "bolivia" AND lane > 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_33 (player VARCHAR, pick VARCHAR, new_wnba_team VARCHAR)
### Question:
Which player had a pick under 6 and a new WNBA team of the Minnesota Lynx?
### Answer:
SELECT player FROM table_name_33 WHERE pick < 6 AND new_wnba_team = "minnesota lynx"
|
Below is an context that describes a 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 (nationality VARCHAR, round VARCHAR, nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR)
### Question:
What's the Nationality of Round 8 Vancouver Canucks NHL Team of Swift Current Broncos (WHL)?
### Answer:
SELECT nationality FROM table_name_12 WHERE nhl_team = "vancouver canucks" AND college_junior_club_team__league_ = "swift current broncos (whl)" AND round = 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_57 (played VARCHAR, position VARCHAR, against VARCHAR, team VARCHAR)
### Question:
How much Played has an Against larger than 11, and a Team of botafogo, and a Position smaller than 2?
### Answer:
SELECT COUNT(played) FROM table_name_57 WHERE against > 11 AND team = "botafogo" 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_name_83 (title VARCHAR, format VARCHAR, story__number VARCHAR)
### Question:
Available in 2-CD format, what is the title of story number 026?
### Answer:
SELECT title FROM table_name_83 WHERE format = "2-cd" AND story__number = "026"
|
Below is an context that describes a 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 (opponent VARCHAR, week INTEGER)
### Question:
Who is the opponent for the game that occurred after week 13?
### Answer:
SELECT opponent FROM table_name_12 WHERE week > 13
|
Below is an context that describes a 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 (record VARCHAR, february VARCHAR)
### Question:
What is the record after the game on Feb 10?
### Answer:
SELECT record FROM table_name_89 WHERE february = 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_29572583_19 (new_points INTEGER, status VARCHAR)
### Question:
What is listed in new points when status is second round lost to xavier malisse?
### Answer:
SELECT MIN(new_points) FROM table_29572583_19 WHERE status = "Second round lost to Xavier Malisse"
|
Below is an context that describes a 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 (date VARCHAR, record VARCHAR)
### Question:
On what date was the Record 41–32–6?
### Answer:
SELECT date FROM table_name_95 WHERE record = "41–32–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_96 (in_vitro___in_vivo VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)
### Question:
Tell me the in-vitro for Route of administration of iv and Investigation of somatostatin receptor imaging
### Answer:
SELECT in_vitro___in_vivo FROM table_name_96 WHERE route_of_administration = "iv" AND investigation = "somatostatin receptor imaging"
|
Below is an context that describes a 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 (points INTEGER, engine VARCHAR, entrant VARCHAR)
### Question:
What is the most points when Maserati made the engine, and a Entrant of owen racing organisation?
### Answer:
SELECT MAX(points) FROM table_name_70 WHERE engine = "maserati" AND entrant = "owen racing organisation"
|
Below is an context that describes a 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 (team VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What team has more than 49 laps and a grid of 8?
### Answer:
SELECT team FROM table_name_63 WHERE laps > 49 AND grid = 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_27 (draws INTEGER, wins VARCHAR, played VARCHAR)
### Question:
What is the lowest amount of draws with less than 12 wins and less than 30 played?
### Answer:
SELECT MIN(draws) FROM table_name_27 WHERE wins < 12 AND played < 30
|
Below is an context that describes a 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 (worldwide_gross VARCHAR, rank VARCHAR)
### Question:
What is the Worldwide Gross of the Film with a Rank of 16?
### Answer:
SELECT worldwide_gross FROM table_name_68 WHERE rank = 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_41 (home VARCHAR, date VARCHAR)
### Question:
Who was the home team on January 8?
### Answer:
SELECT home FROM table_name_41 WHERE date = "january 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_47 (race VARCHAR, event VARCHAR, driver VARCHAR)
### Question:
At which race did reg parnell win the goodwood trophy?
### Answer:
SELECT race FROM table_name_47 WHERE event = "goodwood trophy" AND driver = "reg parnell"
|
Below is an context that describes a 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_10 (n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR)
### Question:
What is the N117/2400 IEC3 associated with an N100IEC3 of 25?
### Answer:
SELECT n117_2400_iec3 FROM table_name_10 WHERE n100_iec3 = "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_92 (genre VARCHAR, release_year_of_first_charted_record VARCHAR, country_of_origin VARCHAR)
### Question:
Name the genre for release-year of firsst charted less than 1980 and origin of jamaica
### Answer:
SELECT genre FROM table_name_92 WHERE release_year_of_first_charted_record < 1980 AND country_of_origin = "jamaica"
|
Below is an context that describes a 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 (works_number INTEGER, date VARCHAR, name VARCHAR)
### Question:
What is the total work number of Gowrie after 1875?
### Answer:
SELECT SUM(works_number) FROM table_name_45 WHERE date > 1875 AND name = "gowrie"
|
Below is an context that describes a 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 (order_and_title VARCHAR, elevated VARCHAR, elector VARCHAR)
### Question:
With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title?
### Answer:
SELECT order_and_title FROM table_name_78 WHERE elevated = "may 1262" AND elector = "guillaume de bray"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27744844_5 (high_points VARCHAR, date VARCHAR)
### Question:
Which player scored the most points and how many were scored on November 6?
### Answer:
SELECT high_points FROM table_27744844_5 WHERE date = "November 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_32 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
### Question:
What is the largest overall where the position was linebacker and the pick number was more than 9?
### Answer:
SELECT MAX(overall) FROM table_name_32 WHERE position = "linebacker" AND pick__number > 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_64 (apps INTEGER, country VARCHAR, goals VARCHAR)
### Question:
What is the average Apps of indonesia with Goals smaller than 1000?
### Answer:
SELECT AVG(apps) FROM table_name_64 WHERE country = "indonesia" AND goals < 1000
|
Below is an context that describes a 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 (hull_no VARCHAR, commissioned__decommissioned VARCHAR)
### Question:
Name the hull number of Commissioned– Decommissioned of 1973–1996
### Answer:
SELECT hull_no FROM table_name_29 WHERE commissioned__decommissioned = "1973–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_12032893_1 (year VARCHAR, home_town VARCHAR)
### Question:
How many years have the home town of Baton Rouge, LA?
### Answer:
SELECT COUNT(year) FROM table_12032893_1 WHERE home_town = "Baton Rouge, LA"
|
Below is an context that describes a 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 (week VARCHAR, game_site VARCHAR)
### Question:
Which week has giants stadium as the game site?
### Answer:
SELECT week FROM table_name_57 WHERE game_site = "giants 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_26375386_17 (total VARCHAR, public VARCHAR)
### Question:
If the public is 4, what is the total?
### Answer:
SELECT total FROM table_26375386_17 WHERE public = 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_1341672_6 (first_elected INTEGER, incumbent VARCHAR)
### Question:
What year was incumbent mark w. hannaford elected?
### Answer:
SELECT MIN(first_elected) FROM table_1341672_6 WHERE incumbent = "Mark W. Hannaford"
|
Below is an context that describes a 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 (singular VARCHAR, meaning VARCHAR)
### Question:
What is the singular for the Meaning of night?
### Answer:
SELECT singular FROM table_name_28 WHERE meaning = "night"
|
Below is an context that describes a 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 (athletes VARCHAR, run_2 VARCHAR)
### Question:
Which Athletes have a Run 2 of 2:21.82?
### Answer:
SELECT athletes FROM table_name_39 WHERE run_2 = "2:21.82"
|
Below is an context that describes a 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_15 (name VARCHAR, round VARCHAR, pick VARCHAR)
### Question:
Which Name has a Round smaller than 11, and a Pick of 13?
### Answer:
SELECT name FROM table_name_15 WHERE round < 11 AND pick = 13
|
Below is an context that describes a 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_10 (withdrawn INTEGER, rebuilt VARCHAR, gnri_no VARCHAR, name VARCHAR)
### Question:
What is the smallest withdrawn value with a GNRI greater than 172, name of Croagh Patrick and was rebuilt before 1939?
### Answer:
SELECT MIN(withdrawn) FROM table_name_10 WHERE gnri_no > 172 AND name = "croagh patrick" AND rebuilt < 1939
|
Below is an context that describes a 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 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
### Question:
How many laps for alexander wurz with a grid under 12?
### Answer:
SELECT COUNT(laps) FROM table_name_22 WHERE grid < 12 AND driver = "alexander wurz"
|
Below is an context that describes a 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 (score VARCHAR, opponent_in_the_final VARCHAR)
### Question:
Which Score has an Opponent in the final of mehdi tahiri?
### Answer:
SELECT score FROM table_name_96 WHERE opponent_in_the_final = "mehdi tahiri"
|
Below is an context that describes a 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 (attendance INTEGER, home VARCHAR)
### Question:
What was the lowest attendance at a game when Pittsburgh was the home team?
### Answer:
SELECT MIN(attendance) FROM table_name_68 WHERE home = "pittsburgh"
|
Below is an context that describes a 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 (laps INTEGER, driver VARCHAR, grid VARCHAR)
### Question:
I want the fewest Laps for Huub Rothengatter and grid less than 24
### Answer:
SELECT MIN(laps) FROM table_name_88 WHERE driver = "huub rothengatter" AND grid < 24
|
Below is an context that describes a 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 (date VARCHAR, catalogue__number VARCHAR)
### Question:
What is the date with the catalogue # cocy-80093?
### Answer:
SELECT date FROM table_name_37 WHERE catalogue__number = "cocy-80093"
|
Below is an context that describes a 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 (placings INTEGER, nation VARCHAR, points VARCHAR)
### Question:
Which Placings have a Nation of west germany, and Points larger than 303.72?
### Answer:
SELECT SUM(placings) FROM table_name_31 WHERE nation = "west germany" AND points > 303.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_name_79 (position VARCHAR, player VARCHAR)
### Question:
What was the position that Chris Robinson played?
### Answer:
SELECT position FROM table_name_79 WHERE player = "chris robinson"
|
Below is an context that describes a 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 (date INTEGER, opponent VARCHAR)
### Question:
What is the average date of the game with the Detroit Red Wings as the opponent?
### Answer:
SELECT AVG(date) FROM table_name_19 WHERE opponent = "detroit red wings"
|
Below is an context that describes a 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 (grid INTEGER, driver VARCHAR, laps VARCHAR)
### Question:
What is the top grid that roger williamson lapped less than 7?
### Answer:
SELECT MAX(grid) FROM table_name_73 WHERE driver = "roger williamson" AND laps < 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_15 (date VARCHAR, away VARCHAR)
### Question:
What date has high park demons as the away?
### Answer:
SELECT date FROM table_name_15 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_99 (crowd VARCHAR, venue VARCHAR)
### Question:
What is the crowd size for Victoria park?
### Answer:
SELECT crowd FROM table_name_99 WHERE venue = "victoria 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_24910733_1 (title VARCHAR, written_by VARCHAR)
### Question:
What is the title when the writer is Emily Halpern?
### Answer:
SELECT title FROM table_24910733_1 WHERE written_by = "Emily Halpern"
|
Below is an context that describes a 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 (multi_1 VARCHAR, model_number VARCHAR, frequency VARCHAR, release_date VARCHAR)
### Question:
Which Multi 1 has a Frequency of 2300mhz, and a Release date of q3 2008 and a Model number of turion x2 ultra zm-84?
### Answer:
SELECT multi_1 FROM table_name_7 WHERE frequency = "2300mhz" AND release_date = "q3 2008" AND model_number = "turion x2 ultra zm-84"
|
Below is an context that describes a 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 (grid INTEGER, time VARCHAR)
### Question:
What is the sum of Grid, when Time is "+16.687"?
### Answer:
SELECT SUM(grid) FROM table_name_60 WHERE time = "+16.687"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1108394_6 (staten_island VARCHAR, the_bronx VARCHAR)
### Question:
What was the amount in Staten Island when The Bronx was 1,281?
### Answer:
SELECT staten_island FROM table_1108394_6 WHERE the_bronx = "1,281"
|
Below is an context that describes a 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 (home VARCHAR, score VARCHAR)
### Question:
What home has 122-28 as the score?
### Answer:
SELECT home FROM table_name_96 WHERE score = "122-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_17104539_10 (high_rebounds VARCHAR, record VARCHAR)
### Question:
Who had a high rebound where the associated record is 11-13?
### Answer:
SELECT high_rebounds FROM table_17104539_10 WHERE record = "11-13"
|
Below is an context that describes a 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 (content VARCHAR, television_service VARCHAR)
### Question:
What is the content of the Television service of Vesti?
### Answer:
SELECT content FROM table_name_58 WHERE television_service = "vesti"
|
Below is an context that describes a 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 (notes VARCHAR, network VARCHAR, year VARCHAR, language VARCHAR)
### Question:
What are the notes for the Mandarin Chinese program on CTV earlier than 2013?
### Answer:
SELECT notes FROM table_name_40 WHERE year < 2013 AND language = "mandarin chinese" AND network = "ctv"
|
Below is an context that describes a 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 (episode_number VARCHAR, podcast_date VARCHAR)
### Question:
What is the episode number of the episode that aired on August 8, 2005?
### Answer:
SELECT episode_number FROM table_name_17 WHERE podcast_date = "august 8, 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_name_15 (song VARCHAR, artist VARCHAR)
### Question:
Which song was by artist Gino Vannelli?
### Answer:
SELECT song FROM table_name_15 WHERE artist = "gino vannelli"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR)
### Question:
Find the name, headquarter and revenue of all manufacturers sorted by their revenue in the descending order.
### Answer:
SELECT name, headquarter, revenue FROM manufacturers ORDER BY revenue DESC
|
Below is an context that describes a 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 (event VARCHAR, year VARCHAR)
### Question:
What event was in 2006?
### Answer:
SELECT event FROM table_name_2 WHERE year = 2006
|
Below is an context that describes a 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_64 (year INTEGER, champion VARCHAR)
### Question:
What year weas John McEnroe the champion?
### Answer:
SELECT AVG(year) FROM table_name_64 WHERE champion = "john mcenroe"
|
Below is an context that describes a 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_72 (capacity INTEGER, home_team_s_ VARCHAR)
### Question:
What was the average capacity for vélez sársfield?
### Answer:
SELECT AVG(capacity) FROM table_name_72 WHERE home_team_s_ = "vélez sársfield"
|
Below is an context that describes a 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 (grid INTEGER, time_retired VARCHAR)
### Question:
What is the average grid for the +2.2 secs time/retired?
### Answer:
SELECT AVG(grid) FROM table_name_44 WHERE time_retired = "+2.2 secs"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25926120_7 (name_of_award VARCHAR, awardee_s_ VARCHAR)
### Question:
what is the name of award when the awardee(s) is elangbam natasha?
### Answer:
SELECT name_of_award FROM table_25926120_7 WHERE awardee_s_ = "Elangbam Natasha"
|
Below is an context that describes a 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_15 (first_aired VARCHAR, entrepreneur_s_ VARCHAR)
### Question:
What episode featured entrepreneur Richard Ernest?
### Answer:
SELECT first_aired FROM table_name_15 WHERE entrepreneur_s_ = "richard ernest"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1745843_7 (part_1 VARCHAR, part_4 VARCHAR)
### Question:
What's part 1 of the verb whose part 4 is gevroren?
### Answer:
SELECT part_1 FROM table_1745843_7 WHERE part_4 = "gevroren"
|
Below is an context that describes a 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 (Id VARCHAR)
### Question:
What was the value in 2006 when 2003 was not held and 2012 was A?
### Answer:
SELECT 2006 FROM table_name_40 WHERE 2003 = "not held" AND 2012 = "a"
|
Below is an context that describes a 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 2012 has q2 as the 2010, and wimbledon as the tournament?
### Answer:
SELECT 2012 FROM table_name_31 WHERE 2010 = "q2" AND tournament = "wimbledon"
|
Below is an context that describes a 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 (date VARCHAR, opponent VARCHAR)
### Question:
What is the date when the opponent is the New England Patriots?
### Answer:
SELECT date FROM table_18847736_2 WHERE opponent = "New England Patriots"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1333612_1 (native_american VARCHAR, es_mulatto VARCHAR)
### Question:
what's the native american with es mulatto being 0.7%
### Answer:
SELECT native_american FROM table_1333612_1 WHERE es_mulatto = "0.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_11621747_1 (tournament VARCHAR, date VARCHAR)
### Question:
What is the tournament on Jul 11?
### Answer:
SELECT tournament FROM table_11621747_1 WHERE date = "Jul 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_21 (opponent VARCHAR, date VARCHAR)
### Question:
Who is the Opponent on January 7?
### Answer:
SELECT opponent FROM table_name_21 WHERE date = "january 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_18 (score INTEGER, player VARCHAR)
### Question:
What is Sum of Score, when Player is Vijay Singh?
### Answer:
SELECT SUM(score) FROM table_name_18 WHERE player = "vijay singh"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2267857_1 (laps VARCHAR, date VARCHAR)
### Question:
Name the laps of october 26
### Answer:
SELECT laps FROM table_2267857_1 WHERE date = "October 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_26 (genre VARCHAR, year_recorded VARCHAR)
### Question:
What genre is the song recorded in 1929?
### Answer:
SELECT genre FROM table_name_26 WHERE year_recorded = "1929"
|
Below is an context that describes a 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 (match_score VARCHAR, footytab_winner VARCHAR)
### Question:
What is the Match score when the FootyTAB winner was norths?
### Answer:
SELECT match_score FROM table_name_81 WHERE footytab_winner = "norths"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE station (city VARCHAR, lat INTEGER)
### Question:
List all the cities in a decreasing order of each city's stations' highest latitude.
### Answer:
SELECT city FROM station GROUP BY city ORDER BY MAX(lat) DESC
|
Below is an context that describes a 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 (player VARCHAR, versus VARCHAR)
### Question:
Who had a versus of sri lanka?
### Answer:
SELECT player FROM table_name_18 WHERE versus = "sri lanka"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1337525_1 (region_2 VARCHAR, complete_series VARCHAR)
### Question:
What is the region 2 for the complete fifth series?
### Answer:
SELECT region_2 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1143966_1 (pct__percentage VARCHAR, won VARCHAR)
### Question:
Name the percentage where the amount won was 25
### Answer:
SELECT pct__percentage FROM table_1143966_1 WHERE won = 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_79 (lightweight VARCHAR, information_model VARCHAR, flexible VARCHAR)
### Question:
What is the lightweight value with no information model and the flexible value is unknown?
### Answer:
SELECT lightweight FROM table_name_79 WHERE information_model = "no" AND flexible = "unknown"
|
Below is an context that describes a 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 (player VARCHAR, round VARCHAR)
### Question:
what player score is higher than 17
### Answer:
SELECT player FROM table_name_78 WHERE round = 17
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.