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_6 (year_s__won VARCHAR, finish VARCHAR)
### Question:
What year has a winning finish of T27?
### Answer:
SELECT year_s__won FROM table_name_6 WHERE finish = "t27" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19047_2 (championship VARCHAR, score_in_the_final VARCHAR)
### Question:
What tournament did she win with a final score of 4–6, 7–5, 6–2?
### Answer:
SELECT championship FROM table_19047_2 WHERE score_in_the_final = "4–6, 7–5, 6–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_49 (crimean_war INTEGER, second_afghan_war VARCHAR, school VARCHAR)
### Question:
What is the average Crimean War with a Second Afghan War totaling 1, and a School of hamblin and porter's school, cork?
### Answer:
SELECT AVG(crimean_war) FROM table_name_49 WHERE second_afghan_war = "1" AND school = "hamblin and porter's school, cork" |
Below is an context that describes a sql 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 (wheels VARCHAR, builder VARCHAR)
### Question:
What type of wheels did the locomotive have that was built by Baldwin Locomotive Works?
### Answer:
SELECT wheels FROM table_name_99 WHERE builder = "baldwin locomotive works" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11447995_2 (bello VARCHAR, ben_tahir VARCHAR)
### Question:
What is the Bello when Ben-Tahir is 296?
### Answer:
SELECT bello FROM table_11447995_2 WHERE ben_tahir = "296" |
Below is an context that describes a sql 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, venue VARCHAR)
### Question:
What away team played in Lake Oval?
### Answer:
SELECT away_team FROM table_name_63 WHERE venue = "lake 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_29 (torque VARCHAR, engine VARCHAR)
### Question:
What is the torque of a 2B engine?
### Answer:
SELECT torque FROM table_name_29 WHERE engine = "2b" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23346303_4 (games_played INTEGER, player VARCHAR)
### Question:
How many games did janae stokes play?
### Answer:
SELECT MAX(games_played) FROM table_23346303_4 WHERE player = "Janae Stokes" |
Below is an context that describes a sql 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 (outcome VARCHAR, partnering VARCHAR, date VARCHAR)
### Question:
Name the outcome for jordan kerr july 19, 2004
### Answer:
SELECT outcome FROM table_name_79 WHERE partnering = "jordan kerr" AND date = "july 19, 2004" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (year INTEGER, engine VARCHAR, entrant VARCHAR)
### Question:
How many years did John Player Lotus used Cosworth v8?
### Answer:
SELECT SUM(year) FROM table_name_3 WHERE engine = "cosworth v8" AND entrant = "john player lotus" |
Below is an context that describes a sql 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 (total_cargo__metric_tonnes_ INTEGER, _percentage_change VARCHAR)
### Question:
What's the average total cargo in metric tonnes that has an 11.8% Change?
### Answer:
SELECT AVG(total_cargo__metric_tonnes_) FROM table_name_97 WHERE _percentage_change = "11.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_55 (pernambuco INTEGER, northeast_total VARCHAR)
### Question:
What was the lowest number in Pernambuco where the Northeast had a total of 119978?
### Answer:
SELECT MIN(pernambuco) FROM table_name_55 WHERE northeast_total = "119978" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668243_18 (party VARCHAR, candidates VARCHAR)
### Question:
Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1%
### Answer:
SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = "Willis Alston (J) 93.9% George E. Spruill 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_name_36 (year VARCHAR, chassis VARCHAR)
### Question:
Which year had a toleman tg183 chassis?
### Answer:
SELECT COUNT(year) FROM table_name_36 WHERE chassis = "toleman tg183" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20613292_1 (production_code VARCHAR, written_by VARCHAR, directed_by VARCHAR)
### Question:
What's the production code of the episode written by Kirker Butler and directed by Dan Povenmire?
### Answer:
SELECT production_code FROM table_20613292_1 WHERE written_by = "Kirker Butler" AND directed_by = "Dan Povenmire" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26476336_2 (institution VARCHAR, new_conference VARCHAR)
### Question:
What school has the new conference as SELC?
### Answer:
SELECT institution FROM table_26476336_2 WHERE new_conference = "SELC" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15887683_8 (language VARCHAR, television_service VARCHAR)
### Question:
Name the language for fox business network
### Answer:
SELECT language FROM table_15887683_8 WHERE television_service = "Fox Business Network" |
Below is an context that describes a sql 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 (class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR)
### Question:
what is the class when the quantity perserved is 0 and the quantity made is 5?
### Answer:
SELECT class FROM table_name_78 WHERE quantity_preserved = "0" AND quantity_made = "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_60 (date VARCHAR, competition VARCHAR, result VARCHAR)
### Question:
what is the date when the competition is 1996 tiger cup and the result is drew?
### Answer:
SELECT date FROM table_name_60 WHERE competition = "1996 tiger cup" AND result = "drew" |
Below is an context that describes a sql 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 (finale VARCHAR, premiere VARCHAR)
### Question:
When was the finale played when the show premiered on September 24, 2002?
### Answer:
SELECT finale FROM table_name_62 WHERE premiere = "september 24, 2002" |
Below is an context that describes a sql 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 (try_bonus VARCHAR, points_against VARCHAR)
### Question:
What shows for Try bonus when the points against are 451?
### Answer:
SELECT try_bonus FROM table_name_37 WHERE points_against = "451" |
Below is an context that describes a sql 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 (brazil_scorers VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
### Question:
Which Brazil scorers have a Result of w, and a Competition of world cup qualifying, and a Date of february 28, 1954?
### Answer:
SELECT brazil_scorers FROM table_name_5 WHERE result = "w" AND competition = "world cup qualifying" AND date = "february 28, 1954" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21907770_4 (date VARCHAR, versus VARCHAR)
### Question:
What are the dates where the versus team is South Africa?
### Answer:
SELECT date FROM table_21907770_4 WHERE versus = "South Africa" |
Below is an context that describes a sql 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, attendance VARCHAR)
### Question:
When did the Indians play a game with 15,105 people in attendance?
### Answer:
SELECT date FROM table_name_5 WHERE attendance = "15,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_13719788_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
### Question:
What title was used in the nomination for the title Biola Tak Berdawai?
### Answer:
SELECT film_title_used_in_nomination FROM table_13719788_1 WHERE original_title = "Biola tak berdawai" |
Below is an context that describes a sql 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 (date_of_appointment VARCHAR, team VARCHAR)
### Question:
What date was Dundee appointed?
### Answer:
SELECT date_of_appointment FROM table_name_96 WHERE team = "dundee" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (year INTEGER, project VARCHAR)
### Question:
What is the average Year for the project The Untouchables?
### Answer:
SELECT AVG(year) FROM table_name_16 WHERE project = "the untouchables" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24466855_1 (original_air_date VARCHAR, written_by VARCHAR)
### Question:
Name the air date for jay j. demopoulos
### Answer:
SELECT original_air_date FROM table_24466855_1 WHERE written_by = "Jay J. Demopoulos" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12002388_1 (year INTEGER, reg_season VARCHAR)
### Question:
What year did they finish 1st, southern?
### Answer:
SELECT MAX(year) FROM table_12002388_1 WHERE reg_season = "1st, Southern" |
Below is an context that describes a sql 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 (catalog VARCHAR, format VARCHAR)
### Question:
What catalog uses the stereo compact cassette format?
### Answer:
SELECT catalog FROM table_name_10 WHERE format = "stereo compact cassette" |
Below is an context that describes a sql 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 (visitor VARCHAR, home VARCHAR, date VARCHAR)
### Question:
Name the Visitor that has a Home of chicago black hawks on april 20?
### Answer:
SELECT visitor FROM table_name_74 WHERE home = "chicago black hawks" AND date = "april 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_11 (opponent_in_the_final VARCHAR, surface VARCHAR)
### Question:
Who was the finals opponent on the hard surface tournament?
### Answer:
SELECT opponent_in_the_final FROM table_name_11 WHERE surface = "hard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (title VARCHAR, role VARCHAR)
### Question:
In what movie did John Wayne play the role of Chris Morrell?
### Answer:
SELECT title FROM table_name_54 WHERE role = "chris morrell" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (time VARCHAR, rider VARCHAR, team VARCHAR, rank VARCHAR)
### Question:
Team of honda 250cc, and a Rank larger than 2, and a Rider of chris palmer is what time?
### Answer:
SELECT time FROM table_name_3 WHERE team = "honda 250cc" AND rank > 2 AND rider = "chris palmer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20424140_3 (number_of_dances VARCHAR, place VARCHAR)
### Question:
How many different numbers of total dances are there for the couple ranked at number 6?
### Answer:
SELECT COUNT(number_of_dances) FROM table_20424140_3 WHERE place = 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_38 (extras INTEGER, name VARCHAR, runs_conceded VARCHAR)
### Question:
What is the average Extras for Muttiah Muralitharan, with less than 353 Runs Conceded?
### Answer:
SELECT AVG(extras) FROM table_name_38 WHERE name = "muttiah muralitharan" AND runs_conceded < 353 |
Below is an context that describes a sql 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 (against INTEGER, losses VARCHAR, byes VARCHAR)
### Question:
What is the total number of against when they had 14 losses and more than 0 byes?
### Answer:
SELECT SUM(against) FROM table_name_34 WHERE losses = 14 AND byes > 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_18600760_13 (ansi_code VARCHAR, latitude VARCHAR)
### Question:
How many places associated with latitude 48.247662?
### Answer:
SELECT COUNT(ansi_code) FROM table_18600760_13 WHERE latitude = "48.247662" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11964154_9 (location_attendance VARCHAR, record VARCHAR)
### Question:
what's the location attendance where record is 14–39
### Answer:
SELECT location_attendance FROM table_11964154_9 WHERE record = "14–39" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (date_of_departure VARCHAR, name VARCHAR)
### Question:
When did Brendan Rodgers depart his position?
### Answer:
SELECT date_of_departure FROM table_name_46 WHERE name = "brendan rodgers" |
Below is an context that describes a sql 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_of_release VARCHAR, title VARCHAR)
### Question:
On what date was god & guns released?
### Answer:
SELECT date_of_release FROM table_name_15 WHERE title = "god & guns" |
Below is an context that describes a sql 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 (laps INTEGER, time VARCHAR)
### Question:
What is the largest lap number when the time was +31.982?
### Answer:
SELECT MAX(laps) FROM table_name_5 WHERE time = "+31.982" |
Below is an context that describes a sql 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 (title VARCHAR, track VARCHAR)
### Question:
What is track 6's title?
### Answer:
SELECT title FROM table_name_62 WHERE track = 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_27922491_8 (average VARCHAR, bbm VARCHAR)
### Question:
What is the average for the player with BBM 5/85?
### Answer:
SELECT average FROM table_27922491_8 WHERE bbm = "5/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_42 (round VARCHAR, record VARCHAR)
### Question:
Which round did the bout that led to a 1-0 record end in?
### Answer:
SELECT round FROM table_name_42 WHERE record = "1-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_86 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
### Question:
Who were the opponents when the score was 2–6, 3–6?
### Answer:
SELECT opponents_in_the_final FROM table_name_86 WHERE score_in_the_final = "2–6, 3–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_37 (aircraft VARCHAR, call_sign VARCHAR)
### Question:
Which Aircraft has the Call Sign Paula 01?
### Answer:
SELECT aircraft FROM table_name_37 WHERE call_sign = "paula 01" |
Below is an context that describes a sql 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 (label VARCHAR, format VARCHAR)
### Question:
What is Label, when Format is Double CD?
### Answer:
SELECT label FROM table_name_33 WHERE format = "double cd" |
Below is an context that describes a sql 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 (goals INTEGER, caps VARCHAR, average VARCHAR)
### Question:
What is the goal top with caps of 38 and an average less than 0.579?
### Answer:
SELECT MAX(goals) FROM table_name_45 WHERE caps = 38 AND average < 0.579 |
Below is an context that describes a sql 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 (year_s__won VARCHAR, to_par VARCHAR, total VARCHAR)
### Question:
WHAT YEAR HAS A TO PAR SMALLER THAN 16, TOTAL 151?
### Answer:
SELECT year_s__won FROM table_name_86 WHERE to_par < 16 AND total = 151 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE TRACK (Milliseconds INTEGER)
### Question:
What are the durations of the longest and the shortest tracks in milliseconds?
### Answer:
SELECT MAX(Milliseconds), MIN(Milliseconds) FROM TRACK |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE student (stuid VARCHAR, lname VARCHAR); CREATE TABLE dorm (dormid VARCHAR); CREATE TABLE lives_in (dormid VARCHAR, stuid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR)
### Question:
Find the name of amenities of the dorm where the student with last name Smith is living in.
### Answer:
SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid JOIN lives_in AS T4 ON T4.dormid = T1.dormid JOIN student AS T5 ON T5.stuid = T4.stuid WHERE T5.lname = 'Smith' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23225927_1 (original_air_date VARCHAR, no_in_season VARCHAR)
### Question:
If the number in the season is 22, what is the original air date?
### Answer:
SELECT original_air_date FROM table_23225927_1 WHERE no_in_season = 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_45 (g27_racing_wheel VARCHAR, g25_racing_wheel VARCHAR, driving_force_ex VARCHAR, driving_force_pro VARCHAR)
### Question:
Driving Force EX of no, and a Driving Force Pro of no, and a G25 Racing Wheel of no involves which g27 racing wheel?
### Answer:
SELECT g27_racing_wheel FROM table_name_45 WHERE driving_force_ex = "no" AND driving_force_pro = "no" AND g25_racing_wheel = "no" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17697980_1 (region_2 VARCHAR, dvd_title VARCHAR)
### Question:
How many dvd titled "series 5" were released having a release date or a non available date in region 2?
### Answer:
SELECT COUNT(region_2) FROM table_17697980_1 WHERE dvd_title = "Series 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_92 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR)
### Question:
What is the area of the village with a census ranking of 1,442 of 5,008 and a population less than 1,778?
### Answer:
SELECT MAX(area_km_2) FROM table_name_92 WHERE status = "village" AND census_ranking = "1,442 of 5,008" AND population < 1 OFFSET 778 |
Below is an context that describes a sql 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 (issue INTEGER, writer VARCHAR, date VARCHAR)
### Question:
What is the earliest issue Arnie Kogen wrote for in December 1964?
### Answer:
SELECT MIN(issue) FROM table_name_12 WHERE writer = "arnie kogen" AND date = "december 1964" |
Below is an context that describes a sql 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 (title VARCHAR, english_translation VARCHAR)
### Question:
What is the title of the song that has a translation of Without Me?
### Answer:
SELECT title FROM table_name_38 WHERE english_translation = "without me" |
Below is an context that describes a sql 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 (result VARCHAR, week INTEGER)
### Question:
What is the result later than week 13?
### Answer:
SELECT result FROM table_name_64 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_27 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR, long VARCHAR)
### Question:
How much Loss has a Gain smaller than 1571, and a Long smaller than 47, and an Avg/G of 36.4?
### Answer:
SELECT COUNT(loss) FROM table_name_27 WHERE gain < 1571 AND long < 47 AND avg_g = 36.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_5 (accession_number VARCHAR, common_name VARCHAR)
### Question:
What is the accession number of the protein with the common name Purple Sea Urchin?
### Answer:
SELECT accession_number FROM table_name_5 WHERE common_name = "purple sea urchin" |
Below is an context that describes a sql 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 (away_team VARCHAR)
### Question:
What did South Melbourne score when they were the Away team?
### Answer:
SELECT away_team AS score FROM table_name_21 WHERE away_team = "south 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_71 (score VARCHAR, game VARCHAR)
### Question:
What was the score for game number 30?
### Answer:
SELECT score FROM table_name_71 WHERE game = 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_63 (engine VARCHAR, entrant VARCHAR, year VARCHAR)
### Question:
What engine did the Team Lotus have after 1965?
### Answer:
SELECT engine FROM table_name_63 WHERE entrant = "team lotus" AND year > 1965 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2588674_1 (pop_density INTEGER, village VARCHAR)
### Question:
What is the population density of mongmong-toto-maite?
### Answer:
SELECT MIN(pop_density) FROM table_2588674_1 WHERE village = "Mongmong-Toto-Maite" |
Below is an context that describes a sql 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 (city VARCHAR, gross_revenue__2011_ VARCHAR)
### Question:
Which city had a gross revenue in 2011 of $739,578?
### Answer:
SELECT city FROM table_name_92 WHERE gross_revenue__2011_ = "$739,578" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (height_ft___m VARCHAR, name VARCHAR)
### Question:
What is the height of the building named 555 17th street?
### Answer:
SELECT height_ft___m FROM table_name_77 WHERE name = "555 17th street" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20906175_3 (attempts VARCHAR, name VARCHAR)
### Question:
How many attempts did Charley Johnson have?
### Answer:
SELECT COUNT(attempts) FROM table_20906175_3 WHERE name = "Charley Johnson" |
Below is an context that describes a sql 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 (score VARCHAR, loss VARCHAR)
### Question:
What was the score of the game with a loss of Myers (5-6)?
### Answer:
SELECT score FROM table_name_47 WHERE loss = "myers (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 INVOICES (Product_ID VARCHAR)
### Question:
What is the product ID of the most frequently ordered item on invoices?
### Answer:
SELECT Product_ID FROM INVOICES GROUP BY Product_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_2182170_1 (_number INTEGER, driver_s_ VARCHAR)
### Question:
What number is on the car that Geoffrey Bodine drives?
### Answer:
SELECT MIN(_number) FROM table_2182170_1 WHERE driver_s_ = "Geoffrey Bodine" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15467476_3 (tries_for VARCHAR, club VARCHAR)
### Question:
How many tries for, for club cambrian welfare rfc?
### Answer:
SELECT tries_for FROM table_15467476_3 WHERE club = "Cambrian Welfare RFC" |
Below is an context that describes a sql 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 (quantity_made VARCHAR, class VARCHAR)
### Question:
What is the Quantity made when class is f-7?
### Answer:
SELECT quantity_made FROM table_name_92 WHERE class = "f-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_40 (lost INTEGER, points_1 VARCHAR, drawn VARCHAR, goals_against VARCHAR)
### Question:
What is the highest lost entry that has a drawn entry less than 6, goals against less than 44, and a points 1 entry of 27?
### Answer:
SELECT MAX(lost) FROM table_name_40 WHERE drawn < 6 AND goals_against < 44 AND points_1 = "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 table_1140113_5 (report VARCHAR, winning_driver VARCHAR)
### Question:
What was the report of Mike Hawthorn's winning race?
### Answer:
SELECT report FROM table_1140113_5 WHERE winning_driver = "Mike Hawthorn" |
Below is an context that describes a sql 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 (source VARCHAR, cartridge VARCHAR)
### Question:
What is Source, when Cartridge is .375 remington ultra magnum?
### Answer:
SELECT source FROM table_name_67 WHERE cartridge = ".375 remington ultra magnum" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17325937_5 (high_assists VARCHAR, date VARCHAR)
### Question:
What was the high assists on November 14?
### Answer:
SELECT high_assists FROM table_17325937_5 WHERE date = "November 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_33 (total INTEGER, name VARCHAR, vuelta VARCHAR)
### Question:
What is the total for miguel induráin with a Vuelta larger than 1?
### Answer:
SELECT MIN(total) FROM table_name_33 WHERE name = "miguel induráin" AND vuelta > 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_18958648_1 (obesity_rank INTEGER, state_and_district_of_columbia VARCHAR)
### Question:
What is the least obesity rank for the state of Utah?
### Answer:
SELECT MIN(obesity_rank) FROM table_18958648_1 WHERE state_and_district_of_columbia = "Utah" |
Below is an context that describes a sql 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 (points VARCHAR, grid VARCHAR, time_retired VARCHAR)
### Question:
Name the points with grid more than 8 and time/retired of +47.487 secs
### Answer:
SELECT points FROM table_name_74 WHERE grid > 8 AND time_retired = "+47.487 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_name_78 (no_6 VARCHAR, no_2 VARCHAR, no_3 VARCHAR)
### Question:
What was the No. 6 name when Emma was No. 2 and Sophia was No. 3?
### Answer:
SELECT no_6 FROM table_name_78 WHERE no_2 = "emma" AND no_3 = "sophia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (interview INTEGER, average VARCHAR, state VARCHAR)
### Question:
What is the highest interview for Louisiana with an average above 9.324?
### Answer:
SELECT MAX(interview) FROM table_name_77 WHERE average > 9.324 AND state = "louisiana" |
Below is an context that describes a sql 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 (semifinalists VARCHAR, surface VARCHAR, winner_and_score VARCHAR)
### Question:
Which Semifinalists have a Surface of hard, and a Winner and score of pete sampras 6–3, 3–6, 6–3?
### Answer:
SELECT semifinalists FROM table_name_95 WHERE surface = "hard" AND winner_and_score = "pete sampras 6–3, 3–6, 6–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_31 (date VARCHAR, loss VARCHAR)
### Question:
When was the date that had a Loss of Shirley (0-1)?
### Answer:
SELECT date FROM table_name_31 WHERE loss = "shirley (0-1)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25352324_5 (points VARCHAR, rebounds VARCHAR, blocks VARCHAR)
### Question:
What is every value for points if rebounds is 6 and blocks is 0?
### Answer:
SELECT points FROM table_25352324_5 WHERE rebounds = 6 AND blocks = 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_9 (goals INTEGER, name VARCHAR, ends VARCHAR)
### Question:
What is the greatest goals for Curtis Davies if ends is greater than 2012?
### Answer:
SELECT MAX(goals) FROM table_name_9 WHERE name = "curtis davies" AND ends > 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_name_12 (height_ft__m_ VARCHAR, floors INTEGER)
### Question:
What is the hight in ft and m of the building with less than 11 floors?
### Answer:
SELECT height_ft__m_ FROM table_name_12 WHERE floors < 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_17244483_1 (grid VARCHAR, points VARCHAR)
### Question:
What grid did the driver who earned 19 points start at?
### Answer:
SELECT grid FROM table_17244483_1 WHERE points = "19" |
Below is an context that describes a sql 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 (netflix VARCHAR, episode VARCHAR, segment_d VARCHAR)
### Question:
Which Netflix episode has an overall episode number under 69 and a Segment D of S Trombone?
### Answer:
SELECT netflix FROM table_name_92 WHERE episode < 69 AND segment_d = "s trombone" |
Below is an context that describes a sql 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, venue VARCHAR)
### Question:
What dates had matches at the venue Sabina Park?
### Answer:
SELECT date FROM table_name_50 WHERE venue = "sabina 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_6 (term VARCHAR, hometown VARCHAR, name VARCHAR)
### Question:
What was the term of Bruce Biers Kendall whose hometown is Anchorage?
### Answer:
SELECT term FROM table_name_6 WHERE hometown = "anchorage" AND name = "bruce biers kendall" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_134729_3 (format VARCHAR, owner VARCHAR)
### Question:
What station owns Moody Bible Institute
### Answer:
SELECT format FROM table_134729_3 WHERE owner = "Moody Bible Institute" |
Below is an context that describes a sql 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 (original_broadway_production VARCHAR, role VARCHAR)
### Question:
Which Original Broadway production has a Role of dr. victor von frankenstein?
### Answer:
SELECT original_broadway_production FROM table_name_1 WHERE role = "dr. victor von frankenstein" |
Below is an context that describes a sql 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 (method VARCHAR, event VARCHAR)
### Question:
What method of resolution was the fight that took place at hardcore championship fighting: destiny?
### Answer:
SELECT method FROM table_name_41 WHERE event = "hardcore championship fighting: destiny" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE address (district VARCHAR)
### Question:
How many addresses are in the district of California?
### Answer:
SELECT COUNT(*) FROM address WHERE district = 'California' |
Below is an context that describes a sql 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 (region VARCHAR, date VARCHAR)
### Question:
What region is the catalogue released on June 8, 2004 from?
### Answer:
SELECT region FROM table_name_88 WHERE date = "june 8, 2004" |
Below is an context that describes a sql 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 (finalist VARCHAR, year VARCHAR)
### Question:
What is Finalist, when Year is "2008"?
### Answer:
SELECT finalist FROM table_name_30 WHERE year = 2008 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19401346_1 (title VARCHAR, production_code VARCHAR)
### Question:
What's the title of the episode with production code 10018?
### Answer:
SELECT title FROM table_19401346_1 WHERE production_code = 10018 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE captain (name VARCHAR, rank VARCHAR)
### Question:
Find the name of captains whose rank are either Midshipman or Lieutenant.
### Answer:
SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant' |
Below is an context that describes a sql 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 (bronze INTEGER, nation VARCHAR, total VARCHAR)
### Question:
what is the least bronze when the nation is soviet union and the total is less than 11?
### Answer:
SELECT MIN(bronze) FROM table_name_51 WHERE nation = "soviet union" AND total < 11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.