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 (tournament VARCHAR, outcome VARCHAR, surface VARCHAR)
### Question:
What tournament did Thomaz Bellucci become runner-up on a clay surface?
### Answer:
SELECT tournament FROM table_name_82 WHERE outcome = "runner-up" AND surface = "clay" |
Below is an context that describes a sql 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 (iata VARCHAR, airport VARCHAR)
### Question:
What is the IATA for Korla Airport.
### Answer:
SELECT iata FROM table_name_33 WHERE airport = "korla airport" |
Below is an context that describes a sql 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 (elevation__m_ INTEGER, prominence__m_ INTEGER)
### Question:
How much Elevation (m) has a Prominence (m) larger than 1,754?
### Answer:
SELECT SUM(elevation__m_) FROM table_name_45 WHERE prominence__m_ > 1 OFFSET 754 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE airport (Transit_Passengers INTEGER)
### Question:
What are the maximum and minimum number of transit passengers of all aiports.
### Answer:
SELECT MAX(Transit_Passengers), MIN(Transit_Passengers) FROM airport |
Below is an context that describes a sql 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 (series VARCHAR, home VARCHAR, opponent VARCHAR)
### Question:
Which Series has a Home of 2β0, and an Opponent of panathinaikos?
### Answer:
SELECT series FROM table_name_96 WHERE home = "2β0" AND opponent = "panathinaikos" |
Below is an context that describes a sql 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 (week_2 VARCHAR, week_3 VARCHAR)
### Question:
What was the week 2 prior to the when Brittany Alyse was week 3?
### Answer:
SELECT week_2 FROM table_name_60 WHERE week_3 = "brittany alyse" |
Below is an context that describes a sql 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 (gold INTEGER, total VARCHAR, silver VARCHAR)
### Question:
What is the low gold total for under 2 total and over 0 silvers?
### Answer:
SELECT MIN(gold) FROM table_name_57 WHERE total < 2 AND silver > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (type VARCHAR, locomotive_number VARCHAR)
### Question:
What type is locomotive number CTN 46?
### Answer:
SELECT type FROM table_name_26 WHERE locomotive_number = "ctn 46" |
Below is an context that describes a sql 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 (tv_network_s_ VARCHAR, country VARCHAR)
### Question:
What is the name of Bulgaria's TV network?
### Answer:
SELECT tv_network_s_ FROM table_name_92 WHERE country = "bulgaria" |
Below is an context that describes a sql 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 (tournament VARCHAR, runner_s__up VARCHAR)
### Question:
What is Tournament, when Runner(s)-Up is Garth Mulroy?
### Answer:
SELECT tournament FROM table_name_70 WHERE runner_s__up = "garth mulroy" |
Below is an context that describes a sql 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 (game VARCHAR, score VARCHAR, points VARCHAR)
### Question:
Which Game has a Score of 4β0 and Points of 44?
### Answer:
SELECT game FROM table_name_3 WHERE score = "4β0" AND points = 44 |
Below is an context that describes a sql 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 (placement INTEGER, final VARCHAR)
### Question:
What was the lowest placement with a final of 23.92?
### Answer:
SELECT MIN(placement) FROM table_name_38 WHERE final = "23.92" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18505065_1 (played VARCHAR, against VARCHAR)
### Question:
How many games had a deficit of 175?
### Answer:
SELECT COUNT(played) FROM table_18505065_1 WHERE against = 175 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (partner VARCHAR, date VARCHAR)
### Question:
Who was the partner on May 16, 2004?
### Answer:
SELECT partner FROM table_name_52 WHERE date = "may 16, 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_65 (episode VARCHAR, viewers__in_millions_ VARCHAR)
### Question:
Which Episode had 9.1 million viewers?
### Answer:
SELECT episode FROM table_name_65 WHERE viewers__in_millions_ = "9.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_3 (country VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
Which country has a to par of +2 for Bernhard Langer?
### Answer:
SELECT country FROM table_name_3 WHERE to_par = "+2" AND player = "bernhard langer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (average INTEGER, state VARCHAR, swimsuit VARCHAR)
### Question:
What is the highest average a contestant from Iowa with a swimsuit smaller than 9.267 has?
### Answer:
SELECT MAX(average) FROM table_name_14 WHERE state = "iowa" AND swimsuit < 9.267 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (time VARCHAR, method VARCHAR, record VARCHAR)
### Question:
What was the time of the match with a record of 9-0 and used the tko (doctor stoppage) method?
### Answer:
SELECT time FROM table_name_75 WHERE method = "tko (doctor stoppage)" AND record = "9-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_178398_1 (year_built INTEGER, location_of_the_church VARCHAR)
### Question:
What is the year that the oldest church was built in Jostedal?
### Answer:
SELECT MIN(year_built) FROM table_178398_1 WHERE location_of_the_church = "Jostedal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (city VARCHAR, name VARCHAR)
### Question:
What city has Sky Tower?
### Answer:
SELECT city FROM table_name_35 WHERE name = "sky tower" |
Below is an context that describes a sql 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 (country VARCHAR, city VARCHAR)
### Question:
Tell me the country for san juan
### Answer:
SELECT country FROM table_name_62 WHERE city = "san juan" |
Below is an context that describes a sql 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 (race VARCHAR, location VARCHAR)
### Question:
Who was the winner at spa-francorchamps?
### Answer:
SELECT race AS Winner FROM table_name_99 WHERE location = "spa-francorchamps" |
Below is an context that describes a sql 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 (song_choice VARCHAR, theme VARCHAR)
### Question:
What is the Song choice with a Theme that is 1960s?
### Answer:
SELECT song_choice FROM table_name_1 WHERE theme = "1960s" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18950885_3 (char_cells VARCHAR, graphics_mode INTEGER)
### Question:
If graphics mode is less than 1.0, what are the char cells?
### Answer:
SELECT char_cells FROM table_18950885_3 WHERE graphics_mode < 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_2941848_2 (year INTEGER, s_field_reporter VARCHAR)
### Question:
What is the highest year with field reporter Steve Lyons?
### Answer:
SELECT MAX(year) FROM table_2941848_2 WHERE s_field_reporter = "Steve Lyons" |
Below is an context that describes a sql 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 (name VARCHAR, qual_2 VARCHAR)
### Question:
What name has a qual 2 of 1:43.374?
### Answer:
SELECT name FROM table_name_97 WHERE qual_2 = "1:43.374" |
Below is an context that describes a sql 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 (authority VARCHAR, area VARCHAR, roll VARCHAR, decile VARCHAR)
### Question:
Name the authority for te akau with roll less than 254 and decile of 8
### Answer:
SELECT authority FROM table_name_64 WHERE roll < 254 AND decile = "8" AND area = "te akau" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR)
### Question:
What was the winning score of the PGA Championship (3)?
### Answer:
SELECT winning_score FROM table_13026799_1 WHERE championship = "PGA championship (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_83 (losses INTEGER, goal_difference VARCHAR, wins VARCHAR)
### Question:
Which Losses have a Goal Difference of -16, and less than 8 wins?
### Answer:
SELECT MIN(losses) FROM table_name_83 WHERE goal_difference = -16 AND wins < 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_87 (longitude INTEGER, county VARCHAR, latitude VARCHAR)
### Question:
How much Longitude has a County of nelson, and a Latitude larger than 47.980183?
### Answer:
SELECT SUM(longitude) FROM table_name_87 WHERE county = "nelson" AND latitude > 47.980183 |
Below is an context that describes a sql 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 (nation VARCHAR, rank VARCHAR, gold VARCHAR, total VARCHAR)
### Question:
Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6?
### Answer:
SELECT nation FROM table_name_74 WHERE gold > 0 AND total > 4 AND rank = "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 (d_44_β VARCHAR, d_46_β VARCHAR)
### Question:
What is the D 44 β when the D 46 β is r 26?
### Answer:
SELECT d_44_β FROM table_name_32 WHERE d_46_β = "r 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_29 (school VARCHAR, colors VARCHAR)
### Question:
What school is the team from that has the colors blue and gold?
### Answer:
SELECT school FROM table_name_29 WHERE colors = "blue and gold" |
Below is an context that describes a sql 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 (react INTEGER, lane VARCHAR)
### Question:
Can you tell me the lowest React that has the Lane of 5?
### Answer:
SELECT MIN(react) FROM table_name_50 WHERE lane = 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 (date VARCHAR, time VARCHAR, set_1 VARCHAR)
### Question:
When was there a Time of 18:00, and a Set 1 of 22β25?
### Answer:
SELECT date FROM table_name_92 WHERE time = "18:00" AND set_1 = "22β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_85 (frequency VARCHAR, part_number_s_ VARCHAR)
### Question:
What is Frequency, when Part Number(s) is AY80609004002AC?
### Answer:
SELECT frequency FROM table_name_85 WHERE part_number_s_ = "ay80609004002ac" |
Below is an context that describes a sql 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 (date VARCHAR, type VARCHAR)
### Question:
What was the date with a hilly stage?
### Answer:
SELECT date FROM table_name_16 WHERE type = "hilly stage" |
Below is an context that describes a sql 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 (visa_3 VARCHAR, visa_1 VARCHAR)
### Question:
Which Visa 3 has gui finkler as Visa 1?
### Answer:
SELECT visa_3 FROM table_name_83 WHERE visa_1 = "gui finkler" |
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
### Question:
What was the margin of victory over Brad Faxon?
### Answer:
SELECT margin_of_victory FROM table_name_51 WHERE runner_s__up = "brad faxon" |
Below is an context that describes a sql 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 (time VARCHAR, rider VARCHAR, bike VARCHAR, grid VARCHAR)
### Question:
What is the time recorded by David Salom on his Yamaha yzf-r6 when his grid was larger than 1?
### Answer:
SELECT time FROM table_name_81 WHERE bike = "yamaha yzf-r6" AND grid > 1 AND rider = "david salom" |
Below is an context that describes a sql 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 (team VARCHAR, outcome VARCHAR, opponent VARCHAR)
### Question:
Which team got a Behind outcome and had an opponent of Brisbane Bears?
### Answer:
SELECT team FROM table_name_86 WHERE outcome = "behind" AND opponent = "brisbane bears" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17810099_3 (writer_s_ VARCHAR, episode__number VARCHAR)
### Question:
who wrote episode 14?
### Answer:
SELECT writer_s_ FROM table_17810099_3 WHERE episode__number = "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_48 (title VARCHAR, production_number VARCHAR)
### Question:
What is the title of the film with a production number of 1023?
### Answer:
SELECT title FROM table_name_48 WHERE production_number = "1023" |
Below is an context that describes a sql 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 (to_par VARCHAR, score VARCHAR, player VARCHAR)
### Question:
What is Tom Kite with a Score of 68's To Par?
### Answer:
SELECT to_par FROM table_name_92 WHERE score = 68 AND player = "tom kite" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What was the result in 2011 for the French Open tournament?
### Answer:
SELECT 2011 FROM table_name_16 WHERE tournament = "french open" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (date VARCHAR, location VARCHAR)
### Question:
What date did the Boston Celtics play at Richfield Coliseum?
### Answer:
SELECT date FROM table_name_99 WHERE location = "richfield coliseum" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11210576_3 (final_episode VARCHAR, position VARCHAR)
### Question:
What was the final episode for Dea Agent?
### Answer:
SELECT final_episode FROM table_11210576_3 WHERE position = "DEA Agent" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (loss VARCHAR, record VARCHAR)
### Question:
What was the loss of the game when the record was 14β8?
### Answer:
SELECT loss FROM table_name_90 WHERE record = "14β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_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR)
### Question:
Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank?
### Answer:
SELECT MAX(lane) FROM table_name_87 WHERE time < 49.67 AND name = "michael klim" AND rank < 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_51 (chassis VARCHAR, drivers VARCHAR)
### Question:
What chassis doe Ross Davis use?
### Answer:
SELECT chassis FROM table_name_51 WHERE drivers = "ross davis" |
Below is an context that describes a sql 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 (time_retired VARCHAR, grid VARCHAR)
### Question:
What is the time/retired for grid 5?
### Answer:
SELECT time_retired FROM table_name_8 WHERE grid = 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_6 (teams VARCHAR, league VARCHAR, away VARCHAR)
### Question:
What team played in the Bundesliga league with an Away record of 2-1?
### Answer:
SELECT teams FROM table_name_6 WHERE league = "bundesliga" AND away = "2-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_5 (sales__billion_ INTEGER, company VARCHAR, profits__billion_$_ VARCHAR)
### Question:
What is the average sales in billions of walmart, which has more than 15.7 billion in profits?
### Answer:
SELECT AVG(sales__billion_) AS $_ FROM table_name_5 WHERE company = "walmart" AND profits__billion_$_ > 15.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_10 (team VARCHAR, location VARCHAR)
### Question:
what team scored in gomel
### Answer:
SELECT team FROM table_name_10 WHERE location = "gomel" |
Below is an context that describes a sql 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 (pick__number INTEGER, player VARCHAR)
### Question:
What is the sum of pick# for Don Majkowski?3
### Answer:
SELECT SUM(pick__number) FROM table_name_26 WHERE player = "don majkowski" |
Below is an context that describes a sql 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 (home_team VARCHAR, date VARCHAR)
### Question:
Which home team played on January 5, 2008?
### Answer:
SELECT home_team FROM table_name_79 WHERE date = "january 5, 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_name_34 (season VARCHAR, lost VARCHAR, points VARCHAR)
### Question:
Which season did the Minnesota Kicks lose 13 games and scored 156 points?
### Answer:
SELECT COUNT(season) FROM table_name_34 WHERE lost = 13 AND points = 156 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27539272_4 (score VARCHAR, game VARCHAR)
### Question:
Name the score for game 5
### Answer:
SELECT score FROM table_27539272_4 WHERE game = 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_96 (result VARCHAR, venue VARCHAR, opponent VARCHAR)
### Question:
Which Result has a Venue of A, and an Opponent of manchester united?
### Answer:
SELECT result FROM table_name_96 WHERE venue = "a" AND opponent = "manchester united" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_256286_39 (description VARCHAR, _percentage_yes VARCHAR)
### Question:
What is the measure where the yes% is 44.06%?
### Answer:
SELECT description FROM table_256286_39 WHERE _percentage_yes = "44.06%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20404716_1 (spanish_title VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
What is the Spanish title of the film whose title used in nomination was Ogu and Mampato in Rapa Nui?
### Answer:
SELECT spanish_title FROM table_20404716_1 WHERE film_title_used_in_nomination = "Ogu and Mampato in Rapa Nui" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26826304_1 (original_air_date VARCHAR, production_code VARCHAR)
### Question:
What was the air date of the episode that has a production code of 5aky13?
### Answer:
SELECT original_air_date FROM table_26826304_1 WHERE production_code = "5AKY13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2923917_4 (melbourne VARCHAR, distance VARCHAR)
### Question:
How many listings under Melbourne has a distance at 15km?
### Answer:
SELECT COUNT(melbourne) FROM table_2923917_4 WHERE distance = "15km" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE people (Hometown VARCHAR, Age INTEGER)
### Question:
Show the hometowns shared by people older than 23 and younger than 20.
### Answer:
SELECT Hometown FROM people WHERE Age > 23 INTERSECT SELECT Hometown FROM people WHERE Age < 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_77 (points INTEGER, record VARCHAR, game VARCHAR)
### Question:
Which Points have a Record of 45β21β4, and a Game larger than 70?
### Answer:
SELECT AVG(points) FROM table_name_77 WHERE record = "45β21β4" AND game > 70 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27730_9 (ijekavian VARCHAR, ikavian VARCHAR)
### Question:
What's the ijekavian translation of the ikavian word grijati?
### Answer:
SELECT ijekavian FROM table_27730_9 WHERE ikavian = "grijati" |
Below is an context that describes a sql 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 (draws INTEGER, south_west_dfl VARCHAR, byes VARCHAR)
### Question:
What is the lowest value for Draws, when South West DFL is "Tyrendarra", and when Byes is greater than 0?
### Answer:
SELECT MIN(draws) FROM table_name_68 WHERE south_west_dfl = "tyrendarra" 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_26336060_19 (date INTEGER, mintage VARCHAR, km_number VARCHAR)
### Question:
What is the maximum date for a mintage of 150 and a KM number of S66?
### Answer:
SELECT MAX(date) FROM table_26336060_19 WHERE mintage = 150 AND km_number = "S66" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19398910_4 (bout_1 VARCHAR, bout_5 VARCHAR)
### Question:
Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2?
### Answer:
SELECT bout_1 FROM table_19398910_4 WHERE bout_5 = "Andreev ( RUS ) W 5-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_21501518_1 (theme VARCHAR, original_artist VARCHAR)
### Question:
What is the theme of the song by Soul Brothers Six
### Answer:
SELECT theme FROM table_21501518_1 WHERE original_artist = "Soul Brothers Six" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29697744_1 (season VARCHAR, position VARCHAR)
### Question:
in what year the position was the 9th
### Answer:
SELECT season FROM table_29697744_1 WHERE position = "9th" |
Below is an context that describes a sql 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 (margin VARCHAR, match_date VARCHAR)
### Question:
What is Margin, when Match Date is Oct 17, 2007?
### Answer:
SELECT margin FROM table_name_86 WHERE match_date = "oct 17, 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_90 (code_name VARCHAR, distribution VARCHAR)
### Question:
with distribution of 20.6% what is the code name?
### Answer:
SELECT code_name FROM table_name_90 WHERE distribution = "20.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_97 (player VARCHAR, score VARCHAR)
### Question:
Which Player has a Score of 6β4, 7β6 (7β5)?
### Answer:
SELECT player FROM table_name_97 WHERE score = "6β4, 7β6 (7β5)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR, game VARCHAR)
### Question:
Where Date is october 11, and game greater than 4 what is the lowest attendance?
### Answer:
SELECT MIN(attendance) FROM table_name_34 WHERE date = "october 11" AND game > 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_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
### Question:
who won mixed doubles when zhou mi won womens singles
### Answer:
SELECT mixed_doubles FROM table_20361783_1 WHERE womens_singles = "Zhou Mi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15301258_1 (best_director VARCHAR, best_film VARCHAR)
### Question:
Name the best director for mother
### Answer:
SELECT best_director FROM table_15301258_1 WHERE best_film = "Mother" |
Below is an context that describes a sql 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 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)
### Question:
Which Seatshave a Share of votes of 18%, and a Share of seats of 3%, and a General election smaller than 1992?
### Answer:
SELECT MIN(seats) FROM table_name_6 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election < 1992 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (result VARCHAR, score VARCHAR, goal VARCHAR)
### Question:
Which Result has a Score of 1β0, and a Goal of 16?
### Answer:
SELECT result FROM table_name_7 WHERE score = "1β0" AND goal = 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_66 (time___gmt__ VARCHAR, serial VARCHAR)
### Question:
What is the time (GMT) for the 4A Serial?
### Answer:
SELECT time___gmt__ FROM table_name_66 WHERE serial = "4a" |
Below is an context that describes a sql 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 (year INTEGER, title VARCHAR)
### Question:
What average year contains the title of machineries of joy vol. 4?
### Answer:
SELECT AVG(year) FROM table_name_54 WHERE title = "machineries of joy vol. 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_4 (home VARCHAR, away VARCHAR)
### Question:
Home for away of hispano?
### Answer:
SELECT home FROM table_name_4 WHERE away = "hispano" |
Below is an context that describes a sql 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 (college VARCHAR, pick__number VARCHAR, position VARCHAR)
### Question:
Which College has a Pick # larger than 30, and a Position of ol?
### Answer:
SELECT college FROM table_name_22 WHERE pick__number > 30 AND position = "ol" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1971074_1 (enrollment INTEGER)
### Question:
What's the highest enrollment among the schools?
### Answer:
SELECT MAX(enrollment) FROM table_1971074_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_29332810_14 (stage INTEGER, aggressive_rider VARCHAR)
### Question:
Thomas de Gendt performed on what stage as aggressive rider?
### Answer:
SELECT MAX(stage) FROM table_29332810_14 WHERE aggressive_rider = "Thomas De Gendt" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13557843_3 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the game when the team was 1-2?
### Answer:
SELECT score FROM table_13557843_3 WHERE record = "1-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_99 (tries_against VARCHAR, try_bonus VARCHAR)
### Question:
If the try bonus was 5 what was the try against score?
### Answer:
SELECT tries_against FROM table_name_99 WHERE try_bonus = "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_20042805_2 (african_spoonbill VARCHAR, hadeda_ibis VARCHAR)
### Question:
What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar?
### Answer:
SELECT african_spoonbill FROM table_20042805_2 WHERE hadeda_ibis = "Flernecked Nightjar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25461827_2 (country VARCHAR, contestant VARCHAR)
### Question:
What country was Danissa Zurek from?
### Answer:
SELECT country FROM table_25461827_2 WHERE contestant = "Danissa Zurek" |
Below is an context that describes a sql 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 (venue VARCHAR, player VARCHAR)
### Question:
For player Les Ames, what was the venue?
### Answer:
SELECT venue FROM table_name_29 WHERE player = "les ames" |
Below is an context that describes a sql 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 (place VARCHAR, round_1 VARCHAR, year VARCHAR)
### Question:
Round 1 of beat lee janzen 3&2, and a Year smaller than 1998 has what total number of place?
### Answer:
SELECT COUNT(place) FROM table_name_40 WHERE round_1 = "beat lee janzen 3&2" AND year < 1998 |
Below is an context that describes a sql 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 (round INTEGER, school VARCHAR)
### Question:
What was the highest round that had northwestern?
### Answer:
SELECT MAX(round) FROM table_name_18 WHERE school = "northwestern" |
Below is an context that describes a sql 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 (result VARCHAR, year VARCHAR, nominated_work VARCHAR)
### Question:
What is the result for the king and I after 2006?
### Answer:
SELECT result FROM table_name_58 WHERE year > 2006 AND nominated_work = "the king and i" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)
### Question:
When was the game played that had Rochdale as the away team?
### Answer:
SELECT date FROM table_name_95 WHERE away_team = "rochdale" |
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR)
### Question:
If the Venue was princes park, which Date did the game take place on?
### Answer:
SELECT date FROM table_name_58 WHERE venue = "princes park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (teams VARCHAR, season VARCHAR)
### Question:
Which teams were in the 2006-07 season?
### Answer:
SELECT teams FROM table_name_41 WHERE season = "2006-07" |
Below is an context that describes a sql 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 (resale VARCHAR, down__up_to_kbit_s_ VARCHAR)
### Question:
what is the resale when the down (up to kbit/s) is 24000?
### Answer:
SELECT resale FROM table_name_41 WHERE down__up_to_kbit_s_ = 24000 |
Below is an context that describes a sql 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 (wins INTEGER, club VARCHAR, draws VARCHAR)
### Question:
What is the average number of wins for the Terang Club, when there are less than 0 draws?
### Answer:
SELECT AVG(wins) FROM table_name_43 WHERE club = "terang" AND draws < 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_63 (rounds VARCHAR, driver VARCHAR, engine VARCHAR)
### Question:
Which rounds did Vic Elford with a Ford cosworth dfv 3.0 v8 engine have?
### Answer:
SELECT rounds FROM table_name_63 WHERE driver = "vic elford" AND engine = "ford cosworth dfv 3.0 v8" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24786958_2 (game_site VARCHAR, date VARCHAR)
### Question:
Where was the game played that was on Sunday, May 27?
### Answer:
SELECT game_site FROM table_24786958_2 WHERE date = "Sunday, May 27" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.