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_77 (to_par VARCHAR, place VARCHAR, score VARCHAR)
### Question:
What is the To par of the T6 Place Player with a Score of 68-69-70=207?
### Answer:
SELECT to_par FROM table_name_77 WHERE place = "t6" AND score = 68 - 69 - 70 = 207 |
Below is an context that describes a sql 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 (district VARCHAR, incumbent VARCHAR)
### Question:
What district has benjamin eggleston for incumbent?
### Answer:
SELECT district FROM table_name_52 WHERE incumbent = "benjamin eggleston" |
Below is an context that describes a sql 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 (result VARCHAR, surface VARCHAR, date VARCHAR)
### Question:
What's the result for the clay surface edition on july 17, 1992?
### Answer:
SELECT result FROM table_name_97 WHERE surface = "clay" AND date = "july 17, 1992" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE list (Id VARCHAR)
### Question:
Find the number of students in total.
### Answer:
SELECT COUNT(*) FROM list |
Below is an context that describes a sql 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 (top_fives INTEGER, poles VARCHAR, top_tens VARCHAR)
### Question:
What is the total number of top fives when casey mears had more than 1 poles and top tens less than 9?
### Answer:
SELECT SUM(top_fives) FROM table_name_54 WHERE poles > 1 AND top_tens < 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 country (Official_native_language VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR)
### Question:
How many distinct official languages are there among countries of players whose positions are defenders.
### Answer:
SELECT COUNT(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender" |
Below is an context that describes a sql 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 (frequency_mhz VARCHAR, fcc_info VARCHAR, erp_w VARCHAR)
### Question:
Name the frequency mhz for fcc and ERP W of 9 watts
### Answer:
SELECT frequency_mhz FROM table_name_7 WHERE fcc_info = "fcc" AND erp_w = "9 watts" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17118006_2 (bid_pronar_investment__us$_ VARCHAR, farmers VARCHAR)
### Question:
What was the BID/PRONAR investment (in $) in the department that included 1326 farmers in its projects?
### Answer:
SELECT bid_pronar_investment__us$_ FROM table_17118006_2 WHERE farmers = 1326 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27927185_1 (directed_by VARCHAR, viewers__millions_ VARCHAR)
### Question:
Who directed the episode with 6.37 million viewers?
### Answer:
SELECT directed_by FROM table_27927185_1 WHERE viewers__millions_ = "6.37" |
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
what is the result on september 10, 2008?
### Answer:
SELECT result FROM table_name_43 WHERE date = "september 10, 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_18 (category VARCHAR, awards VARCHAR, result VARCHAR)
### Question:
What category of the British Soap Awards resulted in nominated?
### Answer:
SELECT category FROM table_name_18 WHERE awards = "british soap awards" AND result = "nominated" |
Below is an context that describes a sql 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 (round INTEGER, player VARCHAR)
### Question:
What is the largest round number for Dan Connor, the player?
### Answer:
SELECT MAX(round) FROM table_name_87 WHERE player = "dan connor" |
Below is an context that describes a sql 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 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
### Question:
I want the manner of departure for date of appointment being 12 october 2007
### Answer:
SELECT manner_of_departure FROM table_name_87 WHERE date_of_appointment = "12 october 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 TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR)
### Question:
Show the average amount of transactions for different lots.
### Answer:
SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transaction_id = T2.transaction_id GROUP BY T2.lot_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_7 (year VARCHAR, ratings VARCHAR)
### Question:
How many Years have Ratings of 10.9/23?
### Answer:
SELECT COUNT(year) FROM table_name_7 WHERE ratings = "10.9/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_2076522_2 (enrollment__fall_2010_ VARCHAR, location_s_ VARCHAR)
### Question:
What is the enrollment for the school in bottineau?
### Answer:
SELECT enrollment__fall_2010_ FROM table_2076522_2 WHERE location_s_ = "Bottineau" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (game INTEGER, date VARCHAR)
### Question:
How many games were on December 5?
### Answer:
SELECT SUM(game) FROM table_name_80 WHERE date = "december 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 journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Date VARCHAR, Event_ID VARCHAR)
### Question:
Show the names of journalists and the dates of the events they reported.
### Answer:
SELECT T3.Name, T2.Date FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_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_17862135_3 (number_of_dances VARCHAR, couple VARCHAR)
### Question:
How many dances did Warren & Kym have?
### Answer:
SELECT number_of_dances FROM table_17862135_3 WHERE couple = "Warren & Kym" |
Below is an context that describes a sql 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 (format VARCHAR, album VARCHAR, year VARCHAR)
### Question:
What is the format of the album Pacific Ocean Blue in 1991?
### Answer:
SELECT format FROM table_name_57 WHERE album = "pacific ocean blue" AND year = 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_43 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR, versus VARCHAR)
### Question:
During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures?
### Answer:
SELECT bowling_figures_wickets_runs__overs_ FROM table_name_43 WHERE venue = "port elizabeth" AND versus = "australia" |
Below is an context that describes a sql 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 (pick VARCHAR, college VARCHAR)
### Question:
How many picks went to College of Letran?
### Answer:
SELECT COUNT(pick) FROM table_name_95 WHERE college = "letran" |
Below is an context that describes a sql 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 (position VARCHAR, school_club_team_country VARCHAR)
### Question:
Name the position for the player that is from valparaiso
### Answer:
SELECT position FROM table_name_26 WHERE school_club_team_country = "valparaiso" |
Below is an context that describes a sql 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 (pick INTEGER, school VARCHAR)
### Question:
What is the pick number for tulane university?
### Answer:
SELECT SUM(pick) FROM table_name_23 WHERE school = "tulane university" |
Below is an context that describes a sql 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 (kinka_12 VARCHAR, kinka_pre_release VARCHAR, kinka_developer VARCHAR)
### Question:
What is the KINKA 1.2 when the pre-release is no and the developer is yes?
### Answer:
SELECT kinka_12 FROM table_name_35 WHERE kinka_pre_release = "no" AND kinka_developer = "yes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13259009_2 (game_site VARCHAR, opponent VARCHAR)
### Question:
Where did they play the San Diego Chargers?
### Answer:
SELECT game_site FROM table_13259009_2 WHERE opponent = "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_name_53 (rank INTEGER, rebounds VARCHAR, team VARCHAR)
### Question:
What rank is Partizan Igokea that has less than 130 rebounds?
### Answer:
SELECT MIN(rank) FROM table_name_53 WHERE rebounds < 130 AND team = "partizan igokea" |
Below is an context that describes a sql 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 (played INTEGER, points VARCHAR, against VARCHAR)
### Question:
What is the number of games played for the team with 12 points and an against smaller than 52?
### Answer:
SELECT AVG(played) FROM table_name_59 WHERE points = 12 AND against < 52 |
Below is an context that describes a sql 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 (nat VARCHAR, principal_victims VARCHAR)
### Question:
What is the nationality of the ship when the principle victims are civilians?
### Answer:
SELECT nat FROM table_name_49 WHERE principal_victims = "civilians" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, other_details VARCHAR, engineer_id VARCHAR); CREATE TABLE Engineer_Skills (engineer_id VARCHAR, skill_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR)
### Question:
List all every engineer's first name, last name, details and coresponding skill description.
### Answer:
SELECT T1.first_name, T1.last_name, T1.other_details, T3.skill_description FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_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_5 (opponent VARCHAR, week VARCHAR)
### Question:
Who is the opponent in week 10?
### Answer:
SELECT opponent FROM table_name_5 WHERE week = 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_22 (year VARCHAR, gauge VARCHAR)
### Question:
In what Year is the Gauge 2 ft 6 in?
### Answer:
SELECT year FROM table_name_22 WHERE gauge = "2 ft 6 in" |
Below is an context that describes a sql 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 (home VARCHAR, visitor VARCHAR)
### Question:
Which Home has a Visitor of nashville?
### Answer:
SELECT home FROM table_name_44 WHERE visitor = "nashville" |
Below is an context that describes a sql 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 (league_cup_goals INTEGER, scorer VARCHAR)
### Question:
What is the lowest League Cup Goals, when Scorer is Denis Law?
### Answer:
SELECT MIN(league_cup_goals) FROM table_name_59 WHERE scorer = "denis law" |
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR)
### Question:
On what date was the match against the St. George Illawarra Dragons?
### Answer:
SELECT date FROM table_name_37 WHERE 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 COURSE (CName VARCHAR, Credits VARCHAR)
### Question:
List all names of courses with 1 credit?
### Answer:
SELECT CName FROM COURSE WHERE Credits = 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_225200_4 (district VARCHAR, reason_for_change VARCHAR)
### Question:
Name the district for rep. warren r. davis died during previous congress
### Answer:
SELECT district FROM table_225200_4 WHERE reason_for_change = "Rep. Warren R. Davis died during previous congress" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (tournament VARCHAR)
### Question:
Name the 2008 for 2012 being a and tournament of australian open
### Answer:
SELECT 2008 FROM table_name_20 WHERE 2012 = "a" AND tournament = "australian open" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (crowd INTEGER, venue VARCHAR)
### Question:
Which game at Arden Street Oval had the lowest attendance?
### Answer:
SELECT MIN(crowd) FROM table_name_96 WHERE venue = "arden street oval" |
Below is an context that describes a sql 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 (pick VARCHAR, player VARCHAR)
### Question:
What pick number is Larry Fonacier?
### Answer:
SELECT pick FROM table_name_29 WHERE player = "larry fonacier" |
Below is an context that describes a sql 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 (sno INTEGER, state VARCHAR, completion_schedule VARCHAR)
### Question:
When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.?
### Answer:
SELECT MIN(sno) FROM table_name_9 WHERE state = "jammu & kashmir" AND completion_schedule = "2016" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (year_to INTEGER, engine VARCHAR, chassis VARCHAR)
### Question:
Which Year To has an Engine of 119.972, and a Chassis smaller than 129.067?
### Answer:
SELECT MIN(year_to) FROM table_name_14 WHERE engine = 119.972 AND chassis < 129.067 |
Below is an context that describes a sql 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 (surface VARCHAR, tournament VARCHAR)
### Question:
What is the Surface of the Court in Napoli?
### Answer:
SELECT surface FROM table_name_26 WHERE tournament = "napoli" |
Below is an context that describes a sql 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 (date VARCHAR, outcome VARCHAR, score VARCHAR)
### Question:
What is the Date of the game with an Outcome of runner-up and Score of 5–7, 3–6, 6–3, 2–6?
### Answer:
SELECT date FROM table_name_83 WHERE outcome = "runner-up" AND score = "5–7, 3–6, 6–3, 2–6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (county VARCHAR, median_family_income VARCHAR)
### Question:
What county has a Median family income of $37,667?
### Answer:
SELECT county FROM table_name_95 WHERE median_family_income = "$37,667" |
Below is an context that describes a sql 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 (region VARCHAR, area__km²_ VARCHAR)
### Question:
Which Region has an area of 14,037km²?
### Answer:
SELECT region FROM table_name_70 WHERE area__km²_ = "14,037" |
Below is an context that describes a sql 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 (class VARCHAR, jockey VARCHAR, time VARCHAR)
### Question:
Which Class has a Jockey of michael kinane on 2:27.71?
### Answer:
SELECT class FROM table_name_50 WHERE jockey = "michael kinane" AND time = "2:27.71" |
Below is an context that describes a sql 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 (date_made VARCHAR, type VARCHAR, gsr_class VARCHAR)
### Question:
What is the date of creation of the locomotive of type 0-6-0 and GSR class of 441?
### Answer:
SELECT date_made FROM table_name_31 WHERE type = "0-6-0" AND gsr_class = "441" |
Below is an context that describes a sql 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 (engine VARCHAR, team VARCHAR)
### Question:
Which engine did Korten Motorsport use?
### Answer:
SELECT engine FROM table_name_86 WHERE team = "korten motorsport" |
Below is an context that describes a sql 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 (population__2011_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)
### Question:
How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (per km²) larger than 57.3?
### Answer:
SELECT SUM(population__2011_) FROM table_name_28 WHERE land_area__km²_ > 15.69 AND population_density__per_km²_ > 57.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_27 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR)
### Question:
How much gold when silver, bronze and total is smaller than 1?
### Answer:
SELECT MAX(gold) FROM table_name_27 WHERE silver < 1 AND bronze = 1 AND total < 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_42 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who played Fitzroy at their own home?
### Answer:
SELECT home_team AS score FROM table_name_42 WHERE away_team = "fitzroy" |
Below is an context that describes a sql 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 (award VARCHAR, year INTEGER)
### Question:
What award was won after 2008?
### Answer:
SELECT award FROM table_name_77 WHERE 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_13770460_3 (type VARCHAR, transfer_fee VARCHAR)
### Question:
What is the type of the player whose transfer fee was €20m?
### Answer:
SELECT type FROM table_13770460_3 WHERE transfer_fee = "€20M" |
Below is an context that describes a sql 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 (iata VARCHAR, airport VARCHAR)
### Question:
What is the IATA of galeão airport?
### Answer:
SELECT iata FROM table_name_58 WHERE airport = "galeão airport" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (Id VARCHAR)
### Question:
What is the 2008 of the 2r 2011 and A 2010?
### Answer:
SELECT 2008 FROM table_name_38 WHERE 2011 = "2r" AND 2010 = "a" |
Below is an context that describes a sql 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 (tournament VARCHAR, score VARCHAR)
### Question:
Which tournament had a score of 6–7 (0–7) , 6–2, 4–6?
### Answer:
SELECT tournament FROM table_name_3 WHERE score = "6–7 (0–7) , 6–2, 4–6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (year INTEGER, winning_team VARCHAR, usa_captain VARCHAR)
### Question:
What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth?
### Answer:
SELECT MAX(year) FROM table_name_93 WHERE winning_team = "europe" AND usa_captain = "kathy whitworth" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (high_rebounds VARCHAR, record VARCHAR)
### Question:
Which player for a team with an 18-20 record had the most rebounds in a game?
### Answer:
SELECT high_rebounds FROM table_name_38 WHERE record = "18-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_23050383_1 (education VARCHAR, country VARCHAR)
### Question:
What is the education in Nepal?
### Answer:
SELECT education FROM table_23050383_1 WHERE country = "Nepal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18328569_1 (clubs_remaining INTEGER, round VARCHAR)
### Question:
How many clubs remain in the fourth round?
### Answer:
SELECT MIN(clubs_remaining) FROM table_18328569_1 WHERE round = "Fourth 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_18600760_15 (township VARCHAR, land___sqmi__ VARCHAR)
### Question:
Which township is 35.766 sqmi?
### Answer:
SELECT township FROM table_18600760_15 WHERE land___sqmi__ = "35.766" |
Below is an context that describes a sql 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 (to_par VARCHAR, total VARCHAR)
### Question:
When the total was 290 what was the To par?
### Answer:
SELECT to_par FROM table_name_59 WHERE total = 290 |
Below is an context that describes a sql 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 (place VARCHAR, building VARCHAR)
### Question:
Name the place with building of victoria hall
### Answer:
SELECT place FROM table_name_93 WHERE building = "victoria hall" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (field_goals VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
### Question:
What were the total number of field goals when there were 0 touchdowns and 2 extra points?
### Answer:
SELECT COUNT(field_goals) FROM table_name_80 WHERE touchdowns = 0 AND extra_points = 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_82 (role VARCHAR, tournament VARCHAR)
### Question:
What is the Role in the 1st Division Honduras Tournament?
### Answer:
SELECT role FROM table_name_82 WHERE tournament = "1st division honduras" |
Below is an context that describes a sql 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 (date VARCHAR, week VARCHAR, result VARCHAR)
### Question:
When was the game before week 8 with a result of bye?
### Answer:
SELECT date FROM table_name_44 WHERE week < 8 AND result = "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_49 (rank VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR)
### Question:
How many ranks have assets of $70.74 billion and market value greater than $11.29 billion?
### Answer:
SELECT COUNT(rank) FROM table_name_49 WHERE assets__bn$_ = 70.74 AND market_value__bn$_ > 11.29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341973_6 (candidates VARCHAR, incumbent VARCHAR)
### Question:
What candidates ran in the election that included john shelley?
### Answer:
SELECT candidates FROM table_1341973_6 WHERE incumbent = "John Shelley" |
Below is an context that describes a sql 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 (played INTEGER, first_game INTEGER)
### Question:
What is the number of games played in the season before 2005?
### Answer:
SELECT SUM(played) FROM table_name_18 WHERE first_game < 2005 |
Below is an context that describes a sql 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 (total VARCHAR, set_3 VARCHAR)
### Question:
What is the Total when the Set 3 was 25-15?
### Answer:
SELECT total FROM table_name_68 WHERE set_3 = "25-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_7 (series VARCHAR, date VARCHAR)
### Question:
Which Series has a Date of may 2?
### Answer:
SELECT series FROM table_name_7 WHERE date = "may 2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
### Question:
Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service?
### Answer:
SELECT language FROM table_name_80 WHERE origin_of_programming = "india" AND genre = "general" AND network = "ptc punjabi" AND service = "bell fibe tv" |
Below is an context that describes a sql 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 (original_airdate VARCHAR, writer_s_ VARCHAR, episode VARCHAR)
### Question:
What is the original airdate for episode 7-17 (195) from writer Sidney Slon?
### Answer:
SELECT original_airdate FROM table_name_5 WHERE writer_s_ = "sidney slon" AND episode = "7-17 (195)" |
Below is an context that describes a sql 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 (name VARCHAR, club VARCHAR, debut_round VARCHAR, games__2008_ VARCHAR)
### Question:
What is the name that has a debut round over 14, games under 2, and a club of Melbourne?
### Answer:
SELECT name FROM table_name_93 WHERE debut_round > 14 AND games__2008_ < 2 AND club = "melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11622496_1 (location VARCHAR)
### Question:
What is the prize money for Virginia?
### Answer:
SELECT 1 AS st_prize__$__ FROM table_11622496_1 WHERE location = "Virginia" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What was the score on April 6, 2008?
### Answer:
SELECT score FROM table_name_12 WHERE date = "april 6, 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_81 (Id VARCHAR)
### Question:
What is the highest value for 1970, when the value for 1960 is less than 61.9, when the value for 1980 is less than 3.8, when the value for 1990 is 3.3, and when the value for 2000 is greater than 3.2?
### Answer:
SELECT MAX(1970) FROM table_name_81 WHERE 1960 < 61.9 AND 1980 < 3.8 AND 1990 = 3.3 AND 2000 > 3.2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (location VARCHAR, time VARCHAR)
### Question:
Where was the fight located that lasted a time of 2:33?
### Answer:
SELECT location FROM table_name_7 WHERE time = "2:33" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24538140_2 (match2 INTEGER)
### Question:
What is the lowest score of all games for match 2?
### Answer:
SELECT MIN(match2) FROM table_24538140_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_57 (crowd VARCHAR, away_team VARCHAR)
### Question:
What is the crowd size when Geelong is the away team?
### Answer:
SELECT crowd FROM table_name_57 WHERE away_team = "geelong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30121096_1 (poor_law_union VARCHAR, area__acres__ VARCHAR, civil_parish VARCHAR)
### Question:
How many poor law unions have an area of 262 acres and is in drinagh civil parish?
### Answer:
SELECT COUNT(poor_law_union) FROM table_30121096_1 WHERE area__acres__ = 262 AND civil_parish = "Drinagh" |
Below is an context that describes a sql 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 (new_returning_same_network VARCHAR, last_aired VARCHAR)
### Question:
Which New/Returning/Same Network has a Last Aired of 1982?
### Answer:
SELECT new_returning_same_network FROM table_name_29 WHERE last_aired = 1982 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (type VARCHAR, moving_from VARCHAR, ends VARCHAR, transfer_window VARCHAR)
### Question:
What is the type of the player who ended in 2013, had a summer transfer window, and moved from kalmar ff?
### Answer:
SELECT type FROM table_name_34 WHERE ends = 2013 AND transfer_window = "summer" AND moving_from = "kalmar ff" |
Below is an context that describes a sql 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 (party VARCHAR, name VARCHAR, first_elected VARCHAR, position VARCHAR)
### Question:
Name the party with first elected more than 1999 and position of supervisor for john foust
### Answer:
SELECT party FROM table_name_88 WHERE first_elected > 1999 AND position = "supervisor" AND name = "john foust" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (total VARCHAR, set_1 VARCHAR)
### Question:
Which Total has a Set 1 of 25–22?
### Answer:
SELECT total FROM table_name_12 WHERE set_1 = "25–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_46 (round VARCHAR, score INTEGER)
### Question:
Which round is a lower score than 21.5?
### Answer:
SELECT round FROM table_name_46 WHERE score < 21.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_48 (away VARCHAR, round VARCHAR)
### Question:
What was the visiting team that played a round 16 game?
### Answer:
SELECT away FROM table_name_48 WHERE round = "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_1342370_10 (district VARCHAR, first_elected VARCHAR)
### Question:
In what district was the representative first elected in 1916?
### Answer:
SELECT district FROM table_1342370_10 WHERE first_elected = 1916 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27170987_5 (fa_cup_goals INTEGER)
### Question:
What is the lowest number of fa cup goals by a player?
### Answer:
SELECT MIN(fa_cup_goals) FROM table_27170987_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_28 (vertices INTEGER, dual_archimedean_solid VARCHAR)
### Question:
Which Vertices have a Dual Archimedean solid of truncated dodecahedron?
### Answer:
SELECT MAX(vertices) FROM table_name_28 WHERE dual_archimedean_solid = "truncated dodecahedron" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (result VARCHAR, category VARCHAR)
### Question:
What was the result of the Best Actor in a Musical category?
### Answer:
SELECT result FROM table_name_81 WHERE category = "best actor in a musical" |
Below is an context that describes a sql 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 (place_of_birth VARCHAR, committee VARCHAR, took_office VARCHAR, district VARCHAR)
### Question:
Where was the place of birth for the delegate who took office after 1982, delegates a district smaller than 43 and belongs to a Health and Government operations committee?
### Answer:
SELECT place_of_birth FROM table_name_31 WHERE took_office > 1982 AND district < 43 AND committee = "health and government operations" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_261642_3 (c__nf_km_ VARCHAR, r__ω_km_ VARCHAR)
### Question:
What is the c (nf/km) when the r (ω/km) is 463.59?
### Answer:
SELECT c__nf_km_ FROM table_261642_3 WHERE r__ω_km_ = "463.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_2933761_1 (status VARCHAR, played_by VARCHAR)
### Question:
How many characters does Maurice Dean Wint play in the movie Cube?
### Answer:
SELECT COUNT(status) FROM table_2933761_1 WHERE played_by = "Maurice Dean Wint" |
Below is an context that describes a sql 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 (association_agreement VARCHAR, state VARCHAR)
### Question:
What is the association agreement for bosnia and herzegovina?
### Answer:
SELECT association_agreement FROM table_name_69 WHERE state = "bosnia and herzegovina" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11602313_4 (fsb VARCHAR, part_number_s_ VARCHAR)
### Question:
What is the FSB of the model with part number lf80537gf0411m?
### Answer:
SELECT fsb FROM table_11602313_4 WHERE part_number_s_ = "LF80537GF0411M" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25887826_17 (avg VARCHAR)
### Question:
How many 07 A points for the team with 1.4902 average?
### Answer:
SELECT MAX(07 AS _a_pts) FROM table_25887826_17 WHERE avg = "1.4902" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (afl_team VARCHAR, position VARCHAR, pick VARCHAR)
### Question:
Which AFL team has a pick 4 for the offensive tackle position?
### Answer:
SELECT afl_team FROM table_name_14 WHERE position = "offensive tackle" AND pick = 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_79 (drawn INTEGER, goals_for VARCHAR, lost VARCHAR)
### Question:
For entries with lost larger than 21 and goals for smaller than 36, what is the average drawn?
### Answer:
SELECT AVG(drawn) FROM table_name_79 WHERE goals_for < 36 AND lost > 21 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.