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_68 (record VARCHAR, game VARCHAR)
### Question:
What was the Record on Game 50?
### Answer:
SELECT record FROM table_name_68 WHERE game = 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_20684390_1 (mccain_number VARCHAR, obama_percentage VARCHAR)
### Question:
What is the total number of McCain vote totals where Obama percentages was 17.34%?
### Answer:
SELECT COUNT(mccain_number) FROM table_20684390_1 WHERE obama_percentage = "17.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_97 (score VARCHAR, report VARCHAR, date VARCHAR)
### Question:
What is the score of the FIFA report on October 13, 2007?
### Answer:
SELECT score FROM table_name_97 WHERE report = "fifa" AND date = "october 13, 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_23308178_5 (points INTEGER)
### Question:
What's the minimal number of points scored in any game?
### Answer:
SELECT MIN(points) FROM table_23308178_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_22917458_15 (winner VARCHAR, stage VARCHAR)
### Question:
Who won Stage 7?
### Answer:
SELECT winner FROM table_22917458_15 WHERE stage = 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_99 (result VARCHAR, year VARCHAR, category VARCHAR)
### Question:
What was album of the year after 2009?
### Answer:
SELECT result FROM table_name_99 WHERE year > 2009 AND category = "album of the year" |
Below is an context that describes a sql 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 (super_g VARCHAR, overall VARCHAR, combined VARCHAR)
### Question:
What's the Super G when the combined was 13 and the overall was more than 7?
### Answer:
SELECT super_g FROM table_name_77 WHERE overall > 7 AND combined = "13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (canadian_championship VARCHAR, name VARCHAR)
### Question:
What Canadian Championship has Ashtone Morgan Category:Articles with hcards as the name?
### Answer:
SELECT canadian_championship FROM table_name_45 WHERE name = "ashtone morgan category:articles with hcards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27987623_1 (us_viewers__in_million_ VARCHAR, written_by VARCHAR)
### Question:
How many viewers saw the episode written by kevin biegel & bill lawrence?
### Answer:
SELECT us_viewers__in_million_ FROM table_27987623_1 WHERE written_by = "Kevin Biegel & Bill Lawrence" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
Which tournament had a qf in 2011?
### Answer:
SELECT tournament FROM table_name_26 WHERE 2011 = "qf" |
Below is an context that describes a sql 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 (year_built VARCHAR, location_of_the_church VARCHAR)
### Question:
In what year was the church located in florø built?
### Answer:
SELECT year_built FROM table_name_29 WHERE location_of_the_church = "florø" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20704243_6 (original_air_date VARCHAR, season__number VARCHAR)
### Question:
What was the original air date for season 11?
### Answer:
SELECT original_air_date FROM table_20704243_6 WHERE season__number = 11 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (date VARCHAR, week VARCHAR, opponent VARCHAR)
### Question:
What is the date before week 13 and Miami Dolphins as an opponent?
### Answer:
SELECT date FROM table_name_48 WHERE week < 13 AND opponent = "miami dolphins" |
Below is an context that describes a sql 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 (votes VARCHAR, date VARCHAR)
### Question:
How many votes were there on November 10?
### Answer:
SELECT votes FROM table_name_32 WHERE date = "november 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 perpetrator (People_ID VARCHAR, Country VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
### Question:
What are the names of perpetrators in country "China" or "Japan"?
### Answer:
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Country = "China" OR T2.Country = "Japan" |
Below is an context that describes a sql 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 (points VARCHAR, club VARCHAR, rank VARCHAR)
### Question:
How many points did landskrona bois get when they were ranked below 18?
### Answer:
SELECT COUNT(points) FROM table_name_68 WHERE club = "landskrona bois" AND rank < 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_82 (laps VARCHAR, grid VARCHAR, time VARCHAR)
### Question:
How many laps did the rider with a grid larger than 14 and a time of +33.150 have?
### Answer:
SELECT laps FROM table_name_82 WHERE grid > 14 AND time = "+33.150" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26538461_2 (metrical_equivalence VARCHAR, portuguese_name VARCHAR)
### Question:
Name the metrical equivalence for linha
### Answer:
SELECT metrical_equivalence FROM table_26538461_2 WHERE portuguese_name = "Linha" |
Below is an context that describes a sql 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 (score VARCHAR, country VARCHAR, to_par VARCHAR)
### Question:
Can you tell me the Score that has the Country of united states, and the To par of 8?
### Answer:
SELECT score FROM table_name_45 WHERE country = "united states" AND to_par = 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_23 (player VARCHAR, nationality VARCHAR, year VARCHAR)
### Question:
After 2009, who was the player that has a nationality of Canada?
### Answer:
SELECT player FROM table_name_23 WHERE nationality = "canada" AND year > 2009 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1965650_4 (position VARCHAR, nhl_team VARCHAR)
### Question:
What's the number of positions of the player playing in Minnesota North Stars?
### Answer:
SELECT COUNT(position) FROM table_1965650_4 WHERE nhl_team = "Minnesota North Stars" |
Below is an context that describes a sql 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 (original_artist VARCHAR, week__number VARCHAR)
### Question:
What is the original artist of top 9 as the week number?
### Answer:
SELECT original_artist FROM table_name_88 WHERE week__number = "top 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_18 (award_ceremony VARCHAR, nominee VARCHAR)
### Question:
For which Award Ceremony was Emilio Pichardo as Bobby Strong nominated?
### Answer:
SELECT award_ceremony FROM table_name_18 WHERE nominee = "emilio pichardo as bobby strong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23938357_5 (name VARCHAR)
### Question:
what is the total 07-08 gp/jgp 2nd with the name mao asada
### Answer:
SELECT 07 AS _08_gp_jgp_2nd FROM table_23938357_5 WHERE name = "Mao Asada" |
Below is an context that describes a sql 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 (rank VARCHAR, player VARCHAR)
### Question:
What rank has jo angel (wa) as the player?
### Answer:
SELECT rank FROM table_name_47 WHERE player = "jo angel (wa)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (score VARCHAR, result VARCHAR, date VARCHAR)
### Question:
What score has won as the result on the date of December 14, 2004?
### Answer:
SELECT score FROM table_name_49 WHERE result = "won" AND date = "december 14, 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_22 (framed_size VARCHAR, date_completed VARCHAR)
### Question:
What was the frame size in 08/87?
### Answer:
SELECT framed_size FROM table_name_22 WHERE date_completed = "08/87" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2896329_1 (date VARCHAR, handicap VARCHAR)
### Question:
On what date was the handicap 8 st 12 lb?
### Answer:
SELECT date FROM table_2896329_1 WHERE handicap = "8 st 12 lb" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14655985_1 (position VARCHAR, college VARCHAR)
### Question:
what's the position with college being usc
### Answer:
SELECT position FROM table_14655985_1 WHERE college = "USC" |
Below is an context that describes a sql 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 (week VARCHAR, hot_100_reaction VARCHAR, performer_s_ VARCHAR)
### Question:
Which week has hot 100 reaction as did not debut for Natalie Cole?
### Answer:
SELECT week FROM table_name_71 WHERE hot_100_reaction = "did not debut" AND performer_s_ = "natalie cole" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28140141_1 (difficulty VARCHAR, year VARCHAR)
### Question:
How many shows were in 1994?
### Answer:
SELECT COUNT(difficulty) FROM table_28140141_1 WHERE year = 1994 |
Below is an context that describes a sql 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 (week INTEGER, result VARCHAR)
### Question:
What is the latest week with a game with a result of l 12–7?
### Answer:
SELECT MAX(week) FROM table_name_43 WHERE result = "l 12–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_10477224_1 (sepal_length VARCHAR, sepal_width VARCHAR, petal_length VARCHAR)
### Question:
Name the sepal length for sepal width of 2.8 and petal length of 5.1
### Answer:
SELECT sepal_length FROM table_10477224_1 WHERE sepal_width = "2.8" AND petal_length = "5.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_68 (round VARCHAR, position VARCHAR, overall VARCHAR)
### Question:
What round was the draft pick of tight end with an Overall larger than 21?
### Answer:
SELECT COUNT(round) FROM table_name_68 WHERE position = "tight end" 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_name_19 (season VARCHAR, lost VARCHAR)
### Question:
Name the 3rd for season less than 4 and lost of 61
### Answer:
SELECT 3 AS _rd FROM table_name_19 WHERE season < 4 AND lost = 61 |
Below is an context that describes a sql 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 (score VARCHAR, attendance VARCHAR)
### Question:
What was the score when the Rangers' attendance was 23,493?
### Answer:
SELECT score FROM table_name_70 WHERE attendance = "23,493" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27700530_15 (high_points VARCHAR, date VARCHAR)
### Question:
Who had the most points and how many did they have on April 22?
### Answer:
SELECT high_points FROM table_27700530_15 WHERE date = "April 22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (overall INTEGER, school_club_team VARCHAR, round VARCHAR)
### Question:
What is the highest overall rank of any Tennessee State player drafted before round 10?
### Answer:
SELECT MIN(overall) FROM table_name_48 WHERE school_club_team = "tennessee state" AND round < 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_88 (round INTEGER, position VARCHAR)
### Question:
What is the sum of Round with a Position that is center?
### Answer:
SELECT SUM(round) FROM table_name_88 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_52 (rank VARCHAR, name VARCHAR)
### Question:
What is the Rank of Qi Hui?
### Answer:
SELECT COUNT(rank) FROM table_name_52 WHERE name = "qi hui" |
Below is an context that describes a sql 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 (quantity_preserved VARCHAR, serial_numbers VARCHAR)
### Question:
What is the quantity preserved for the serial number of mallet and simple articulated locomotives?
### Answer:
SELECT quantity_preserved FROM table_name_19 WHERE serial_numbers = "mallet and simple articulated locomotives" |
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR)
### Question:
What is Country, when Player is Billy Mayfair?
### Answer:
SELECT country FROM table_name_50 WHERE player = "billy mayfair" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (date VARCHAR, partner VARCHAR, score VARCHAR)
### Question:
On what Date is Alexandra Fusai a Partner with a Score of 4–6, 6–3, 6–1?
### Answer:
SELECT date FROM table_name_46 WHERE partner = "alexandra fusai" AND score = "4–6, 6–3, 6–1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (result VARCHAR, week VARCHAR, game_site VARCHAR)
### Question:
When the game was played at Mile High Stadium before week 9, what was the result?
### Answer:
SELECT result FROM table_name_87 WHERE week < 9 AND game_site = "mile high stadium" |
Below is an context that describes a sql 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 (highest_attendance VARCHAR, rank VARCHAR, venue_name VARCHAR)
### Question:
What is Highest Attendance, when Rank is 90, and when Venue Name is Infineon Raceway?
### Answer:
SELECT highest_attendance FROM table_name_69 WHERE rank = 90 AND venue_name = "infineon raceway" |
Below is an context that describes a sql 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 (gold VARCHAR, bronze VARCHAR)
### Question:
What's the Gold that also has Bronze of Kim Sun-Bin?
### Answer:
SELECT gold FROM table_name_61 WHERE bronze = "kim sun-bin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (replaced_by VARCHAR, manner_of_departure VARCHAR, date_of_appointment VARCHAR)
### Question:
What kind of Replaced has a Manner of departure of end of contract on dec. 16, 2008?
### Answer:
SELECT replaced_by FROM table_name_49 WHERE manner_of_departure = "end of contract" AND date_of_appointment = "dec. 16, 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_55 (date VARCHAR, matches VARCHAR, round VARCHAR)
### Question:
What is Date, when Matches is less than 32, and when Round is Fifth Round Proper?
### Answer:
SELECT date FROM table_name_55 WHERE matches < 32 AND round = "fifth round proper" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25016824_2 (eliminated VARCHAR, immunity VARCHAR)
### Question:
Who was eliminated when immunity went to kent (jürgen)?
### Answer:
SELECT eliminated FROM table_25016824_2 WHERE immunity = "Kent (Jürgen)" |
Below is an context that describes a sql 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 (commercial_operation VARCHAR, unit VARCHAR)
### Question:
When was the Hamaoka-4 unit commercial operation date?
### Answer:
SELECT commercial_operation FROM table_name_42 WHERE unit = "hamaoka-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_41 (date VARCHAR, team VARCHAR)
### Question:
What is the date of the game against miami?
### Answer:
SELECT date FROM table_name_41 WHERE team = "miami" |
Below is an context that describes a sql 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 (player VARCHAR, nationality VARCHAR, round VARCHAR)
### Question:
Who is the player from Sweden from a round after 3?
### Answer:
SELECT player FROM table_name_77 WHERE nationality = "sweden" AND round > 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_1958768_3 (successor VARCHAR, district VARCHAR)
### Question:
Name the successor for pennsylvania 15th
### Answer:
SELECT successor FROM table_1958768_3 WHERE district = "Pennsylvania 15th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24101118_1 (model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR)
### Question:
what is the model where the processor is yorkfield and the brand name is xeon?
### Answer:
SELECT model__list_ FROM table_24101118_1 WHERE processor = "Yorkfield" AND brand_name = "Xeon" |
Below is an context that describes 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 (Location VARCHAR, School_ID VARCHAR); CREATE TABLE school_details (Nickname VARCHAR, School_ID VARCHAR)
### Question:
Show locations and nicknames of schools.
### Answer:
SELECT T1.Location, T2.Nickname FROM school AS T1 JOIN school_details AS T2 ON T1.School_ID = T2.School_ID |
Below is an context that describes a sql 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 (erp_w VARCHAR, call_sign VARCHAR)
### Question:
Name the total number of ERP W when the call sign is w217bf
### Answer:
SELECT COUNT(erp_w) FROM table_name_8 WHERE call_sign = "w217bf" |
Below is an context that describes a sql 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 (drawn VARCHAR, played VARCHAR, position VARCHAR, competition VARCHAR)
### Question:
how many times what the position 6th, the competition was super league xvii and played was larger than 27?
### Answer:
SELECT COUNT(drawn) FROM table_name_22 WHERE position = "6th" AND competition = "super league xvii" AND played > 27 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (area__km²_ INTEGER, county VARCHAR, population VARCHAR)
### Question:
What is the area (km²) of Nairnshire county, which has a population less than 11,050?
### Answer:
SELECT SUM(area__km²_) FROM table_name_34 WHERE county = "nairnshire" AND population < 11 OFFSET 050 |
Below is an context that describes a sql 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 (division VARCHAR, season INTEGER)
### Question:
What is the division for the season earlier than 2004?
### Answer:
SELECT division FROM table_name_60 WHERE season < 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_22165661_3 (location VARCHAR, tournament VARCHAR)
### Question:
What is the location of the 1999 tournament?
### Answer:
SELECT location FROM table_22165661_3 WHERE tournament = 1999 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30058355_7 (tues_23_aug VARCHAR, wed_24_aug VARCHAR)
### Question:
What is every entry for Tuesday August 23 if the entry for Wednesday August 24 is 22' 23.29 101.116mph?
### Answer:
SELECT tues_23_aug FROM table_30058355_7 WHERE wed_24_aug = "22' 23.29 101.116mph" |
Below is an context that describes a sql 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 (time VARCHAR, heat VARCHAR, lane VARCHAR)
### Question:
Can you tell me the Time that has the Heat of 1, and the Lane of 2?
### Answer:
SELECT time FROM table_name_72 WHERE heat = 1 AND 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_31 (episode INTEGER, original_airdate VARCHAR)
### Question:
What is the lowest episode number with an original airdate on 8 June 2008?
### Answer:
SELECT MIN(episode) FROM table_name_31 WHERE original_airdate = "8 june 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_245801_1 (flight_up VARCHAR, landing_date VARCHAR)
### Question:
Name the flight up for 10 december 1982 19:02:36 utc
### Answer:
SELECT flight_up FROM table_245801_1 WHERE landing_date = "10 December 1982 19:02:36 UTC" |
Below is an context that describes a sql 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 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR)
### Question:
What is the Interregnum ended for Count Palatine of Saxony of frederick augustus i, elector of saxony?
### Answer:
SELECT interregnum_ended FROM table_name_37 WHERE count_palatine_of_saxony = "frederick augustus i, elector of saxony" |
Below is an context that describes a sql 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 (event VARCHAR, athlete VARCHAR)
### Question:
Which event was Tatyana Lebedeva in?
### Answer:
SELECT event FROM table_name_75 WHERE athlete = "tatyana lebedeva" |
Below is an context that describes a sql 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 (pick INTEGER, team VARCHAR)
### Question:
What is the lowest number pick from san diego chargers?
### Answer:
SELECT MIN(pick) FROM table_name_3 WHERE team = "san diego chargers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342256_6 (incumbent VARCHAR, result VARCHAR)
### Question:
what's the incumbent with result being new seat republican gain
### Answer:
SELECT incumbent FROM table_1342256_6 WHERE result = "New seat Republican gain" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (year VARCHAR, open_cup VARCHAR)
### Question:
How many years did Real Colorado Foxes make it to the Open Cup 1st Round?
### Answer:
SELECT COUNT(year) FROM table_name_9 WHERE open_cup = "1st round" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_225204_4 (date_successor_seated VARCHAR, district VARCHAR)
### Question:
Name the date successor seated for pennsylvania 17th
### Answer:
SELECT date_successor_seated FROM table_225204_4 WHERE district = "Pennsylvania 17th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1473672_9 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
### Question:
what's the nhl team with college/junior/club team being brandon wheat kings (wchl)
### Answer:
SELECT nhl_team FROM table_1473672_9 WHERE college_junior_club_team = "Brandon Wheat Kings (WCHL)" |
Below is an context that describes a sql 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 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
### Question:
What is the smallest number of field goals for players with 4 touchdowns and less than 9 extra points?
### Answer:
SELECT MIN(field_goals) FROM table_name_5 WHERE touchdowns = 4 AND extra_points < 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_58 (grid INTEGER, driver VARCHAR)
### Question:
What is the total number of grids for peter gethin?
### Answer:
SELECT SUM(grid) FROM table_name_58 WHERE driver = "peter gethin" |
Below is an context that describes a sql 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 (engine VARCHAR, chassis VARCHAR)
### Question:
Which engine has a Chassis of lotus 44 f2?
### Answer:
SELECT engine FROM table_name_24 WHERE chassis = "lotus 44 f2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Templates (template_type_code VARCHAR)
### Question:
Show all template type codes and number of templates for each.
### Answer:
SELECT template_type_code, COUNT(*) FROM Templates GROUP BY template_type_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_name_58 (second VARCHAR, home VARCHAR, team VARCHAR, country VARCHAR)
### Question:
Who is the second of the North America team from Edmonton, Canada?
### Answer:
SELECT second FROM table_name_58 WHERE team = "north america" AND country = "canada" AND home = "edmonton" |
Below is an context that describes a sql 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 (volts VARCHAR, energy_to_weight_ratio VARCHAR)
### Question:
How many volts has an energy-to-weight ratio of 54 kj/kg to 2.0v?
### Answer:
SELECT volts FROM table_name_44 WHERE energy_to_weight_ratio = "54 kj/kg to 2.0v" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28211988_1 (womens_singles VARCHAR, season VARCHAR)
### Question:
How many people are women's singles in the season of 2000/01?
### Answer:
SELECT COUNT(womens_singles) FROM table_28211988_1 WHERE season = "2000/01" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342331_5 (incumbent VARCHAR, district VARCHAR)
### Question:
who is the the incumbent with dbeingtrict being arkansas 1
### Answer:
SELECT incumbent FROM table_1342331_5 WHERE district = "Arkansas 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_24807774_1 (afghan VARCHAR, bangladeshi VARCHAR)
### Question:
how many afghan in banglash is hungarian
### Answer:
SELECT afghan FROM table_24807774_1 WHERE bangladeshi = "Hungarian" |
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR, date VARCHAR)
### Question:
Which Opponent that has a Week larger than 3 on october 6, 1991?
### Answer:
SELECT opponent FROM table_name_78 WHERE week > 3 AND date = "october 6, 1991" |
Below is an context that describes a sql 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 (record VARCHAR, location VARCHAR, opponent VARCHAR)
### Question:
What was the record when the New York Knicks played at the Boston Garden?
### Answer:
SELECT record FROM table_name_51 WHERE location = "boston garden" AND opponent = "new york knicks" |
Below is an context that describes a sql 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 (skip VARCHAR, third VARCHAR)
### Question:
Which Skip has a Third of constanze hummelt?
### Answer:
SELECT skip FROM table_name_37 WHERE third = "constanze hummelt" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28634206_1 (country VARCHAR, miss_universe VARCHAR)
### Question:
Which country has had 8 miss universes?
### Answer:
SELECT country FROM table_28634206_1 WHERE miss_universe = "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_90 (builder VARCHAR, works_number VARCHAR, date VARCHAR)
### Question:
Name the builder for 4/1906 and works number more than 199
### Answer:
SELECT builder FROM table_name_90 WHERE works_number > 199 AND date = "4/1906" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_229059_2 (country VARCHAR, champion VARCHAR)
### Question:
How many different countries did the champion Se Ri Pak (2) represent?
### Answer:
SELECT COUNT(country) FROM table_229059_2 WHERE champion = "Se Ri Pak (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 station (name VARCHAR, lat INTEGER)
### Question:
What are the names of stations that have latitude lower than 37.5?
### Answer:
SELECT name FROM station WHERE lat < 37.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_41 (scorers VARCHAR, venue VARCHAR, opponent VARCHAR)
### Question:
Which Scorers have a Venue of A, and an Opponent of arsenal?
### Answer:
SELECT scorers FROM table_name_41 WHERE venue = "a" AND opponent = "arsenal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12159115_3 (us_viewers__millions_ VARCHAR, series__number VARCHAR)
### Question:
How many U.S Viewers, in millions, were for series # 26?
### Answer:
SELECT us_viewers__millions_ FROM table_12159115_3 WHERE series__number = 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_37 (opposing_pitcher VARCHAR, inning VARCHAR, team VARCHAR, location VARCHAR)
### Question:
Who is the Opposing Pitcher when Team is phillies, Location is pittsburgh, and Inning is 8th?
### Answer:
SELECT opposing_pitcher FROM table_name_37 WHERE team = "phillies" AND location = "pittsburgh" AND inning = "8th" |
Below is an context that describes a sql 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 (designer VARCHAR, restaurant_name VARCHAR)
### Question:
What designer has a restaurant named The Citizen?
### Answer:
SELECT designer FROM table_name_42 WHERE restaurant_name = "the citizen" |
Below is an context that describes a sql 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 (place VARCHAR, date VARCHAR, race VARCHAR, season VARCHAR)
### Question:
What is the place result of the downhill race before the 1996 season on 11-Mar-1995?
### Answer:
SELECT place FROM table_name_17 WHERE race = "downhill" AND season < 1996 AND date = "11-mar-1995" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
### Question:
What was the name of the show that had 10.47 million total viewers?
### Answer:
SELECT title FROM table_23793770_2 WHERE total_viewers__in_millions_ = "10.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 table_name_26 (t__µm_ INTEGER, technology VARCHAR)
### Question:
What is the sum of t (µm), when Technology is MJ?
### Answer:
SELECT SUM(t__µm_) FROM table_name_26 WHERE technology = "mj" |
Below is an context that describes a sql 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 (wins INTEGER, against VARCHAR)
### Question:
What is the least amount of wins when against is 1314?
### Answer:
SELECT MIN(wins) FROM table_name_41 WHERE against = 1314 |
Below is an context that describes a sql 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 (average INTEGER, matches INTEGER)
### Question:
What is the typical match smaller than 2?
### Answer:
SELECT AVG(average) FROM table_name_90 WHERE matches < 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_47 (Id VARCHAR)
### Question:
Which 2012 has a 2008 of grand slam tournaments?
### Answer:
SELECT 2012 FROM table_name_47 WHERE 2008 = "grand slam tournaments" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20898602_1 (position VARCHAR, player VARCHAR)
### Question:
howe many positions did wallace, mike mike wallace play for
### Answer:
SELECT COUNT(position) FROM table_20898602_1 WHERE player = "Wallace, Mike Mike Wallace" |
Below is an context that describes a sql 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 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
### Question:
Which Nationality has a College/Junior/Club Team (League) of swift current broncos (wchl)?
### Answer:
SELECT nationality FROM table_name_84 WHERE college_junior_club_team__league_ = "swift current broncos (wchl)" |
Below is an context that describes a sql 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 (spartak INTEGER, played VARCHAR, dynamo VARCHAR)
### Question:
what is the highest spartak when played is less than 15 and dynamo is less than 3?
### Answer:
SELECT MAX(spartak) FROM table_name_42 WHERE played < 15 AND dynamo < 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.