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_42 (election VARCHAR)
### Question:
Which 1st Party has an Election of 1849 by-election?
### Answer:
SELECT 1 AS st_party FROM table_name_42 WHERE election = "1849 by-election" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (colonized VARCHAR, charter_range VARCHAR, school VARCHAR)
### Question:
What is the colonized date for the n/a charter range for appalachian state?
### Answer:
SELECT colonized FROM table_name_61 WHERE charter_range = "n/a" AND school = "appalachian state" |
Below is an context that describes a sql 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 (ifls___uifls VARCHAR, model VARCHAR)
### Question:
For Model e12 what is the IFLs/uIFLs?
### Answer:
SELECT ifls___uifls FROM table_name_77 WHERE model = "e12" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23286158_8 (team VARCHAR, location_attendance VARCHAR)
### Question:
Name the team at the rose garden 20,565
### Answer:
SELECT team FROM table_23286158_8 WHERE location_attendance = "Rose Garden 20,565" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)
### Question:
Name the candidates for texas 1
### Answer:
SELECT candidates FROM table_1341690_43 WHERE district = "Texas 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_61 (build_date VARCHAR, prr_class VARCHAR)
### Question:
What is the build date of the model with a PRR Class of brs24?
### Answer:
SELECT build_date FROM table_name_61 WHERE prr_class = "brs24" |
Below is an context that describes a sql 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 (total INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
What is the average medal total when the rank is less than 5 and less than 7 bronze medals were won?
### Answer:
SELECT AVG(total) FROM table_name_64 WHERE rank < 5 AND bronze < 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_67 (tournament VARCHAR, opponent VARCHAR)
### Question:
What is the Tournament against Vladimir Zednik?
### Answer:
SELECT tournament FROM table_name_67 WHERE opponent = "vladimir zednik" |
Below is an context that describes a sql 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 (class VARCHAR, part_4 VARCHAR)
### Question:
What was the class when part 4 was *rādanaz?
### Answer:
SELECT class FROM table_name_39 WHERE part_4 = "*rādanaz" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who was the home team that played against hawthorn?
### Answer:
SELECT home_team FROM table_name_65 WHERE away_team = "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_24 (score VARCHAR, country VARCHAR)
### Question:
What was Spain's score?
### Answer:
SELECT score FROM table_name_24 WHERE country = "spain" |
Below is an context that describes a sql 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 (date VARCHAR, first_audition_venue VARCHAR)
### Question:
What was the date when the first audition venue was Kemper Arena?
### Answer:
SELECT date FROM table_name_40 WHERE first_audition_venue = "kemper arena" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26448179_4 (title VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
What is the title of the episode watched by 3.2 million viewers?
### Answer:
SELECT title FROM table_26448179_4 WHERE us_viewers__millions_ = "3.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_72 (lost INTEGER, team VARCHAR, goals_for VARCHAR)
### Question:
What is Kirkby Town's lowest lost with more than 83 goals?
### Answer:
SELECT MIN(lost) FROM table_name_72 WHERE team = "kirkby town" AND goals_for > 83 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24481478_1 (week INTEGER, team_record VARCHAR)
### Question:
In which week was the team record 7–2?
### Answer:
SELECT MIN(week) FROM table_24481478_1 WHERE team_record = "7–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 (election VARCHAR, total_seats VARCHAR, seats VARCHAR)
### Question:
If the total number of seats is under 144, and the seats won is 32, which election is this?
### Answer:
SELECT election FROM table_name_37 WHERE total_seats < 144 AND seats = 32 |
Below is an context that describes a sql 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 (laps INTEGER, year VARCHAR, position VARCHAR, number VARCHAR)
### Question:
What is the fewest laps for a team with a position of DNF and a number smaller than 25 before 2001?
### Answer:
SELECT MIN(laps) FROM table_name_82 WHERE position = "dnf" AND number < 25 AND year < 2001 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, language VARCHAR)
### Question:
If the language is Native and Spanish, what is the Vinto Municipality minimum?
### Answer:
SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE language = "Native and Spanish" |
Below is an context that describes a sql 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 (sites INTEGER, screens VARCHAR, rank VARCHAR)
### Question:
what is the number of sites when the number of screens is 687 and rank is more than 7?
### Answer:
SELECT AVG(sites) FROM table_name_8 WHERE screens = 687 AND rank > 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_1342149_3 (district VARCHAR, incumbent VARCHAR)
### Question:
What district has Albert Rains as their representative?
### Answer:
SELECT district FROM table_1342149_3 WHERE incumbent = "Albert Rains" |
Below is an context that describes a sql 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 (representative VARCHAR, termination_of_mission VARCHAR)
### Question:
Which Representative has a Termination of Mission as May 24, 1905?
### Answer:
SELECT representative FROM table_name_10 WHERE termination_of_mission = "may 24, 1905" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17275810_7 (replaced_by VARCHAR, team VARCHAR)
### Question:
Name the replacced by with ascoli
### Answer:
SELECT replaced_by FROM table_17275810_7 WHERE team = "Ascoli" |
Below is an context that describes a sql 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 (arabic_capital_name VARCHAR, english_capital_name VARCHAR)
### Question:
What is the name of the capital, in Arabic, that is called n'djamena in English?
### Answer:
SELECT arabic_capital_name FROM table_name_7 WHERE english_capital_name = "n'djamena" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
What team was the opponent on October 15, 1967?
### Answer:
SELECT opponent FROM table_name_66 WHERE date = "october 15, 1967" |
Below is an context that describes a sql 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 (term INTEGER, elected VARCHAR, position VARCHAR)
### Question:
What is the lowest term from the 2007 election with the position of chairperson?
### Answer:
SELECT MIN(term) FROM table_name_94 WHERE elected = 2007 AND position = "chairperson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23308178_4 (score VARCHAR, date VARCHAR)
### Question:
What was the score on October 29?
### Answer:
SELECT score FROM table_23308178_4 WHERE date = "October 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_name_50 (player VARCHAR, country VARCHAR, place VARCHAR)
### Question:
What is Player, when Country is "England", and when Place is "T7"?
### Answer:
SELECT player FROM table_name_50 WHERE country = "england" AND place = "t7" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2201724_1 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What are the scores in matches against Tony Roche?
### Answer:
SELECT score_in_the_final FROM table_2201724_1 WHERE opponent_in_the_final = "Tony Roche" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22824199_1 (three_pointers INTEGER, free_throws VARCHAR)
### Question:
Of the players with 50 free throws, what is the lowest number of three pointers?
### Answer:
SELECT MIN(three_pointers) FROM table_22824199_1 WHERE free_throws = 50 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11727969_1 (species_in_the_peruvian_amazon VARCHAR, species_in_the_world VARCHAR)
### Question:
what's the total number of species in the peruvian amazon with 8411 species in the world
### Answer:
SELECT COUNT(species_in_the_peruvian_amazon) FROM table_11727969_1 WHERE species_in_the_world = 8411 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20524090_1 (county VARCHAR, mccain_percentage VARCHAR)
### Question:
In how many counties di McCain win 41.62% of the vote?
### Answer:
SELECT COUNT(county) FROM table_20524090_1 WHERE mccain_percentage = "41.62%" |
Below is an context that describes a sql 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 (game INTEGER, high_points VARCHAR)
### Question:
Which average Game has a High points of wilson chandler (16)?
### Answer:
SELECT AVG(game) FROM table_name_7 WHERE high_points = "wilson chandler (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_12496904_1 (_2012 VARCHAR, population_august_15 VARCHAR, sector VARCHAR)
### Question:
For the sector of Gatunda how many entires are show for the August 15, 2012 population?
### Answer:
SELECT COUNT(population_august_15), _2012 FROM table_12496904_1 WHERE sector = "Gatunda" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341598_22 (first_elected INTEGER, incumbent VARCHAR)
### Question:
What is the minimum first elected for ed markey?
### Answer:
SELECT MIN(first_elected) FROM table_1341598_22 WHERE incumbent = "Ed Markey" |
Below is an context that describes a sql 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 (subject INTEGER, plural VARCHAR)
### Question:
What subject has a plural of am(ô)ra (we)?
### Answer:
SELECT AVG(subject) FROM table_name_56 WHERE plural = "am(ô)ra (we)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (allegiance VARCHAR, name VARCHAR)
### Question:
Who did Winfield Scott have an allegiance with?
### Answer:
SELECT allegiance FROM table_name_28 WHERE name = "winfield scott" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15796072_1 (theme VARCHAR, original_artist VARCHAR)
### Question:
What was the theme when the original artist was The Beatles?
### Answer:
SELECT theme FROM table_15796072_1 WHERE original_artist = "The Beatles" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22383603_1 (finish__incl_championship_ VARCHAR, start__reg_season_ VARCHAR)
### Question:
When is the finish of the season that started on September 25?
### Answer:
SELECT finish__incl_championship_ FROM table_22383603_1 WHERE start__reg_season_ = "September 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_77 (visitor VARCHAR, date VARCHAR)
### Question:
Who was the visiting team on 12 March 2008?
### Answer:
SELECT visitor FROM table_name_77 WHERE date = "12 march 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_73 (opponent VARCHAR, time VARCHAR)
### Question:
Who is the opponent of the 3:00 time?
### Answer:
SELECT opponent FROM table_name_73 WHERE time = "3:00" |
Below is an context that describes a sql 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 (devices_per_channel VARCHAR, name VARCHAR)
### Question:
What is the Devices per channel where the Name is sata revision 3.0?
### Answer:
SELECT devices_per_channel FROM table_name_19 WHERE name = "sata revision 3.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_245800_2 (flight_up VARCHAR, launch_date VARCHAR)
### Question:
What station was sent on flight up and was launched on 23 July 1980 18:33:03?
### Answer:
SELECT flight_up FROM table_245800_2 WHERE launch_date = "23 July 1980 18:33:03" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16677738_1 (year INTEGER)
### Question:
What is the lowest overall year?
### Answer:
SELECT MIN(year) FROM table_16677738_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_93 (manner_of_departure VARCHAR, replaced_by VARCHAR)
### Question:
How did the manager replaced by Wolfgang Frank depart?
### Answer:
SELECT manner_of_departure FROM table_name_93 WHERE replaced_by = "wolfgang frank" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, administrative_centre VARCHAR)
### Question:
when administrative centre is egilsstaðir, what is the pop./ km²?
### Answer:
SELECT COUNT(pop__km²) FROM table_2252745_1 WHERE administrative_centre = "Egilsstaðir" |
Below is an context that describes a sql 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 (rank INTEGER, location VARCHAR, current_seating_capacity VARCHAR)
### Question:
What is the highest Rank, when Location is Kinshasa, DR Congo, and when Current Seating Capacity is less than 80,000?
### Answer:
SELECT MAX(rank) FROM table_name_90 WHERE location = "kinshasa, dr congo" AND current_seating_capacity < 80 OFFSET 000 |
Below is an context that describes a sql 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 (quantity_made VARCHAR, class VARCHAR)
### Question:
What is the quantity made of the locomotive with a Waterford class?
### Answer:
SELECT quantity_made FROM table_name_67 WHERE class = "waterford" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11734041_1 (player VARCHAR, school_club_team_country VARCHAR)
### Question:
What player attended Loyola Marymount?
### Answer:
SELECT player FROM table_11734041_1 WHERE school_club_team_country = "Loyola Marymount" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27039190_3 (game_3 VARCHAR, viewers VARCHAR)
### Question:
What was game 3 when there were under 2.61m viewers?
### Answer:
SELECT game_3 FROM table_27039190_3 WHERE viewers = "Under 2.61m" |
Below is an context that describes a sql 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 (total_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR)
### Question:
What is the goals number of goals for the player who had 2 league cup apps and 0 FA cup goals?
### Answer:
SELECT COUNT(total_goals) FROM table_name_64 WHERE league_cup_apps = "2" AND fa_cup_goals < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (wins VARCHAR, club VARCHAR)
### Question:
How many wins did Ayr United have?
### Answer:
SELECT wins FROM table_name_79 WHERE club = "ayr 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 customers (payment_method_code VARCHAR)
### Question:
For each payment method, return how many customers use it.
### Answer:
SELECT payment_method_code, COUNT(*) FROM customers GROUP BY payment_method_code |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23284271_10 (score VARCHAR, game VARCHAR)
### Question:
What is the score for game 78?
### Answer:
SELECT score FROM table_23284271_10 WHERE game = 78 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17632217_1 (season INTEGER)
### Question:
What is the lowest season?
### Answer:
SELECT MIN(season) FROM table_17632217_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_1646960_3 (winning_song VARCHAR, debut_album VARCHAR)
### Question:
What is the winning song for the artist with a debut album "mike"?
### Answer:
SELECT winning_song FROM table_1646960_3 WHERE debut_album = "Mike" |
Below is an context that describes a sql 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 (fa_cup VARCHAR, league VARCHAR, play_offs VARCHAR)
### Question:
What's the total of number of FA Cup that has a League small than 29 with Play-offs less than 0?
### Answer:
SELECT COUNT(fa_cup) FROM table_name_50 WHERE league < 29 AND play_offs < 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_60 (time_retired VARCHAR, grid VARCHAR)
### Question:
What is the time/retired of the one with grid of 16?
### Answer:
SELECT time_retired FROM table_name_60 WHERE grid = 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_2 (record VARCHAR, attendance VARCHAR)
### Question:
What was the score when attendance was 19,887?
### Answer:
SELECT record FROM table_name_2 WHERE attendance = "19,887" |
Below is an context that describes a sql 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 (team VARCHAR, race_title VARCHAR)
### Question:
What was the team that held the race title of Mallala?
### Answer:
SELECT team FROM table_name_47 WHERE race_title = "mallala" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2160215_1 (english___manga_uk__ VARCHAR, original_japanese VARCHAR)
### Question:
Who was the cast on the English (Manga UK) version if Kō Nishimura acted on the original Japanese?
### Answer:
SELECT english___manga_uk__ FROM table_2160215_1 WHERE original_japanese = "Kō Nishimura" |
Below is an context that describes a sql 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 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
### Question:
Which Grid has Laps of 25, and a Manufacturer of honda, and a Time/Retired of +1:47.797?
### Answer:
SELECT MIN(grid) FROM table_name_71 WHERE laps = 25 AND manufacturer = "honda" AND time_retired = "+1:47.797" |
Below is an context that describes a sql 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 (games VARCHAR, team VARCHAR)
### Question:
How many Games for the player with Rebounds from Efes Pilsen?
### Answer:
SELECT games FROM table_name_3 WHERE team = "efes pilsen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2897457_7 (pick__number VARCHAR, player VARCHAR)
### Question:
What are Scott Zygulski's pick numbers?
### Answer:
SELECT pick__number FROM table_2897457_7 WHERE player = "Scott Zygulski" |
Below is an context that describes a sql 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 (status VARCHAR, eliminated VARCHAR)
### Question:
Tell me the status of eliminated of anton dela paz
### Answer:
SELECT status FROM table_name_15 WHERE eliminated = "anton dela paz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23812628_1 (points VARCHAR, team__number1 VARCHAR)
### Question:
Name the points for zamora
### Answer:
SELECT points FROM table_23812628_1 WHERE team__number1 = "Zamora" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who was Richmond's away team opponent?
### Answer:
SELECT away_team FROM table_name_10 WHERE home_team = "richmond" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (introduced VARCHAR, retired VARCHAR, manufacturer VARCHAR)
### Question:
How many in the introduced segment retired later than 1994 and had Fokker as a manufacturer?
### Answer:
SELECT COUNT(introduced) FROM table_name_80 WHERE retired > 1994 AND manufacturer = "fokker" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Faculty (building VARCHAR)
### Question:
Show all the distinct buildings that have faculty rooms.
### Answer:
SELECT DISTINCT building FROM Faculty |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (player VARCHAR, caps VARCHAR, date_of_birth__age_ VARCHAR)
### Question:
Which player has a 1 February 1982 birthday and more than 16 caps?
### Answer:
SELECT player FROM table_name_61 WHERE caps > 16 AND date_of_birth__age_ = "1 february 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_22835602_1 (original_air_date VARCHAR, production_code VARCHAR)
### Question:
What is the original air date for production code 1ark79?
### Answer:
SELECT original_air_date FROM table_22835602_1 WHERE production_code = "1ARK79" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23248869_8 (record VARCHAR, high_rebounds VARCHAR)
### Question:
What was the record when the high rebounds was david lee (8)
### Answer:
SELECT record FROM table_23248869_8 WHERE high_rebounds = "David Lee (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_78 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
### Question:
What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen?
### Answer:
SELECT outgoing_manager FROM table_name_78 WHERE manner_of_departure = "end of tenure as caretaker" AND replaced_by = "jesper hansen" |
Below is an context that describes a sql 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 (nationality VARCHAR, lane INTEGER)
### Question:
What nationality is the swimmer that is in the lane that is less than 2?
### Answer:
SELECT nationality FROM table_name_3 WHERE lane < 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_12 (tournament VARCHAR, week VARCHAR)
### Question:
What was the Tournament on May 2?
### Answer:
SELECT tournament FROM table_name_12 WHERE week = "may 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_41 (attendance VARCHAR, date VARCHAR, week VARCHAR)
### Question:
What was the total attendance on December 14, 1975 after week 13?
### Answer:
SELECT COUNT(attendance) FROM table_name_41 WHERE date = "december 14, 1975" AND 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_11677691_12 (position VARCHAR, hometown VARCHAR)
### Question:
what are all the positions of players who's hometown is concord, california
### Answer:
SELECT position FROM table_11677691_12 WHERE hometown = "Concord, 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_67 (away_team VARCHAR, tie_no VARCHAR)
### Question:
What team was the away team when the tie no is 40?
### Answer:
SELECT away_team FROM table_name_67 WHERE tie_no = "40" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (round INTEGER, school_club_team VARCHAR, overall VARCHAR)
### Question:
What is the lowest round Trinity school was drafted with an overall higher than 21?
### Answer:
SELECT MIN(round) FROM table_name_89 WHERE school_club_team = "trinity" AND overall < 21 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18590048_1 (platform VARCHAR, units_sold__in_millions_ VARCHAR)
### Question:
What platform sold 11.18 million units?
### Answer:
SELECT platform FROM table_18590048_1 WHERE units_sold__in_millions_ = "11.18" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30007505_1 (semifinalists VARCHAR, country_territory VARCHAR)
### Question:
Name the semifinalists for singapore
### Answer:
SELECT semifinalists FROM table_30007505_1 WHERE country_territory = "Singapore" |
Below is an context that describes a sql 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 (points VARCHAR, series VARCHAR, position VARCHAR)
### Question:
What is Points, when Series is Queensland Formula Ford Championship, and when Position is 1st?
### Answer:
SELECT points FROM table_name_40 WHERE series = "queensland formula ford championship" AND position = "1st" |
Below is an context that describes a sql 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 (title VARCHAR, role VARCHAR)
### Question:
Which title did richard kolner play?
### Answer:
SELECT title FROM table_name_33 WHERE role = "richard kolner" |
Below is an context that describes a sql 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 (isolation__km_ INTEGER, municipality VARCHAR, elevation__m_ VARCHAR)
### Question:
What is the average Isolation in the municipality of Sunndal at an elevation of more than 1850?
### Answer:
SELECT AVG(isolation__km_) FROM table_name_83 WHERE municipality = "sunndal" AND elevation__m_ > 1850 |
Below is an context that describes a sql 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 (atheism VARCHAR, other VARCHAR)
### Question:
What is the percentage of Atheism associated with an other percentage of 0.08%?
### Answer:
SELECT atheism FROM table_name_90 WHERE other = "0.08%" |
Below is an context that describes a sql 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 (total INTEGER, silver VARCHAR, rank VARCHAR)
### Question:
What is the average Total when silver is less than 1, and the rank is 15?
### Answer:
SELECT AVG(total) FROM table_name_12 WHERE silver < 1 AND 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_name_29 (week INTEGER, opponent VARCHAR)
### Question:
What was the latest week that the Tampa Bay Buccaneers were an opponent?
### Answer:
SELECT MAX(week) FROM table_name_29 WHERE opponent = "tampa bay buccaneers" |
Below is an context that describes a sql 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 (week INTEGER, result VARCHAR)
### Question:
Result of w 21–7 had what average week?
### Answer:
SELECT AVG(week) FROM table_name_96 WHERE result = "w 21–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_36 (quantity_made VARCHAR, quantity_preserved VARCHAR, class VARCHAR)
### Question:
What is the quantity made of the e-22 class, which has a quantity preserved of 0?
### Answer:
SELECT quantity_made FROM table_name_36 WHERE quantity_preserved = "0" AND class = "e-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_27094070_4 (team VARCHAR, home_avg VARCHAR)
### Question:
Which team has the home average of 18125?
### Answer:
SELECT team FROM table_27094070_4 WHERE home_avg = 18125 |
Below is an context that describes a sql 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 (position VARCHAR, leeds_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR)
### Question:
What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play?
### Answer:
SELECT position FROM table_name_56 WHERE appearances > 167 AND nationality = "wales" AND goals > 0 AND leeds_career = "1977–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_94 (royal_house VARCHAR, name VARCHAR)
### Question:
What royal house did Shaokang belong to?
### Answer:
SELECT royal_house FROM table_name_94 WHERE name = "shaokang" |
Below is an context that describes a sql 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 (last_5_meetings VARCHAR, current_streak VARCHAR, last_meeting VARCHAR)
### Question:
What is the last 5 meetings that has w 5 as the current streak, and 3/18/2010 as the last meeting?
### Answer:
SELECT last_5_meetings FROM table_name_69 WHERE current_streak = "w 5" AND last_meeting = "3/18/2010" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (date VARCHAR, attendance VARCHAR)
### Question:
What was the date of the game with an attendance of 20,874 fans?
### Answer:
SELECT date FROM table_name_23 WHERE attendance = "20,874" |
Below is an context that describes a sql 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 (inhabitants VARCHAR, election VARCHAR, municipality VARCHAR)
### Question:
Which inhabitants have 2009 as the election, with cremona as the municipality?
### Answer:
SELECT inhabitants FROM table_name_42 WHERE election = 2009 AND municipality = "cremona" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668264_17 (result VARCHAR, party VARCHAR, incumbent VARCHAR)
### Question:
What was the result of the election where stephen van rensselaer was the incumbent and the party represented was the adams-clay federalist party?
### Answer:
SELECT result FROM table_2668264_17 WHERE party = "Adams-Clay Federalist" AND incumbent = "Stephen Van Rensselaer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15824796_3 (title VARCHAR, original_air_date VARCHAR)
### Question:
What is the title of the first episode of the season that begin on february 27, 1954?
### Answer:
SELECT title FROM table_15824796_3 WHERE original_air_date = "February 27, 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_name_30 (last_1_4 INTEGER, time VARCHAR, odds VARCHAR)
### Question:
What is the lowest last quarter with a time of 1:53.2 and odds of *1.30?
### Answer:
SELECT MIN(last_1_4) FROM table_name_30 WHERE time = "1:53.2" AND odds = "*1.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_11 (launch_date VARCHAR, space_agency VARCHAR, name VARCHAR)
### Question:
When did NASA launch the wide field infrared explorer (wire)?
### Answer:
SELECT launch_date FROM table_name_11 WHERE space_agency = "nasa" AND name = "wide field infrared explorer (wire)" |
Below is an context that describes a sql 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 (method VARCHAR, venue VARCHAR)
### Question:
The match that was held at Club Med Sandpiper has what method?
### Answer:
SELECT method FROM table_name_54 WHERE venue = "club med sandpiper" |
Below is an context that describes a sql 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_for INTEGER, goals_against VARCHAR, drawn VARCHAR, team VARCHAR)
### Question:
How many goals for had a drawn more than 12 for the Goole Town team, as well as more than 60 goals against?
### Answer:
SELECT SUM(goals_for) FROM table_name_45 WHERE drawn > 12 AND team = "goole town" AND goals_against > 60 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.