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_2 (reign_ended VARCHAR, length VARCHAR, country VARCHAR)
### Question:
Whose reign ended in Afghanistan after 3 days?
### Answer:
SELECT reign_ended FROM table_name_2 WHERE length = "3 days" AND country = "afghanistan" |
Below is an context that describes a sql 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 (beer VARCHAR, recorded VARCHAR)
### Question:
What beer has a record of 4.08?
### Answer:
SELECT beer FROM table_name_67 WHERE recorded = 4.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_17288845_7 (game INTEGER, date VARCHAR)
### Question:
What is the number of the game that was played on January 19?
### Answer:
SELECT MAX(game) FROM table_17288845_7 WHERE date = "January 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_87 (team_2 VARCHAR, captain_1 VARCHAR)
### Question:
Which Team 2 has a Captain 1 of final?
### Answer:
SELECT team_2 FROM table_name_87 WHERE captain_1 = "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_92 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
### Question:
What is the total attendance in a week greater than 1 with an opponent of Philadelphia Eagles?
### Answer:
SELECT COUNT(attendance) FROM table_name_92 WHERE week > 1 AND opponent = "philadelphia eagles" |
Below is an context that describes a sql 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 (laps VARCHAR, rider VARCHAR, grid VARCHAR)
### Question:
Total laps for Shinya Nakano at smaller than 10 grids.
### Answer:
SELECT COUNT(laps) FROM table_name_18 WHERE rider = "shinya nakano" AND grid < 10 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18943444_1 (samples_taken INTEGER, product VARCHAR)
### Question:
What is the smallest amount sampled of product 蒙牛牌嬰幼兒配方乳粉 ?
### Answer:
SELECT MIN(samples_taken) FROM table_18943444_1 WHERE product = "蒙牛牌嬰幼兒配方乳粉" |
Below is an context that describes a sql 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 (week_2 VARCHAR, week_3 VARCHAR)
### Question:
What was the week 2 before Lara Leverence was week 3?
### Answer:
SELECT week_2 FROM table_name_40 WHERE week_3 = "lara leverence" |
Below is an context that describes a sql 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 (home VARCHAR, score VARCHAR)
### Question:
What home has 136-134 as the score?
### Answer:
SELECT home FROM table_name_6 WHERE score = "136-134" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27495117_3 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
### Question:
What was the manner of departure for the appointment date of 21 september 2010
### Answer:
SELECT manner_of_departure FROM table_27495117_3 WHERE date_of_appointment = "21 September 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_39 (school VARCHAR, hometown VARCHAR)
### Question:
Which school has a Hometown of phoenix, az?
### Answer:
SELECT school FROM table_name_39 WHERE hometown = "phoenix, 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_23157997_13 (mountains_classification VARCHAR, youth_classification VARCHAR)
### Question:
How many Mountains Classifications were in the race with Mike Northey as Youth Classification?
### Answer:
SELECT COUNT(mountains_classification) FROM table_23157997_13 WHERE youth_classification = "Mike Northey" |
Below is an context that describes a sql 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 (game VARCHAR, date VARCHAR)
### Question:
What game took place on April 28?
### Answer:
SELECT game FROM table_name_33 WHERE date = "april 28" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE matches (winner_name VARCHAR, tourney_name VARCHAR, winner_hand VARCHAR)
### Question:
How many different winners both participated in the WTA Championships and were left handed?
### Answer:
SELECT COUNT(DISTINCT winner_name) FROM matches WHERE tourney_name = 'WTA Championships' AND winner_hand = 'L' |
Below is an context that describes a sql 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 (silver VARCHAR, bronze INTEGER)
### Question:
What is the number of silver when bronze is less than 0?
### Answer:
SELECT COUNT(silver) FROM table_name_10 WHERE bronze < 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_57 (outcome VARCHAR, date VARCHAR)
### Question:
What is the outcome on June 9, 1997?
### Answer:
SELECT outcome FROM table_name_57 WHERE date = "june 9, 1997" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (wkts INTEGER, ovrs VARCHAR, runs VARCHAR, player VARCHAR)
### Question:
What is the highest wkts for james hopes who had less than 26 runs and more than 2 ovrs?
### Answer:
SELECT MAX(wkts) FROM table_name_21 WHERE runs < 26 AND player = "james hopes" AND ovrs > 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_98 (silver INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR)
### Question:
what is the least silver when bronze is 1, rank is less than 2 and gold is more than 4?
### Answer:
SELECT MIN(silver) FROM table_name_98 WHERE bronze = 1 AND rank < 2 AND gold > 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_25246990_5 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
### Question:
How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn?
### Answer:
SELECT us_viewers__millions_ FROM table_25246990_5 WHERE written_by = "Lazar Saric & Jed Spingarn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19523142_5 (group_12 VARCHAR, group_9 VARCHAR)
### Question:
Who played in group 12 when Group 9 played psid jombang?
### Answer:
SELECT group_12 FROM table_19523142_5 WHERE group_9 = "PSID Jombang" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29535057_4 (location VARCHAR, acc_team VARCHAR)
### Question:
Where did the games that had Wake Forest as Acc Team take place?
### Answer:
SELECT location FROM table_29535057_4 WHERE acc_team = "Wake Forest" |
Below is an context that describes a sql 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 (date VARCHAR, game_site VARCHAR)
### Question:
What date has a Game site of bye?
### Answer:
SELECT date FROM table_name_77 WHERE game_site = "bye" |
Below is an context that describes a sql 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 (division_record VARCHAR, team VARCHAR)
### Question:
Name the division record for riders
### Answer:
SELECT division_record FROM table_name_28 WHERE team = "riders" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16799784_11 (latitude VARCHAR, diameter__km_ VARCHAR)
### Question:
At what latitude can you find the diameter (km) of 500.0?
### Answer:
SELECT latitude FROM table_16799784_11 WHERE diameter__km_ = "500.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_16489766_2 (administrative_population__2010_ VARCHAR, city VARCHAR)
### Question:
What is the total administrative population of Shanghai?
### Answer:
SELECT COUNT(administrative_population__2010_) FROM table_16489766_2 WHERE city = "Shanghai" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2374338_2 (population INTEGER, serbs VARCHAR)
### Question:
What is the smallest value of population if the value for Serbs is 73.53%?
### Answer:
SELECT MIN(population) FROM table_2374338_2 WHERE serbs = "73.53%" |
Below is an context that describes a 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_4 (height__f_ VARCHAR, position VARCHAR)
### Question:
For all players playing at the center, list the height in feet.
### Answer:
SELECT height__f_ FROM table_23670057_4 WHERE position = "Center" |
Below is an context that describes a sql 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 (yards VARCHAR, avg VARCHAR, rec VARCHAR)
### Question:
Name the total number of yards for avg of 9 and rec of 1
### Answer:
SELECT COUNT(yards) FROM table_name_99 WHERE avg = 9 AND rec = 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_66 (date VARCHAR, meet VARCHAR, time VARCHAR)
### Question:
On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78?
### Answer:
SELECT date FROM table_name_66 WHERE meet = "2007 pan american games" AND time = "1:07.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_name_17 (iata VARCHAR, icao VARCHAR)
### Question:
Which IATA's ICAO is rjss?
### Answer:
SELECT iata FROM table_name_17 WHERE icao = "rjss" |
Below is an context that describes a sql 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 (opponent VARCHAR, october VARCHAR, score VARCHAR)
### Question:
Which Opponent has a October larger than 20 with a Score of 2–2?
### Answer:
SELECT opponent FROM table_name_42 WHERE october > 20 AND score = "2–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_86 (pick__number INTEGER, name VARCHAR, round VARCHAR)
### Question:
Which Pick # is the highest one that has a Name of lawrence sidbury, and a Round smaller than 4?
### Answer:
SELECT MAX(pick__number) FROM table_name_86 WHERE name = "lawrence sidbury" AND round < 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 school (School_Colors VARCHAR, Enrollment VARCHAR)
### Question:
List the school color of the school that has the largest enrollment.
### Answer:
SELECT School_Colors FROM school ORDER BY Enrollment DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (player VARCHAR, place VARCHAR, score VARCHAR)
### Question:
who is the player when the place is t5 and the score is 69-74=143?
### Answer:
SELECT player FROM table_name_26 WHERE place = "t5" AND score = 69 - 74 = 143 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20462111_1 (winner VARCHAR, date VARCHAR)
### Question:
Who won the cup on 30.11.2008?
### Answer:
SELECT winner FROM table_20462111_1 WHERE date = "30.11.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_10875694_11 (product_no VARCHAR, title VARCHAR)
### Question:
How many products have the title "Jak 3"?
### Answer:
SELECT COUNT(product_no) FROM table_10875694_11 WHERE title = "Jak 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_22 (area__hectare_ VARCHAR, parish VARCHAR)
### Question:
What is the area for Worth Parish?
### Answer:
SELECT area__hectare_ FROM table_name_22 WHERE parish = "worth" |
Below is an context that describes a sql 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, date VARCHAR)
### Question:
What is Tournament, when Date is "6 October 2008"?
### Answer:
SELECT tournament FROM table_name_82 WHERE date = "6 october 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_99 (score VARCHAR, home VARCHAR, date VARCHAR)
### Question:
What is the Score of the Toronto Maple Leafs home game on February 1?
### Answer:
SELECT score FROM table_name_99 WHERE home = "toronto maple leafs" AND date = "february 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_46 (position VARCHAR, pick VARCHAR, college VARCHAR)
### Question:
Which position was picked before 63, for Oklahoma College?
### Answer:
SELECT position FROM table_name_46 WHERE pick < 63 AND college = "oklahoma" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE matches (winner_rank INTEGER)
### Question:
Find the average rank of winners in all matches.
### Answer:
SELECT AVG(winner_rank) FROM matches |
Below is an context that describes a sql 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 (analog_channel VARCHAR, digital_channel VARCHAR)
### Question:
Digital channel of 32 belongs to what analog channel?
### Answer:
SELECT analog_channel FROM table_name_3 WHERE digital_channel = "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_90 (entrant VARCHAR, engine VARCHAR, driver VARCHAR)
### Question:
Who is the entrant when the engine is talbot l6 and the driver is pierre levegh?
### Answer:
SELECT entrant FROM table_name_90 WHERE engine = "talbot l6" AND driver = "pierre levegh" |
Below is an context that describes a sql 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 (created INTEGER, map_number VARCHAR)
### Question:
What is the earliest created year when the map# was 10?
### Answer:
SELECT MIN(created) FROM table_name_33 WHERE map_number = 10 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28037619_2 (written_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Who wrote the episode that had 6.05 million U.s. viewers?
### Answer:
SELECT written_by FROM table_28037619_2 WHERE us_viewers__million_ = "6.05" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21260421_1 (score VARCHAR, location VARCHAR)
### Question:
How many tournaments were held at Alabama?
### Answer:
SELECT COUNT(score) FROM table_21260421_1 WHERE location = "Alabama" |
Below is an context that describes a sql 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 (name VARCHAR)
### Question:
What is the 1990–1991 Team that had Joel Otto?
### Answer:
SELECT 1990 AS _1991_team FROM table_name_41 WHERE name = "joel otto" |
Below is an context that describes a sql 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 (version VARCHAR, title VARCHAR)
### Question:
What Version has a Title of alarm clock?
### Answer:
SELECT version FROM table_name_77 WHERE title = "alarm clock" |
Below is an context that describes a sql 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 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)
### Question:
How many weeks have an Opponent of at san francisco 49ers, and an Attendance smaller than 34,354?
### Answer:
SELECT COUNT(week) FROM table_name_12 WHERE opponent = "at san francisco 49ers" AND attendance < 34 OFFSET 354 |
Below is an context that describes a 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_2 (school_club_team_country VARCHAR, no_s_ VARCHAR, position VARCHAR)
### Question:
What school did the forward whose number is 10 belong to?
### Answer:
SELECT school_club_team_country FROM table_11734041_2 WHERE no_s_ = "10" AND position = "Forward" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28211213_1 (founded INTEGER, team_nickname VARCHAR)
### Question:
When were the Spartans founded?
### Answer:
SELECT MAX(founded) FROM table_28211213_1 WHERE team_nickname = "Spartans" |
Below is an context that describes a sql 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 (country VARCHAR, swimsuit VARCHAR)
### Question:
What is the country of the contestant with a swimsuit of 9.46?
### Answer:
SELECT country FROM table_name_19 WHERE swimsuit = 9.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_97 (team VARCHAR, date VARCHAR)
### Question:
What is the Team on January 20?
### Answer:
SELECT team FROM table_name_97 WHERE date = "january 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_75 (date VARCHAR, loss VARCHAR)
### Question:
What is the Date of the game with a Loss of Leneveu (1–0–1)?
### Answer:
SELECT date FROM table_name_75 WHERE loss = "leneveu (1–0–1)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11630008_4 (season_no VARCHAR, series_no VARCHAR)
### Question:
How many seasons was series number 47 shown?
### Answer:
SELECT COUNT(season_no) FROM table_11630008_4 WHERE series_no = 47 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER)
### Question:
Which Asian countries have a population that is larger than any country in Africa?
### Answer:
SELECT Name FROM country WHERE Continent = "Asia" AND population > (SELECT MAX(population) FROM country WHERE Continent = "Africa") |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (winner VARCHAR, third_place VARCHAR)
### Question:
What is the name of the winner when Goran Ivanišević was in third place?
### Answer:
SELECT winner FROM table_name_65 WHERE third_place = "goran ivanišević" |
Below is an context that describes a sql 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 (dance VARCHAR, result VARCHAR, week VARCHAR)
### Question:
What Dance in Week 1 resulted in Safe?
### Answer:
SELECT dance FROM table_name_16 WHERE result = "safe" AND week = 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_15294880_2 (team_classification VARCHAR, winner VARCHAR)
### Question:
When the winner was Alessandro Ballan, how many total team classifications were there?
### Answer:
SELECT COUNT(team_classification) FROM table_15294880_2 WHERE winner = "Alessandro Ballan" |
Below is an context that describes a sql 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 (performance VARCHAR, athlete VARCHAR)
### Question:
What's the performance of Dire Tune?
### Answer:
SELECT performance FROM table_name_89 WHERE athlete = "dire tune" |
Below is an context that describes a sql 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 (name VARCHAR, position VARCHAR)
### Question:
What is the players name in the guard position?
### Answer:
SELECT name FROM table_name_95 WHERE position = "guard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21422977_1 (ministries INTEGER)
### Question:
What is the most amount of ministries?
### Answer:
SELECT MAX(ministries) FROM table_21422977_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_32 (Id VARCHAR)
### Question:
What is the 2008 entry for the row that as a 2011 entry of 1R?
### Answer:
SELECT 2008 FROM table_name_32 WHERE 2011 = "1r" |
Below is an context that describes a sql 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 (nature_of_incident VARCHAR, casualties VARCHAR, circumstances VARCHAR)
### Question:
What is the nature of the incident with Casualties of 3 wia, and Circumstances of ied?
### Answer:
SELECT nature_of_incident FROM table_name_93 WHERE casualties = "3 wia" AND circumstances = "ied" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE players (first_name VARCHAR, last_name VARCHAR, birth_date VARCHAR)
### Question:
List the first and last name of all players in the order of birth date.
### Answer:
SELECT first_name, last_name FROM players ORDER BY birth_date |
Below is an context that describes a sql 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 (method VARCHAR, event VARCHAR)
### Question:
Which method did pride bushido 10 have ?
### Answer:
SELECT method FROM table_name_56 WHERE event = "pride bushido 10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (chemical_class VARCHAR, example VARCHAR)
### Question:
Which chemical class uses the example Chloroethane (ethyl chloride)?
### Answer:
SELECT chemical_class FROM table_name_90 WHERE example = "chloroethane (ethyl chloride)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16859758_1 (release_date VARCHAR, title VARCHAR)
### Question:
When was "Tell You When" released?
### Answer:
SELECT release_date FROM table_16859758_1 WHERE title = "Tell You When" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2140071_12 (episode INTEGER, coach VARCHAR)
### Question:
Name the least episode for donnie klang
### Answer:
SELECT MIN(episode) FROM table_2140071_12 WHERE coach = "Donnie Klang" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26423157_2 (conference VARCHAR, school VARCHAR)
### Question:
What conference is Tennessee?
### Answer:
SELECT conference FROM table_26423157_2 WHERE school = "Tennessee" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (population VARCHAR, median_family_income VARCHAR)
### Question:
What is the population of the area with a median family income of $71,278?
### Answer:
SELECT COUNT(population) FROM table_name_59 WHERE median_family_income = "$71,278" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668378_5 (incumbent VARCHAR, candidates VARCHAR)
### Question:
Name the incumbent for matthew lyon (dr) anthony new (dr)
### Answer:
SELECT incumbent FROM table_2668378_5 WHERE candidates = "Matthew Lyon (DR) Anthony New (DR)" |
Below is an context that describes a sql 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 (conference_semifinals VARCHAR, conference_finals VARCHAR)
### Question:
Which Conference Semifinals has a Conference Finals of † denotes division championship?
### Answer:
SELECT conference_semifinals FROM table_name_57 WHERE conference_finals = "† denotes division championship" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (order_and_title VARCHAR, elevated VARCHAR, faction VARCHAR)
### Question:
What is the Order and Title with an Elevated with 1261, december 17, and a Faction with angevin?
### Answer:
SELECT order_and_title FROM table_name_88 WHERE elevated = "1261, december 17" AND faction = "angevin" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
what is the away team score when the home team is essendon?
### Answer:
SELECT away_team AS score FROM table_name_2 WHERE home_team = "essendon" |
Below is an context that describes a sql 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 (rank VARCHAR, run_2 VARCHAR)
### Question:
What is Rank, when Run 2 is 2:06.62?
### Answer:
SELECT rank FROM table_name_74 WHERE run_2 = "2:06.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_10874596_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
Who were the directors of the film submitted with the title Young Törless?
### Answer:
SELECT director FROM table_10874596_1 WHERE film_title_used_in_nomination = "Young Törless" |
Below is an context that describes 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 (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (amount_claimed INTEGER); CREATE TABLE policies (policy_id VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (policy_id VARCHAR, amount_claimed INTEGER)
### Question:
What is the name of the customer who has made the largest amount of claim in a single claim?
### Answer:
SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id = t2.policy_id JOIN customers AS t3 ON t2.customer_id = t3.customer_id WHERE t1.amount_claimed = (SELECT MAX(amount_claimed) FROM claim_headers) |
Below is an context that describes a sql 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 (h___a VARCHAR, round VARCHAR)
### Question:
what is the h/a round of round 2
### Answer:
SELECT h___a FROM table_name_34 WHERE round = "round 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_84 (attendance VARCHAR, date VARCHAR)
### Question:
What was the attendance for july 18?
### Answer:
SELECT COUNT(attendance) FROM table_name_84 WHERE date = "july 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_name_13 (tropical_lows INTEGER, season VARCHAR, tropical_cyclones VARCHAR)
### Question:
What is the largest number for tropical Lows for the 1990–91 season with more than 10 tropical cyclones?
### Answer:
SELECT MAX(tropical_lows) FROM table_name_13 WHERE season = "1990–91" AND tropical_cyclones > 10 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (owner VARCHAR, frequency VARCHAR)
### Question:
What is the Owner of Frequency 00 99.3?
### Answer:
SELECT owner FROM table_name_64 WHERE frequency = "00 99.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_17 (date VARCHAR, location VARCHAR)
### Question:
When was the incident in Pol-E Khomri?
### Answer:
SELECT date FROM table_name_17 WHERE location = "pol-e khomri" |
Below is an context that describes a sql 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 (career VARCHAR, pct VARCHAR, player VARCHAR)
### Question:
What is the career of player serhiy konovalov, who has less than 1 pct.?
### Answer:
SELECT career FROM table_name_23 WHERE pct < 1 AND player = "serhiy konovalov" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1430913_1 (height_from_sea_level_in_meters VARCHAR, category VARCHAR)
### Question:
picturesque and trekking route is the category what is the height from sea level in meters?
### Answer:
SELECT height_from_sea_level_in_meters FROM table_1430913_1 WHERE category = "Picturesque and trekking_route" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_207795_1 (russian_title VARCHAR, english_title VARCHAR)
### Question:
What is the russian title of the ugly swans?
### Answer:
SELECT russian_title FROM table_207795_1 WHERE english_title = "The Ugly Swans" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR)
### Question:
Which Location Attendance has a Record of 11–34?
### Answer:
SELECT location_attendance FROM table_name_27 WHERE record = "11–34" |
Below is an context that describes a sql 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 (total_trips__am_pm_ VARCHAR, operated_by VARCHAR)
### Question:
What trips are operated by Atlantic coast charters?
### Answer:
SELECT total_trips__am_pm_ FROM table_name_47 WHERE operated_by = "atlantic coast charters" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE representative (Lifespan VARCHAR, State VARCHAR)
### Question:
What are the life spans of representatives from New York state or Indiana state?
### Answer:
SELECT Lifespan FROM representative WHERE State = "New York" OR State = "Indiana" |
Below is an context that describes a sql 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 (laps INTEGER, driver VARCHAR)
### Question:
Which is least lap is mika salo in?
### Answer:
SELECT MIN(laps) FROM table_name_64 WHERE driver = "mika salo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (casting_at__°c_ VARCHAR, hardness VARCHAR)
### Question:
What is the casting temperature for the alloy with hardness 21?
### Answer:
SELECT casting_at__°c_ FROM table_name_98 WHERE hardness = "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_name_84 (record VARCHAR, date VARCHAR)
### Question:
What was the record for the date of June 14?
### Answer:
SELECT record FROM table_name_84 WHERE date = "june 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_170961_2 (census_ranking VARCHAR, population VARCHAR)
### Question:
when the population was 1599, what was the census ranking?
### Answer:
SELECT census_ranking FROM table_170961_2 WHERE population = 1599 |
Below is an context that describes a sql 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 (weight_class VARCHAR, time VARCHAR)
### Question:
Which weight class had a time of 4:59?
### Answer:
SELECT weight_class FROM table_name_65 WHERE time = "4:59" |
Below is an context that describes a sql 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 (time VARCHAR, opponent VARCHAR, round VARCHAR)
### Question:
What time was the game played against Cagliari that lasted 16 rounds?
### Answer:
SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "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_82 (date VARCHAR, year VARCHAR)
### Question:
When was the date in 1786?
### Answer:
SELECT date FROM table_name_82 WHERE year = 1786 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (opponent VARCHAR, week VARCHAR)
### Question:
who was the opponent when the week was 9?
### Answer:
SELECT opponent FROM table_name_44 WHERE week = "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_59 (surface VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What was the surface of the tournament where Anna Benzon was the opponent in the final?
### Answer:
SELECT surface FROM table_name_59 WHERE opponent_in_the_final = "anna benzon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Name all the candidates vying for Albert Bustamante's seat.
### Answer:
SELECT candidates FROM table_1341586_44 WHERE incumbent = "Albert Bustamante" |
Below is an context that describes a sql 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 (pl_gp VARCHAR, reg_gp INTEGER)
### Question:
What is the total PI GP that a Reg GP has larger than 3?
### Answer:
SELECT COUNT(pl_gp) FROM table_name_79 WHERE reg_gp > 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.