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_30 (week_4_sept_21 VARCHAR, week_10_nov_2 VARCHAR)
### Question:
What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)?
### Answer:
SELECT week_4_sept_21 FROM table_name_30 WHERE week_10_nov_2 = "michigan state (8-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_60 (nation VARCHAR, athlete VARCHAR)
### Question:
what nation is bianca knight the answer for?
### Answer:
SELECT nation FROM table_name_60 WHERE athlete = "bianca knight"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR)
### Question:
Name the broadcast for 7:00pm and mississippi state
### Answer:
SELECT broadcast FROM table_26842217_18 WHERE time = "7:00pm" AND home_team = "Mississippi 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_29 (type VARCHAR, value VARCHAR)
### Question:
What's the type of 0.0 value?
### Answer:
SELECT type FROM table_name_29 WHERE value = "0.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_19744915_17 (rank INTEGER, vote_percentage VARCHAR)
### Question:
If the vote percentage is 2.111%, what was the minimum rank?
### Answer:
SELECT MIN(rank) FROM table_19744915_17 WHERE vote_percentage = "2.111%"
|
Below is an context that describes a sql 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 (genre VARCHAR, title VARCHAR)
### Question:
What genre was Music in the Air?
### Answer:
SELECT genre FROM table_name_7 WHERE title = "music in the air"
|
Below is an context that describes a sql 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 (outcome VARCHAR, date VARCHAR)
### Question:
What is Outcome, when Date is "19 September 2012"?
### Answer:
SELECT outcome FROM table_name_97 WHERE date = "19 september 2012"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10610087_3 (title VARCHAR, written_by VARCHAR)
### Question:
What is the title of the episode written by denis leary, peter tolan and evan reilly?
### Answer:
SELECT title FROM table_10610087_3 WHERE written_by = "Denis Leary, Peter Tolan and Evan Reilly"
|
Below is an context that describes a sql 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 (winning_score VARCHAR, runner_s__up VARCHAR, margin_of_victory VARCHAR)
### Question:
What was the winning score when the runner-up was Beth Daniel and the margin of victory was 7 strokes?
### Answer:
SELECT winning_score FROM table_name_42 WHERE runner_s__up = "beth daniel" AND margin_of_victory = "7 strokes"
|
Below is an context that describes a sql 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 (method VARCHAR, record VARCHAR)
### Question:
What was the method of resolution when LaVerne Clark's record was 23-16-1?
### Answer:
SELECT method FROM table_name_84 WHERE record = "23-16-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 (attendance INTEGER, week VARCHAR)
### Question:
What was the attendance in week 9?
### Answer:
SELECT AVG(attendance) FROM table_name_26 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_94 (score VARCHAR, attendance VARCHAR)
### Question:
Can you tell me the Score that has the Attendance of 4,567?
### Answer:
SELECT score FROM table_name_94 WHERE attendance = "4,567"
|
Below is an context that describes a sql 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 (winning_constructor VARCHAR, fastest_lap VARCHAR)
### Question:
When the fastest lap was driven by damon hill who was the winning constructor?
### Answer:
SELECT winning_constructor FROM table_name_16 WHERE fastest_lap = "damon hill"
|
Below is an context that describes 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, Population VARCHAR, LifeExpectancy VARCHAR, Continent VARCHAR, SurfaceArea VARCHAR)
### Question:
Find the name, population and expected life length of asian country with the largest area?
### Answer:
SELECT Name, Population, LifeExpectancy FROM country WHERE Continent = "Asia" ORDER BY SurfaceArea 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_89 (change INTEGER, _percentage_votes VARCHAR, seats VARCHAR)
### Question:
What is the change number with fewer than 4.7% votes and more than 0 seats?
### Answer:
SELECT SUM(change) FROM table_name_89 WHERE _percentage_votes < 4.7 AND seats > 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 wrestler (Name VARCHAR, Days_held VARCHAR)
### Question:
List the names of wrestlers in descending order of days held.
### Answer:
SELECT Name FROM wrestler ORDER BY Days_held DESC
|
Below is an context that describes a sql 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 (surface VARCHAR, opponents VARCHAR)
### Question:
What was the surface when the opponent was sergiy stakhovsky mikhail youzhny?
### Answer:
SELECT surface FROM table_name_24 WHERE opponents = "sergiy stakhovsky mikhail youzhny"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17827271_1 (roleplay VARCHAR, actor_required VARCHAR)
### Question:
How many RolePlay actors played the role requiring a "male, younger" actor?
### Answer:
SELECT COUNT(roleplay) FROM table_17827271_1 WHERE actor_required = "Male, younger"
|
Below is an context that describes a sql 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 (latitude VARCHAR, water__sqmi_ INTEGER)
### Question:
How much Latitude has a Water (sqmi) smaller than 0?
### Answer:
SELECT COUNT(latitude) FROM table_name_69 WHERE water__sqmi_ < 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_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
### Question:
What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?
### Answer:
SELECT stage FROM table_name_56 WHERE points_classification = "silvio martinello" AND general_classification = "davide rebellin"
|
Below is an context that describes a sql 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 (tournament VARCHAR, result VARCHAR)
### Question:
What Tournament did he place 12th in?
### Answer:
SELECT tournament FROM table_name_58 WHERE result = "12th"
|
Below is an context that describes a sql 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 (score VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What was the score of the final against Dane Propoggia?
### Answer:
SELECT score FROM table_name_72 WHERE opponent_in_the_final = "dane propoggia"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (bronze INTEGER, nation VARCHAR, total VARCHAR)
### Question:
Which the highest Bronze of czech republic with a Total smaller than 4?
### Answer:
SELECT MAX(bronze) FROM table_name_63 WHERE nation = "czech republic" AND total < 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_68 (position VARCHAR, overall VARCHAR)
### Question:
What is the position of the player with a 143 overall?
### Answer:
SELECT position FROM table_name_68 WHERE overall = 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_14986292_1 (area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR)
### Question:
Name the number of area where population density 2010 for 514
### Answer:
SELECT COUNT(area__km²_) FROM table_14986292_1 WHERE population_density_2010___km²_ = 514
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20722805_1 (mccain_percentage VARCHAR, obama_percentage VARCHAR)
### Question:
What was McCain's percentage when Obama had 64.39% of the vote?
### Answer:
SELECT mccain_percentage FROM table_20722805_1 WHERE obama_percentage = "64.39%"
|
Below is an context that describes a sql 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 (player VARCHAR, event VARCHAR, aces VARCHAR)
### Question:
How many players were in the event after 2011 with less than 9 aces?
### Answer:
SELECT COUNT(player) FROM table_name_72 WHERE event > 2011 AND NOT aces < 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_71 (occupation VARCHAR, residence VARCHAR, rank VARCHAR, gender VARCHAR)
### Question:
Which Occupation has a Rank of 5th, a Gender of M, with a Residence of orono?
### Answer:
SELECT occupation FROM table_name_71 WHERE rank = "5th" AND gender = "m" AND residence = "orono"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342359_17 (candidates VARCHAR, first_elected VARCHAR)
### Question:
How many people were elected in 1929
### Answer:
SELECT COUNT(candidates) FROM table_1342359_17 WHERE first_elected = 1929
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24778847_2 (link VARCHAR, date_of_polling VARCHAR)
### Question:
What format is the link for the polling data for February 10–28, 2011?
### Answer:
SELECT link FROM table_24778847_2 WHERE date_of_polling = "February 10–28, 2011"
|
Below is an context that describes a sql 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 (incumbent VARCHAR, district VARCHAR)
### Question:
What is Incumbent, when District is "Louisiana 4"?
### Answer:
SELECT incumbent FROM table_name_7 WHERE district = "louisiana 4"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (party VARCHAR, incumbent VARCHAR)
### Question:
What party is Charles Van Wyck part of?
### Answer:
SELECT party FROM table_name_4 WHERE incumbent = "charles van wyck"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29141354_5 (first_broadcast VARCHAR, andrew_and_jacks_guest VARCHAR)
### Question:
When were episodes first broadcast with jessica ennis as andrew and jacks guest?
### Answer:
SELECT first_broadcast FROM table_29141354_5 WHERE andrew_and_jacks_guest = "Jessica Ennis"
|
Below is an context that describes a sql 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 (school_name VARCHAR, year_open VARCHAR)
### Question:
WHAT IS THE ENROLLMENT FOR école saint-therèse AFTER 1954?
### Answer:
SELECT MIN(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école saint-therèse" AND year_open > 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 city (city VARCHAR, regional_population INTEGER)
### Question:
Please give me a list of cities whose regional population is over 10000000.
### Answer:
SELECT city FROM city WHERE regional_population > 10000000
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1974782_1 (enrollment INTEGER, institution VARCHAR)
### Question:
What's Babson College's enrollment?
### Answer:
SELECT MAX(enrollment) FROM table_1974782_1 WHERE institution = "Babson College"
|
Below is an context that describes a sql 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 (number_of_sequences_number_of_sequences VARCHAR, name VARCHAR)
### Question:
What is the number of sequences for the name Alifoldz?
### Answer:
SELECT number_of_sequences_number_of_sequences AS :_ FROM table_name_72 WHERE name = "alifoldz"
|
Below is an context that describes a sql 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 (games INTEGER, points VARCHAR, name VARCHAR)
### Question:
What is the total number of games that has Juan Carlos Navarro and more than 266 points?
### Answer:
SELECT SUM(games) FROM table_name_77 WHERE points > 266 AND name = "juan carlos navarro"
|
Below is an context that describes a sql 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 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
### Question:
Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic
### Answer:
SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic"
|
Below is an context that describes a sql 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 (outcome VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)
### Question:
Name the Outcome has a Surface of hard, and a Score in the final of 6–2, 6–4?
### Answer:
SELECT outcome FROM table_name_82 WHERE surface = "hard" AND score_in_the_final = "6–2, 6–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_27723228_8 (high_rebounds VARCHAR, record VARCHAR)
### Question:
Who had the high rebounds when the record was 14–7?
### Answer:
SELECT high_rebounds FROM table_27723228_8 WHERE record = "14–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_2618119_1 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)
### Question:
How many titles have directors of matthew Penn and number in series of 143?
### Answer:
SELECT COUNT(title) FROM table_2618119_1 WHERE directed_by = "Matthew Penn" AND no_in_series = 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_name_42 (score_final INTEGER, rank_final VARCHAR, year VARCHAR)
### Question:
Which Score-Final has a Rank-Final of 2, and a Year smaller than 2008?
### Answer:
SELECT SUM(score_final) FROM table_name_42 WHERE rank_final = 2 AND year < 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_26 (wins INTEGER, top_5 VARCHAR)
### Question:
Which Wins has a Top-5 of 6?
### Answer:
SELECT AVG(wins) FROM table_name_26 WHERE top_5 = 6
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_255188_1 (founded INTEGER, institution VARCHAR)
### Question:
When was Piedmont College founded?
### Answer:
SELECT MAX(founded) FROM table_255188_1 WHERE institution = "Piedmont College"
|
Below is an context that describes a sql 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 (year VARCHAR, color_commentator_s_ VARCHAR)
### Question:
Name the year for jerry sichting
### Answer:
SELECT year FROM table_name_26 WHERE color_commentator_s_ = "jerry sichting"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (score VARCHAR, competition VARCHAR, date VARCHAR)
### Question:
What was the score in the Continental Qualifier on February 23, 2003?
### Answer:
SELECT score FROM table_name_63 WHERE competition = "continental qualifier" AND date = "february 23, 2003"
|
Below is an context that describes a sql 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 (group_position VARCHAR, date VARCHAR)
### Question:
What is the Group position for the date of 7 November 2007?
### Answer:
SELECT group_position FROM table_name_9 WHERE date = "7 november 2007"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (fleet VARCHAR, launched VARCHAR)
### Question:
Which fleet launched on July 30, 1961?
### Answer:
SELECT fleet FROM table_name_63 WHERE launched = "july 30, 1961"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (finish VARCHAR, record VARCHAR)
### Question:
Which finish has a Record of 74-68?
### Answer:
SELECT finish FROM table_name_35 WHERE record = "74-68"
|
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR)
### Question:
What place was Bill Glasson in?
### Answer:
SELECT place FROM table_name_49 WHERE player = "bill glasson"
|
Below is an context that describes a sql 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 (russian_name VARCHAR, latin_3_letter_code VARCHAR)
### Question:
What is the Russian name with lbr as the Latin 3-letter code?
### Answer:
SELECT russian_name FROM table_name_86 WHERE latin_3_letter_code = "lbr"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18077713_1 (year_to_april VARCHAR, revenue__us_$million_ VARCHAR)
### Question:
What is the year to april when the revenue is 434.8 million dollars?
### Answer:
SELECT year_to_april FROM table_18077713_1 WHERE revenue__us_$million_ = "434.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_2 (engine VARCHAR, team VARCHAR, year VARCHAR, points VARCHAR)
### Question:
What engine was used by Curb Motorsports after 1982 that had 11 points?
### Answer:
SELECT engine FROM table_name_2 WHERE year > 1982 AND points = 11 AND team = "curb motorsports"
|
Below is an context that describes a sql 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 (rank INTEGER, period VARCHAR, games VARCHAR)
### Question:
What is the rank for the period of 1973–89, with less than 423 games.
### Answer:
SELECT SUM(rank) FROM table_name_7 WHERE period = "1973–89" AND games < 423
|
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR)
### Question:
Which Date has a Venue of bucharest?
### Answer:
SELECT date FROM table_name_3 WHERE venue = "bucharest"
|
Below is an context that describes a sql 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 (date VARCHAR, result VARCHAR)
### Question:
On which date was there a win?
### Answer:
SELECT date FROM table_name_56 WHERE result = "win"
|
Below is an context that describes a sql 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 (year INTEGER, yellow_jersey VARCHAR)
### Question:
What year was yellow jersey of Jacques Anquetil?
### Answer:
SELECT MIN(year) FROM table_name_66 WHERE yellow_jersey = "jacques anquetil"
|
Below is an context that describes a sql 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 (byes VARCHAR, draws INTEGER)
### Question:
What's the total byes for more than 1 draw?
### Answer:
SELECT COUNT(byes) FROM table_name_74 WHERE draws > 1
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (manager_1 VARCHAR, captain VARCHAR)
### Question:
Who was the manager for the team with captain Neil Redfearn?
### Answer:
SELECT manager_1 FROM table_name_24 WHERE captain = "neil redfearn"
|
Below is an context that describes a sql 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 (place VARCHAR, score INTEGER)
### Question:
What is Place, when Score is less than 70?
### Answer:
SELECT place FROM table_name_44 WHERE score < 70
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (country VARCHAR, finish VARCHAR, player VARCHAR)
### Question:
From what Country is T2 Finish Player Gary Player?
### Answer:
SELECT country FROM table_name_60 WHERE finish = "t2" AND player = "gary player"
|
Below is an context that describes a sql 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 (county VARCHAR, school VARCHAR)
### Question:
In what county is the school of Merrillville?
### Answer:
SELECT county FROM table_name_17 WHERE school = "merrillville"
|
Below is an context that describes a sql 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 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR)
### Question:
What is the highest profits in billions of the company headquartered in the USA with a market value of 194.87 billions and less than 76.66 billions in sales?
### Answer:
SELECT MAX(profits__billion_) AS $_ FROM table_name_87 WHERE headquarters = "usa" AND market_value__billion_$_ = 194.87 AND sales__billion_$_ < 76.66
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, black_african_population INTEGER)
### Question:
What is the black caribbean population when the black African population is less than 10552.0?
### Answer:
SELECT MIN(black_caribbean_population) FROM table_19149550_7 WHERE black_african_population < 10552.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_83 (tournament VARCHAR, opponent VARCHAR)
### Question:
In which tournament was the opponent Lauren Embree?
### Answer:
SELECT tournament FROM table_name_83 WHERE opponent = "lauren embree"
|
Below is an context that describes a sql 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 (res VARCHAR, round VARCHAR, opponent VARCHAR)
### Question:
What is the result with a Round of 3, and an Opponent of keith wisniewski?
### Answer:
SELECT res FROM table_name_32 WHERE round = "3" AND opponent = "keith wisniewski"
|
Below is an context that describes a sql 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 (draws INTEGER, byes INTEGER)
### Question:
What is the lowest Draws, when Byes is less than 2?
### Answer:
SELECT MIN(draws) FROM table_name_6 WHERE byes < 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_42 (gp_gs INTEGER, avg_g VARCHAR, effic VARCHAR)
### Question:
What is the lowest gp-gs that has an avg/g less than 234.3, with 410.80 as the effic?
### Answer:
SELECT MIN(gp_gs) FROM table_name_42 WHERE avg_g < 234.3 AND effic = "410.80"
|
Below is an context that describes a sql 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 (no_9 VARCHAR, no_5 VARCHAR, no_3 VARCHAR)
### Question:
Who was No. 9 when No. 5 Mason and No. 3 Aiden?
### Answer:
SELECT no_9 FROM table_name_65 WHERE no_5 = "mason" AND no_3 = "aiden"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16048129_5 (number_of_families INTEGER, average_family_size VARCHAR)
### Question:
What is the most number of families in regions where average family size is 2.7?
### Answer:
SELECT MAX(number_of_families) FROM table_16048129_5 WHERE average_family_size = "2.7"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (altitude_m VARCHAR, distance_medellín_downtown___km__ VARCHAR)
### Question:
What is the altitude for the distance medellin downtown (km) is 42?
### Answer:
SELECT altitude_m FROM table_name_10 WHERE distance_medellín_downtown___km__ = "42"
|
Below is an context that describes a sql 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 (draw VARCHAR, televote_sms VARCHAR, place VARCHAR)
### Question:
how many times was the televote/sms 2.39% and the place more than 9?
### Answer:
SELECT COUNT(draw) FROM table_name_54 WHERE televote_sms = "2.39%" AND place > 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_48 (chapter INTEGER, articles INTEGER)
### Question:
Can you tell me the average Chapter that has Articles smaller than 15?
### Answer:
SELECT AVG(chapter) FROM table_name_48 WHERE articles < 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_2 (week INTEGER, date VARCHAR, attendance VARCHAR)
### Question:
what is the lowest week when the date is september 16, 1979 and the attendance less than 54,212?
### Answer:
SELECT MIN(week) FROM table_name_2 WHERE date = "september 16, 1979" AND attendance < 54 OFFSET 212
|
Below is an context that describes a sql 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 (silver INTEGER, total VARCHAR)
### Question:
How many silvers are there with a total of 11?
### Answer:
SELECT SUM(silver) FROM table_name_83 WHERE total = 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_99 (tyre VARCHAR, chassis VARCHAR)
### Question:
What is the tyre with a 56 chassis?
### Answer:
SELECT tyre FROM table_name_99 WHERE chassis = "56"
|
Below is an context that describes a sql 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 (Last VARCHAR, last_win VARCHAR, runners_up VARCHAR)
### Question:
What number last Runners-up where there when the Last win was 1999 and the Runners-up was bigger than 1?
### Answer:
SELECT COUNT(Last) AS runners_up FROM table_name_42 WHERE last_win = "1999" AND runners_up > 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_58 (venue VARCHAR, result VARCHAR, opponent VARCHAR)
### Question:
what is the venue when the result is loss and the opponent is st george-illawarra dragons?
### Answer:
SELECT venue FROM table_name_58 WHERE result = "loss" AND opponent = "st george-illawarra dragons"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (genitive VARCHAR, ergative VARCHAR)
### Question:
What is the genitive for the ergative shen?
### Answer:
SELECT genitive FROM table_name_1 WHERE ergative = "shen"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1876825_5 (title VARCHAR, original_air_date VARCHAR)
### Question:
What is title of episode aired on March 2, 2003?
### Answer:
SELECT title FROM table_1876825_5 WHERE original_air_date = "March 2, 2003"
|
Below is an context that describes a sql 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 (density_per_km² INTEGER, number__map_ VARCHAR, area_in_km² VARCHAR)
### Question:
Which Density per km² is the lowest one that has a Number (map) smaller than 13, and an Area in km² of 11.1?
### Answer:
SELECT MIN(density_per_km²) FROM table_name_21 WHERE number__map_ < 13 AND area_in_km² = 11.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_16 (record VARCHAR, date VARCHAR)
### Question:
What is Record, when Date is November 23?
### Answer:
SELECT record FROM table_name_16 WHERE date = "november 23"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14650162_1 (pick__number VARCHAR, position VARCHAR)
### Question:
How many picks played Tight end?
### Answer:
SELECT COUNT(pick__number) FROM table_14650162_1 WHERE position = "Tight End"
|
Below is an context that describes a sql 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 (losses VARCHAR, south_west_dfl VARCHAR, against VARCHAR)
### Question:
How many Losses have South West DFL of coleraine, and an Against smaller than 891?
### Answer:
SELECT COUNT(losses) FROM table_name_51 WHERE south_west_dfl = "coleraine" AND against < 891
|
Below is an context that describes a sql 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 (home VARCHAR, attendance VARCHAR)
### Question:
Who was the home team with 3305 in attendance?
### Answer:
SELECT home FROM table_name_27 WHERE attendance = 3305
|
Below is an context that describes a sql 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 (final_ladder_position VARCHAR, finals_qualification VARCHAR, teams VARCHAR)
### Question:
What's the ladder position when team is less than 10 and the Finals qualifications were DNQ?
### Answer:
SELECT final_ladder_position FROM table_name_75 WHERE finals_qualification = "dnq" AND teams < 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_89 (Id VARCHAR)
### Question:
How many sets were played in 2007 at the tournament that had 4R in 2011 and 2R in 2009?
### Answer:
SELECT 2007 FROM table_name_89 WHERE 2011 = "4r" AND 2009 = "2r"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24160890_3 (conference VARCHAR, regular_season_winner VARCHAR)
### Question:
When troy is the regular season winner what is the conference tournament?
### Answer:
SELECT conference AS Tournament FROM table_24160890_3 WHERE regular_season_winner = "Troy"
|
Below is an context that describes a sql 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 (erp_w INTEGER, frequency_mhz VARCHAR)
### Question:
Which ERP W is the lowest one that has a Frequency MHz of 91.3?
### Answer:
SELECT MIN(erp_w) FROM table_name_58 WHERE frequency_mhz = 91.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_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR)
### Question:
What was the rating for the episode that had 5.90 million viewers?
### Answer:
SELECT rating FROM table_23730973_5 WHERE viewers__millions_ = "5.90"
|
Below is an context that describes a sql 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 (location_attendance VARCHAR, game VARCHAR, team VARCHAR)
### Question:
Which Location Attendance has a Game larger than 67, and a Team of @ charlotte?
### Answer:
SELECT location_attendance FROM table_name_92 WHERE game > 67 AND team = "@ charlotte"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16886076_1 (coronie VARCHAR, marowijne VARCHAR)
### Question:
Name the coronie for marowijne being 6.8%
### Answer:
SELECT coronie FROM table_16886076_1 WHERE marowijne = "6.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_21576644_2 (ladies_1st_xi VARCHAR, mens_2nd_xi VARCHAR)
### Question:
When 10th, south west district 1 is the mens 2nd xi what is the ladies 1st xi?
### Answer:
SELECT ladies_1st_xi FROM table_21576644_2 WHERE mens_2nd_xi = "10th, South West District 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_23292220_4 (first_broadcast VARCHAR, episode VARCHAR)
### Question:
What was the first broadcast date of episode 4x03?
### Answer:
SELECT first_broadcast FROM table_23292220_4 WHERE episode = "4x03"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Participants_in_Events (Event_ID VARCHAR)
### Question:
What is the id of the event with the most participants?
### Answer:
SELECT Event_ID FROM Participants_in_Events GROUP BY Event_ID ORDER BY COUNT(*) 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_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, san_javier_municipality___percentage_ VARCHAR)
### Question:
What is the municipality percentage for San Antonio de Lomerio is San Javier municipality percentage is 31?
### Answer:
SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE san_javier_municipality___percentage_ = 31
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (team_s_ INTEGER, top_goalscorer_s_ VARCHAR, champion VARCHAR)
### Question:
What is the lowest team (s) that have tvmk as top scorer (s) and flora as the champion?
### Answer:
SELECT MIN(team_s_) FROM table_name_31 WHERE top_goalscorer_s_ = "tvmk" AND champion = "flora"
|
Below is an context that describes a sql 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 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What was the score for alcobaça when the opponent was in the final of xinyun han?
### Answer:
SELECT score FROM table_name_27 WHERE tournament = "alcobaça" AND opponent_in_the_final = "xinyun han"
|
Below is an context that describes a sql 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 (completed VARCHAR, type VARCHAR, list_entry_number VARCHAR)
### Question:
What is the completed date of the church with list entry number 1068071?
### Answer:
SELECT completed FROM table_name_33 WHERE type = "church" AND list_entry_number = 1068071
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.