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_40 (khmer VARCHAR, other VARCHAR)
### Question:
for the other of soun, what's the khmer?
### Answer:
SELECT khmer FROM table_name_40 WHERE other = "soun" |
Below is an context that describes a sql 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 (height_m___ft VARCHAR, street_address VARCHAR)
### Question:
What is the height m/ft where 207 w. hastings st. is the address?
### Answer:
SELECT height_m___ft FROM table_name_64 WHERE street_address = "207 w. hastings st." |
Below is an context that describes a sql 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 (venue VARCHAR, result VARCHAR)
### Question:
What venue had a draw?
### Answer:
SELECT venue FROM table_name_77 WHERE result = "draw" |
Below is an context that describes a sql 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, class VARCHAR, year VARCHAR)
### Question:
How many wins did the 500cc class have in 1979?
### Answer:
SELECT wins FROM table_name_20 WHERE class = "500cc" AND year = 1979 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (state VARCHAR, hometown VARCHAR)
### Question:
What is the state represented by the contestant from Mesa, AZ?
### Answer:
SELECT state FROM table_name_43 WHERE hometown = "mesa, az" |
Below is an context that describes a sql 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 (poles INTEGER, driver VARCHAR)
### Question:
How many poles does driver Nelson Piquet have?
### Answer:
SELECT SUM(poles) FROM table_name_83 WHERE driver = "nelson piquet" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23385853_1 (rally_base VARCHAR, rally_name VARCHAR)
### Question:
Name the rally base for rallye de france alsace
### Answer:
SELECT rally_base FROM table_23385853_1 WHERE rally_name = "Rallye de France Alsace" |
Below is an context that describes a sql 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 (circuit VARCHAR, date VARCHAR)
### Question:
what is the circuit when the date is 16 april?
### Answer:
SELECT circuit FROM table_name_60 WHERE date = "16 april" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2430014_8 (title VARCHAR, episode_no VARCHAR)
### Question:
What is the title of episode 2?
### Answer:
SELECT title FROM table_2430014_8 WHERE episode_no = 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_16186152_1 (delegates VARCHAR, candidate VARCHAR)
### Question:
Candidate John Mccain had how many delegates?
### Answer:
SELECT delegates FROM table_16186152_1 WHERE candidate = "John McCain" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25691838_6 (original_airdate VARCHAR, episode__number VARCHAR)
### Question:
What was the original airdate of episode #733?
### Answer:
SELECT original_airdate FROM table_25691838_6 WHERE episode__number = 733 |
Below is an context that describes a sql 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 (image_quality VARCHAR, date VARCHAR, multiple_sessions VARCHAR, authentication VARCHAR)
### Question:
what is the image quality when the multiple sessions is x, the authentication is ✓ and the date is may 15, 2007?
### Answer:
SELECT image_quality FROM table_name_32 WHERE multiple_sessions = "x" AND authentication = "✓" AND date = "may 15, 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_11 (mpg_us_combined INTEGER, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, transmission VARCHAR, co_2_g_km VARCHAR)
### Question:
What is the lowest combined mpg in the US for the A6 transmission, a CO2 g/km under 303, engine capacity over 2461, and L/100km urban (cold) of 15.9?
### Answer:
SELECT MIN(mpg_us_combined) FROM table_name_11 WHERE transmission = "a6" AND co_2_g_km < 303 AND engine_capacity > 2461 AND l_100km_urban__cold_ = 15.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_9 (round INTEGER, player VARCHAR)
### Question:
What is the lowest round that Adam Wiesel was picked?
### Answer:
SELECT MIN(round) FROM table_name_9 WHERE player = "adam wiesel" |
Below is an context that describes a sql 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 (club VARCHAR, stadium VARCHAR)
### Question:
What club does the stadium stc krymteplitsia belong to?
### Answer:
SELECT club FROM table_name_34 WHERE stadium = "stc krymteplitsia" |
Below is an context that describes a sql 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 (position VARCHAR, birthplace VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)
### Question:
What is the Position with a height of less than 183, and a weight of less than 91 kg and born in bloomington, minnesota?
### Answer:
SELECT position FROM table_name_73 WHERE height__cm_ < 183 AND weight__kg_ < 91 AND birthplace = "bloomington, minnesota" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25421463_1 (races INTEGER, points VARCHAR)
### Question:
How many races were there when Sigachev had 38 points?
### Answer:
SELECT MIN(races) FROM table_25421463_1 WHERE points = "38" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16710829_2 (result VARCHAR, opponent VARCHAR)
### Question:
Name the total number of results for new orleans saints
### Answer:
SELECT COUNT(result) FROM table_16710829_2 WHERE opponent = "New Orleans Saints" |
Below is an context that describes a sql 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 (markatal INTEGER, municipality VARCHAR, inhabitants_per_km² VARCHAR)
### Question:
What is the highest Markatal, when Municipality is Leirvík, and when Inhabitants Per Km² is greater than 79?
### Answer:
SELECT MAX(markatal) FROM table_name_69 WHERE municipality = "leirvík" AND inhabitants_per_km² > 79 |
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR)
### Question:
What is the fewest number of attendees at Kardinia Park?
### Answer:
SELECT MIN(crowd) FROM table_name_36 WHERE venue = "kardinia park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (european_election__uk_ VARCHAR, share_of_votes VARCHAR)
### Question:
Which European election (UK) has a Share of votes of 19%?
### Answer:
SELECT european_election__uk_ FROM table_name_41 WHERE share_of_votes = "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_81 (coat_of_cash_wearing_celebrity VARCHAR, episode_number VARCHAR)
### Question:
Who was the Coat of Cash Wearing Celebrity in Episode 6?
### Answer:
SELECT coat_of_cash_wearing_celebrity FROM table_name_81 WHERE episode_number = 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_69 (title VARCHAR, lyricist_s_ VARCHAR, composer_s_ VARCHAR)
### Question:
What is the Title, when the Lyricist(s) is Yarosake, and when the Composer(s) is Yarosake?
### Answer:
SELECT title FROM table_name_69 WHERE lyricist_s_ = "yarosake" AND composer_s_ = "yarosake" |
Below is an context that describes a sql 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 (week INTEGER, date VARCHAR)
### Question:
What week of the season had a date of october 5, 1975?
### Answer:
SELECT MIN(week) FROM table_name_24 WHERE date = "october 5, 1975" |
Below is an context that describes a sql 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 (tie_no VARCHAR, score VARCHAR, home_team VARCHAR)
### Question:
Which Tie # has a Score of 3–0, and a Home team of bristol rovers?
### Answer:
SELECT tie_no FROM table_name_39 WHERE score = "3–0" AND home_team = "bristol rovers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE CARS_DATA (Id VARCHAR, horsepower VARCHAR); CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR)
### Question:
Which model of the car has the minimum horsepower?
### Answer:
SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower 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_33 (decile VARCHAR, name VARCHAR)
### Question:
What is the Decile number for St Mary's Catholic School?
### Answer:
SELECT decile FROM table_name_33 WHERE name = "st mary's catholic school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (Id VARCHAR)
### Question:
What's the 2010 when they had a Q2 in 2009?
### Answer:
SELECT 2010 FROM table_name_10 WHERE 2009 = "q2" |
Below is an context that describes a sql 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 (game VARCHAR, score VARCHAR)
### Question:
Which Game has a Score of w 90–82 (ot)?
### Answer:
SELECT game FROM table_name_40 WHERE score = "w 90–82 (ot)" |
Below is an context that describes a sql 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 (rank VARCHAR, time VARCHAR)
### Question:
What was the rank of the team who raced at a time of 7:16.13?
### Answer:
SELECT rank FROM table_name_76 WHERE time = "7:16.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_2841865_2 (years VARCHAR, congress VARCHAR)
### Question:
What time span is listed under years for the 96th congres?
### Answer:
SELECT years FROM table_2841865_2 WHERE congress = "96th" |
Below is an context that describes a sql 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 (team__number2 VARCHAR, team__number1 VARCHAR)
### Question:
What is the team #2 with Deport as team #1?
### Answer:
SELECT team__number2 FROM table_name_31 WHERE team__number1 = "deport" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17246160_1 (wins VARCHAR, series VARCHAR)
### Question:
How many wins did the player have in the Formula BMW World Final?
### Answer:
SELECT wins FROM table_17246160_1 WHERE series = "Formula BMW World Final" |
Below is an context that describes a sql 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 (population_density__per_km²_ VARCHAR, name VARCHAR, capital VARCHAR)
### Question:
What is Population density (per km²), when Name is Antigua and Barbuda, and when Capital is St. John's?
### Answer:
SELECT population_density__per_km²_ FROM table_name_81 WHERE name = "antigua and barbuda" AND capital = "st. john's" |
Below is an context that describes a sql 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 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
What is the average total when gold is 0, bronze is 0, and silver is smaller than 1?
### Answer:
SELECT AVG(total) FROM table_name_54 WHERE gold = 0 AND bronze = 0 AND silver < 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_24 (lowest INTEGER, average INTEGER)
### Question:
What is the lowest attendance for a stadium that has an average smaller than 307?
### Answer:
SELECT AVG(lowest) FROM table_name_24 WHERE average < 307 |
Below is an context that describes a sql 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 (driver VARCHAR, points VARCHAR, team VARCHAR)
### Question:
Which driver for Greenfield Mowers Racing has fewer than 36 points?
### Answer:
SELECT driver FROM table_name_82 WHERE points < 36 AND team = "greenfield mowers 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_2668352_14 (incumbent VARCHAR, result VARCHAR)
### Question:
Name the incumbent for lost re-election democratic-republican hold
### Answer:
SELECT incumbent FROM table_2668352_14 WHERE result = "Lost re-election Democratic-Republican hold" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (car INTEGER, avg VARCHAR, long VARCHAR)
### Question:
How many carries for the RB averaging 4.7, and a long of over 30 yards?
### Answer:
SELECT SUM(car) FROM table_name_65 WHERE avg = 4.7 AND long > 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_53 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR)
### Question:
Which tournament has an Outcome of winner, and a Opponent of dia evtimova?
### Answer:
SELECT tournament FROM table_name_53 WHERE outcome = "winner" AND opponent = "dia evtimova" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23670057_5 (current_club VARCHAR, height__m_ VARCHAR)
### Question:
Which clubs have players with height 2.14m?
### Answer:
SELECT current_club FROM table_23670057_5 WHERE height__m_ = "2.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_1059743_2 (member_association VARCHAR, points VARCHAR)
### Question:
How many countries earned 177.2 points?
### Answer:
SELECT COUNT(member_association) FROM table_1059743_2 WHERE points = "177.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_8 (end_date VARCHAR, governor VARCHAR, term VARCHAR)
### Question:
What is the end date of the term for Governor of richard j. oglesby, and a Term of 1885–1889?
### Answer:
SELECT end_date FROM table_name_8 WHERE governor = "richard j. oglesby" AND term = "1885–1889" |
Below is an context that describes a sql 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 (show VARCHAR, date VARCHAR)
### Question:
Which Show is dated 9 June?
### Answer:
SELECT show FROM table_name_39 WHERE date = "9 june" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (segment_a VARCHAR, netflix VARCHAR)
### Question:
What is the segment for Netflix episode S08E04?
### Answer:
SELECT segment_a FROM table_name_94 WHERE netflix = "s08e04" |
Below is an context that describes a sql 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 (name VARCHAR, rank VARCHAR)
### Question:
Which Name had the Rank, 15?
### Answer:
SELECT name FROM table_name_54 WHERE rank = 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20170644_1 (pick__number INTEGER, cfl_team VARCHAR)
### Question:
What number pick did the CFL team bc lions (via hamilton via winnipeg ) have?
### Answer:
SELECT MAX(pick__number) FROM table_20170644_1 WHERE cfl_team = "BC Lions (via Hamilton via Winnipeg )" |
Below is an context that describes a sql 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 (entrant VARCHAR, year VARCHAR, points VARCHAR)
### Question:
What Entrant older than 1950 has points smaller than 7?
### Answer:
SELECT entrant FROM table_name_82 WHERE year > 1950 AND points < 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_18303274_1 (grand_prix VARCHAR, race_winner VARCHAR)
### Question:
What grand prixs did Daijiro Hiura win?
### Answer:
SELECT grand_prix FROM table_18303274_1 WHERE race_winner = "Daijiro Hiura" |
Below is an context that describes a sql 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 (crowd VARCHAR, venue VARCHAR)
### Question:
How many people were in the crowd at Lake Oval?
### Answer:
SELECT crowd FROM table_name_2 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_20 (rna_segment__gene_ INTEGER, protein VARCHAR, size___s_base_pair__ VARCHAR)
### Question:
What is the highest RNA segment having a protein of vp2 and a base pair size over 2690?
### Answer:
SELECT MAX(rna_segment__gene_) FROM table_name_20 WHERE protein = "vp2" AND size___s_base_pair__ > 2690 |
Below is an context that describes a sql 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 (career_w_l VARCHAR)
### Question:
What is the value in 2006 when Career Statistics is in Career W-L?
### Answer:
SELECT 2006 FROM table_name_70 WHERE career_w_l = "career statistics" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR)
### Question:
Which Away team has a Tie no of 4?
### Answer:
SELECT away_team FROM table_name_38 WHERE tie_no = "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_58 (candidate_name VARCHAR, target_approach VARCHAR)
### Question:
What is Candidate Name, when Target/Approach is "vaccine to amyloid-beta"?
### Answer:
SELECT candidate_name FROM table_name_58 WHERE target_approach = "vaccine to amyloid-beta" |
Below is an context that describes a sql 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 (format VARCHAR, call_sign VARCHAR)
### Question:
What is the format for the one which has a call sign of cite-fm-1?
### Answer:
SELECT format FROM table_name_94 WHERE call_sign = "cite-fm-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_74 (score VARCHAR, home_team VARCHAR)
### Question:
What was the score of the game when the home team was Lincoln City?
### Answer:
SELECT score FROM table_name_74 WHERE home_team = "lincoln city" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (body_length_mm INTEGER, lead_pitch_mm INTEGER)
### Question:
Which Body Length/mm has a Lead Pitch/mm smaller than 0.5?
### Answer:
SELECT AVG(body_length_mm) FROM table_name_9 WHERE lead_pitch_mm < 0.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_69 (score VARCHAR, tie_no VARCHAR)
### Question:
The game with 13 as the tie no had what as the score?
### Answer:
SELECT score FROM table_name_69 WHERE tie_no = "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_41 (avg INTEGER, player VARCHAR, fumbles VARCHAR)
### Question:
What was Buck Pierce's highest average when there were less than 2 fumbles?
### Answer:
SELECT MAX(avg) FROM table_name_41 WHERE player = "buck pierce" AND fumbles < 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_37 (watts INTEGER, city_of_license VARCHAR, class VARCHAR, frequency VARCHAR)
### Question:
How many Watts has a Class of a, and a Frequency of 91.5 fm, and a City of license of elkhart, kansas?
### Answer:
SELECT MIN(watts) FROM table_name_37 WHERE class = "a" AND frequency = "91.5 fm" AND city_of_license = "elkhart, kansas" |
Below is an context that describes a sql 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 (total INTEGER, year_s__won VARCHAR)
### Question:
What is the Total of the Player with a Year(s) won of 1982?
### Answer:
SELECT MIN(total) FROM table_name_77 WHERE year_s__won = "1982" |
Below is an context that describes a sql 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 (matches INTEGER, drawn VARCHAR, win__percentage VARCHAR, nationality VARCHAR, lost VARCHAR)
### Question:
Nationality of england, and a Lost larger than 39, and a Win % of 28.7, and a Drawn smaller than 37 had what sum of matches?
### Answer:
SELECT SUM(matches) FROM table_name_1 WHERE nationality = "england" AND lost > 39 AND win__percentage = 28.7 AND drawn < 37 |
Below is an context that describes a sql 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 (surface VARCHAR, date VARCHAR)
### Question:
Name the surface for 20 march 2007
### Answer:
SELECT surface FROM table_name_5 WHERE date = "20 march 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_19 (specific_impulse__s_ VARCHAR, scenario VARCHAR)
### Question:
What is the specific impulse for the engine with a scenario of sr-71 at mach 3.2 (wet)?
### Answer:
SELECT specific_impulse__s_ FROM table_name_19 WHERE scenario = "sr-71 at mach 3.2 (wet)" |
Below is an context that describes a sql 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 (drawn INTEGER, position VARCHAR, against VARCHAR)
### Question:
What is the smallest amount of draws when the position is less than 7 and the against is 19?
### Answer:
SELECT MIN(drawn) FROM table_name_38 WHERE position < 7 AND against = 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_18 (republican_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)
### Question:
What is the Republican seat plurality of North Carolina?
### Answer:
SELECT republican_seat_plurality FROM table_name_18 WHERE state_ranked_in_partisan_order = "north carolina" |
Below is an context that describes a sql 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 (number INTEGER, cars_per_set INTEGER)
### Question:
What is the largest number of cars per set that is less than 9?
### Answer:
SELECT MAX(number) FROM table_name_30 WHERE cars_per_set < 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_16 (event VARCHAR, competition VARCHAR, year VARCHAR)
### Question:
What event was the competition World Junior Championships in 2010?
### Answer:
SELECT event FROM table_name_16 WHERE competition = "world junior championships" AND year = 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_2857352_3 (digital_channel VARCHAR, virtual_channel VARCHAR)
### Question:
What digital channel corresponds to virtual channel 23.2?
### Answer:
SELECT digital_channel FROM table_2857352_3 WHERE virtual_channel = "23.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_15592941_1 (weight VARCHAR, player_name VARCHAR)
### Question:
How much does geno hayes weigh?
### Answer:
SELECT weight FROM table_15592941_1 WHERE player_name = "Geno Hayes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (designer VARCHAR, restaurant_name VARCHAR)
### Question:
What designer has a restaurant named of Cork & Cabbage?
### Answer:
SELECT designer FROM table_name_53 WHERE restaurant_name = "cork & cabbage" |
Below is an context that describes a sql 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 (grid INTEGER, laps VARCHAR, rider VARCHAR)
### Question:
Which Grid has Laps of 24, and a Rider of marco melandri?
### Answer:
SELECT SUM(grid) FROM table_name_22 WHERE laps = 24 AND rider = "marco melandri" |
Below is an context that describes a sql 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 (tournament VARCHAR, extra VARCHAR)
### Question:
What tournament had an extra of 3:06.94 s?
### Answer:
SELECT tournament FROM table_name_60 WHERE extra = "3:06.94 s" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11950720_4 (first_class_team VARCHAR, date_of_birth VARCHAR)
### Question:
Where is the first class team of date of birth 20 november 1969?
### Answer:
SELECT first_class_team FROM table_11950720_4 WHERE date_of_birth = "20 November 1969" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15187735_17 (segment_b VARCHAR, segment_c VARCHAR)
### Question:
for the shows featuring beet sugar, what was on before that
### Answer:
SELECT segment_b FROM table_15187735_17 WHERE segment_c = "Beet Sugar" |
Below is an context that describes a sql 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 (normal_environment_of_occurrence__in_native_words_ VARCHAR, proto_germanic_origin VARCHAR)
### Question:
what is the normal environment of occurrence that has a Proto-Germanic origin /ai/
### Answer:
SELECT normal_environment_of_occurrence__in_native_words_ FROM table_name_86 WHERE proto_germanic_origin = "/ai/" |
Below is an context that describes a sql 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 (place INTEGER, lost INTEGER)
### Question:
what is the average place when lost is more than 12?
### Answer:
SELECT AVG(place) FROM table_name_13 WHERE lost > 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_19722664_5 (rebounds INTEGER, player VARCHAR)
### Question:
How many rebounds did Rhonda Mapp make?
### Answer:
SELECT MAX(rebounds) FROM table_19722664_5 WHERE player = "Rhonda Mapp" |
Below is an context that describes a sql 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 (played INTEGER, points VARCHAR, position VARCHAR)
### Question:
What is the lowest number of played of the team with 18 points and a position greater than 5?
### Answer:
SELECT MIN(played) FROM table_name_74 WHERE points = 18 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 Activity (activity_name VARCHAR)
### Question:
What activities do we have?
### Answer:
SELECT activity_name FROM Activity |
Below is an context that describes a sql 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 (episode INTEGER, segment_d VARCHAR)
### Question:
What episode has a manual motorcycle transmissions section D?
### Answer:
SELECT SUM(episode) FROM table_name_20 WHERE segment_d = "manual motorcycle transmissions" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
### Question:
How many bronze had a total less than 4 and gold bigger than 1?
### Answer:
SELECT COUNT(bronze) FROM table_name_43 WHERE total < 4 AND gold > 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_26 (location VARCHAR, opponent VARCHAR)
### Question:
What location was fábio maldonado the opponent at?
### Answer:
SELECT location FROM table_name_26 WHERE opponent = "fábio maldonado" |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
Which Record has a Date of december 17?
### Answer:
SELECT record FROM table_name_99 WHERE date = "december 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_1990460_1 (year VARCHAR, regular_season VARCHAR)
### Question:
When did the 4th, Midwest season happen?
### Answer:
SELECT year FROM table_1990460_1 WHERE regular_season = "4th, Midwest" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27255755_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)
### Question:
What is the highest series number with 9.17 million US viewers?
### Answer:
SELECT MAX(no_in_series) FROM table_27255755_1 WHERE us_viewers__millions_ = "9.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_58 (tv_seasons INTEGER, tv_series VARCHAR, species VARCHAR)
### Question:
What is the smallest season for a tv series with a yes and human was the species?
### Answer:
SELECT MIN(tv_seasons) FROM table_name_58 WHERE tv_series = "yes" AND species = "human" |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
What was the record on February 2?
### Answer:
SELECT record FROM table_name_42 WHERE date = "february 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_24192190_1 (depth VARCHAR, time__utc_ VARCHAR)
### Question:
When 11:40:26 is the time (utc) what is the depth?
### Answer:
SELECT depth FROM table_24192190_1 WHERE time__utc_ = "11:40: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_85 (season VARCHAR, engine VARCHAR, team VARCHAR)
### Question:
What is the total number of Seasons, when the Engine is Cosworth, and when the Team is Kraco Racing?
### Answer:
SELECT COUNT(season) FROM table_name_85 WHERE engine = "cosworth" AND team = "kraco 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_87 (event VARCHAR, year VARCHAR, position VARCHAR)
### Question:
Which event in 2007 had a position of 5th?
### Answer:
SELECT event FROM table_name_87 WHERE year = 2007 AND position = "5th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14342210_14 (field_goals__5_points_ INTEGER, total_points VARCHAR)
### Question:
How many field goals were made by the person with 100 points in total?
### Answer:
SELECT MAX(field_goals__5_points_) FROM table_14342210_14 WHERE total_points = 100 |
Below is an context that describes a sql 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 (average INTEGER, evening_gown VARCHAR, state VARCHAR)
### Question:
What is the highest average for a contestant with an evening gown larger than 9.449 from Kansas?
### Answer:
SELECT MAX(average) FROM table_name_56 WHERE evening_gown > 9.449 AND state = "kansas" |
Below is an context that describes a sql 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 (masculine_an_stems VARCHAR, feminine_ō_stems VARCHAR, masculine_u_stems VARCHAR)
### Question:
What is the masculine an form for the word with a feminine ö ending of siangar and a masculine u ending of sunar?
### Answer:
SELECT masculine_an_stems FROM table_name_49 WHERE feminine_ō_stems = "siangar" AND masculine_u_stems = "sunar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20745706_1 (date VARCHAR, _number VARCHAR)
### Question:
What is the date of game 5?
### Answer:
SELECT date FROM table_20745706_1 WHERE _number = "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_2001348_1 (revising_convention_s_ VARCHAR, field VARCHAR)
### Question:
What was the revising convention of the field 'trimmers and stokers'?
### Answer:
SELECT revising_convention_s_ FROM table_2001348_1 WHERE field = "trimmers and stokers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22102732_1 (year__ceremony_ VARCHAR, english_title VARCHAR)
### Question:
What year and the corresponding ceremony was the english titled movie "time out" submitted?
### Answer:
SELECT year__ceremony_ FROM table_22102732_1 WHERE english_title = "Time Out" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11019212_1 (tuesday VARCHAR, location VARCHAR)
### Question:
what's the tuesday time with location being millhopper
### Answer:
SELECT tuesday FROM table_11019212_1 WHERE location = "Millhopper" |
Below is an context that describes a sql 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 (high_points VARCHAR, record VARCHAR)
### Question:
Which High points have a Record of 27–29?
### Answer:
SELECT high_points FROM table_name_67 WHERE record = "27–29" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23281862_10 (game INTEGER, score VARCHAR)
### Question:
Name the most game for w 113–96 (ot)
### Answer:
SELECT MAX(game) FROM table_23281862_10 WHERE score = "W 113–96 (OT)" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.