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_13 (report VARCHAR, date VARCHAR) ### Question: Which Report is on 1 june? ### Answer: SELECT report FROM table_name_13 WHERE date = "1 june"
Below is an context that describes a sql 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 (owner_s_ VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR) ### Question: Who is the owner before 1940, who had a number and name of no. 1222? ### Answer: SELECT owner_s_ FROM table_name_60 WHERE date < 1940 AND number_ & _name = "no. 1222"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts does gary condit represent? ### Answer: SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = "Gary Condit"
Below is an context that describes a sql 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 (score VARCHAR, champion VARCHAR, stadium VARCHAR) ### Question: What was the score when the Vikings won the championship at Namyangju Stadium? ### Answer: SELECT score FROM table_name_86 WHERE champion = "vikings" AND stadium = "namyangju 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 country (Population VARCHAR, Region VARCHAR, Name VARCHAR) ### Question: What are the region and population of Angola? ### Answer: SELECT Population, Region FROM country WHERE Name = "Angola"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19908651_3 (pole_position VARCHAR, race_name VARCHAR) ### Question: Who was on the pole position in the Texaco/Havoline 200 race? ### Answer: SELECT pole_position FROM table_19908651_3 WHERE race_name = "Texaco/Havoline 200"
Below is an context that describes a sql 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 (rank VARCHAR, bronze VARCHAR, silver VARCHAR) ### Question: How much Rank has a Bronze of 21, and a Silver larger than 10? ### Answer: SELECT COUNT(rank) FROM table_name_41 WHERE bronze = 21 AND silver > 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_18 (wind VARCHAR, rank VARCHAR, location VARCHAR) ### Question: What was the wind at New York City when the rank was smaller than 6? ### Answer: SELECT wind FROM table_name_18 WHERE rank < 6 AND location = "new york city"
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR) ### Question: what is the score when the opponent is ann grossman? ### Answer: SELECT score FROM table_name_79 WHERE opponent = "ann grossman"
Below is an context that describes a sql 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 (gsr_class VARCHAR, type VARCHAR) ### Question: What GSR class is associated with a 0-4-2t type? ### Answer: SELECT gsr_class FROM table_name_49 WHERE type = "0-4-2t"
Below is an context that describes a sql 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 (career_win_loss VARCHAR) ### Question: Which 2011 has a Career Win-Loss of 7–10? ### Answer: SELECT 2011 FROM table_name_65 WHERE career_win_loss = "7–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_6 (total_apps VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR) ### Question: It has a FA Cup Goals smaller than 4, and a FA Cup Apps larger than 7, what is the total number of total apps? ### Answer: SELECT COUNT(total_apps) FROM table_name_6 WHERE fa_cup_goals < 4 AND fa_cup_apps > 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_16 (years VARCHAR, area VARCHAR) ### Question: Which years have an Area of rangitoto? ### Answer: SELECT years FROM table_name_16 WHERE area = "rangitoto"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE device (Software_Platform VARCHAR) ### Question: Please show the software platforms of devices in descending order of the count. ### Answer: SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) 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_26 (overall VARCHAR, position VARCHAR, round VARCHAR) ### Question: What is the total of overall values with a safety position in a round greater than 1? ### Answer: SELECT COUNT(overall) FROM table_name_26 WHERE position = "safety" AND round > 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_18 (fc_matches VARCHAR, total VARCHAR) ### Question: Which FC match has a total of 24? ### Answer: SELECT fc_matches FROM table_name_18 WHERE total = "24"
Below is an context that describes a sql 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 (title VARCHAR, elector VARCHAR) ### Question: What is the Title of Elector Giovanni Boccamazza? ### Answer: SELECT title FROM table_name_16 WHERE elector = "giovanni boccamazza"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27003186_3 (no_party_preference VARCHAR, city VARCHAR) ### Question: What is the no party preference when the city is murrieta? ### Answer: SELECT no_party_preference FROM table_27003186_3 WHERE city = "Murrieta"
Below is an context that describes a sql 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 (school VARCHAR, city VARCHAR) ### Question: What school has belleville as the city? ### Answer: SELECT school FROM table_name_37 WHERE city = "belleville"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (year INTEGER, genre VARCHAR) ### Question: Which year is the lowest for genre of action-adventure? ### Answer: SELECT MIN(year) FROM table_name_36 WHERE genre = "action-adventure"
Below is an context that describes a sql 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 (high_points VARCHAR, date VARCHAR) ### Question: Who had the highest points of the game on May 27? ### Answer: SELECT high_points FROM table_name_26 WHERE date = "may 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_84 (year_named INTEGER, name VARCHAR, diameter__km_ VARCHAR) ### Question: Which Year named has a Name of nuptadi planitia, and a Diameter (km) larger than 1,200.0? ### Answer: SELECT MIN(year_named) FROM table_name_84 WHERE name = "nuptadi planitia" AND diameter__km_ > 1 OFFSET 200.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_85 (score VARCHAR, player VARCHAR) ### Question: What was Dave Hill's score? ### Answer: SELECT score FROM table_name_85 WHERE player = "dave 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 table_name_66 (date VARCHAR, away_team VARCHAR) ### Question: what is the date when the away team is bolton wanderers? ### Answer: SELECT date FROM table_name_66 WHERE away_team = "bolton wanderers"
Below is an context that describes a sql 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 (played INTEGER, points VARCHAR, position VARCHAR) ### Question: Which Played has a Points of 2, and a Position smaller than 8? ### Answer: SELECT AVG(played) FROM table_name_28 WHERE points = 2 AND position < 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_255885_1 (municipality VARCHAR, area__km²_ VARCHAR) ### Question: What is the municipality that has an area of exactly 199.35 sq. km? ### Answer: SELECT municipality FROM table_255885_1 WHERE area__km²_ = "199.35"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19210115_1 (affiliation VARCHAR, nickname VARCHAR) ### Question: What is the affiliation of the University called Explorers? ### Answer: SELECT affiliation FROM table_19210115_1 WHERE nickname = "Explorers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR) ### Question: Who are the top 3 players in terms of overall rating? ### Answer: SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY overall_rating DESC LIMIT 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 catalog_contents (catalog_entry_name VARCHAR, next_entry_id INTEGER) ### Question: Name all the products with next entry ID greater than 8. ### Answer: SELECT catalog_entry_name FROM catalog_contents WHERE next_entry_id > 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_9 (totaltk INTEGER, yards INTEGER) ### Question: what is the sum of totaltk when yards is less than 0? ### Answer: SELECT SUM(totaltk) FROM table_name_9 WHERE yards < 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_70 (home_away VARCHAR, date VARCHAR) ### Question: Which Home/Away was on April 27, 2008? ### Answer: SELECT home_away FROM table_name_70 WHERE date = "april 27, 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_63 (station VARCHAR, genre VARCHAR, operator VARCHAR) ### Question: Which station is operated by BBC Radio under the talk radio genre? ### Answer: SELECT station FROM table_name_63 WHERE genre = "talk radio" AND operator = "bbc radio"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16403890_1 (enrollment INTEGER, affiliation VARCHAR) ### Question: Private/Catholic school's minimum enrollment is? ### Answer: SELECT MIN(enrollment) FROM table_16403890_1 WHERE affiliation = "Private/Catholic"
Below is an context that describes a sql 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 (bronze INTEGER, silver VARCHAR, gold VARCHAR) ### Question: Which average bronze had a silver greater than 2 and a gold larger than 7? ### Answer: SELECT AVG(bronze) FROM table_name_9 WHERE silver > 2 AND gold > 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_11961582_4 (game VARCHAR, high_assists VARCHAR) ### Question: What was the total number of games where A. Johnson (6) gave the most high assists? ### Answer: SELECT COUNT(game) FROM table_11961582_4 WHERE high_assists = "A. Johnson (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_24 (score VARCHAR, date VARCHAR) ### Question: Name the score for 30 january 2013 ### Answer: SELECT score FROM table_name_24 WHERE date = "30 january 2013"
Below is an context that describes a sql 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 (year VARCHAR, engine VARCHAR) ### Question: Which year has brm v12 as the engine? ### Answer: SELECT year FROM table_name_19 WHERE engine = "brm v12"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Who did the Colts play against on September 25, 1966? ### Answer: SELECT opponent FROM table_name_8 WHERE date = "september 25, 1966"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (architecture VARCHAR, original_vehicle VARCHAR) ### Question: What architecture type does the Ford Escort Wagon have? ### Answer: SELECT architecture FROM table_name_73 WHERE original_vehicle = "ford escort wagon"
Below is an context that describes a sql 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 (frequency_mhz VARCHAR, erp_w VARCHAR) ### Question: Name the frequence MHz for ERP W of 55 ### Answer: SELECT frequency_mhz FROM table_name_80 WHERE erp_w = 55
Below is an context that describes a sql 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 (team_1 VARCHAR) ### Question: What is the 1st leg of team 1 Lyon? ### Answer: SELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = "lyon"
Below is an context that describes a sql 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 (date VARCHAR, home VARCHAR) ### Question: what is the date when the home is st. louis? ### Answer: SELECT date FROM table_name_30 WHERE home = "st. louis"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (socket VARCHAR, frequency VARCHAR, release_price___usd__ VARCHAR) ### Question: Frequency of 1.2 ghz, and a Release price ( USD ) of $70 is what socket? ### Answer: SELECT socket FROM table_name_91 WHERE frequency = "1.2 ghz" AND release_price___usd__ = "$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_30062172_3 (length VARCHAR, round VARCHAR, gt3_winner VARCHAR) ### Question: When david ashburn richard westbrook is the gt3 winner and 1 is the round what is the length? ### Answer: SELECT length FROM table_30062172_3 WHERE round = 1 AND gt3_winner = "David Ashburn Richard Westbrook"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26860595_2 (fab___nm__ INTEGER) ### Question: What was the maximum fab (nm)? ### Answer: SELECT MAX(fab___nm__) FROM table_26860595_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_28 (score VARCHAR, record VARCHAR) ### Question: Which Score has a Record of 15–12–2? ### Answer: SELECT score FROM table_name_28 WHERE record = "15–12–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_54 (_number___county VARCHAR, enrollment VARCHAR, school VARCHAR) ### Question: What's the county of Eastern Pekin school with fewer than 774 enrolled? ### Answer: SELECT _number___county FROM table_name_54 WHERE enrollment < 774 AND school = "eastern pekin"
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR) ### Question: What is the score of player mark hayes? ### Answer: SELECT score FROM table_name_14 WHERE player = "mark hayes"
Below is an context that describes a sql 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 (final_round VARCHAR, team VARCHAR) ### Question: What was the final round score for the player from the Milwaukee Bucks? ### Answer: SELECT final_round FROM table_name_31 WHERE team = "milwaukee bucks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Treatments (professional_id VARCHAR); CREATE TABLE Professionals (professional_id VARCHAR, last_name VARCHAR, cell_number VARCHAR); CREATE TABLE Professionals (professional_id VARCHAR, last_name VARCHAR, cell_number VARCHAR, state VARCHAR) ### Question: Which professionals live in the state of Indiana or have done treatment on more than 2 treatments? List his or her id, last name and cell phone. ### Answer: SELECT professional_id, last_name, cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id, T1.last_name, T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) > 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_23248940_6 (high_points VARCHAR, game VARCHAR) ### Question: Who are all high points in game 14? ### Answer: SELECT high_points FROM table_23248940_6 WHERE game = 14
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25527255_2 (manager VARCHAR, team VARCHAR) ### Question: Who is the manager of FK Andijan? ### Answer: SELECT manager FROM table_25527255_2 WHERE team = "FK Andijan"
Below is an context that describes a sql 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 (pat_robertson VARCHAR, bob_dole VARCHAR, george_hw_bush VARCHAR) ### Question: When Bob Dole had 26%, and George H.W. Bush had 47%, what did Pat Robertson have? ### Answer: SELECT pat_robertson FROM table_name_12 WHERE bob_dole = "26%" AND george_hw_bush = "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_86 (attendance VARCHAR, location VARCHAR, result VARCHAR) ### Question: What was the attendance for the game at groves stadium • winston-salem, nc with a result of L 0-14? ### Answer: SELECT COUNT(attendance) FROM table_name_86 WHERE location = "groves stadium • winston-salem, nc" AND result = "l 0-14"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (points INTEGER, year INTEGER) ### Question: What is the average Points for a year before 1955? ### Answer: SELECT AVG(points) FROM table_name_68 WHERE year < 1955
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2527617_1 (champion VARCHAR, season VARCHAR) ### Question: Who is the champion of the 1994 season? ### Answer: SELECT champion FROM table_2527617_1 WHERE season = 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_1 (player VARCHAR, round VARCHAR, position VARCHAR) ### Question: Which Player has a Round larger than 5, and a Position of (g)? ### Answer: SELECT player FROM table_name_1 WHERE round > 5 AND position = "(g)"
Below is an context that describes a sql 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 (local_position VARCHAR, mission VARCHAR) ### Question: What is Local Position, when Mission is "Paraguay"? ### Answer: SELECT local_position FROM table_name_92 WHERE mission = "paraguay"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (team_2 VARCHAR) ### Question: what is the 1st round when team 2 is olympique lyonnais (d2)? ### Answer: SELECT 1 AS st_round FROM table_name_67 WHERE team_2 = "olympique lyonnais (d2)"
Below is an context that describes a sql 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 (location_attendance VARCHAR, score VARCHAR) ### Question: what is the location attendance when the score is w 86–77 (ot)? ### Answer: SELECT location_attendance FROM table_name_42 WHERE score = "w 86–77 (ot)"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: What did the home team when they played Richmond? ### Answer: SELECT home_team AS score FROM table_name_48 WHERE away_team = "richmond"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (location VARCHAR, meet VARCHAR, time VARCHAR) ### Question: Where were the 2008 championships with a time of 7:56.90 held? ### Answer: SELECT location FROM table_name_3 WHERE meet = "2008 championships" AND time = "7:56.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_85 (number VARCHAR, name VARCHAR) ### Question: what number is associated with the name chartist (чартист)? ### Answer: SELECT number FROM table_name_85 WHERE name = "chartist (чартист)"
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR) ### Question: When the Venue is mcg what is the Home team? ### Answer: SELECT home_team FROM table_name_47 WHERE venue = "mcg"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25057928_1 (institute VARCHAR) ### Question: Name the most 2012/13 for university of cambridge ### Answer: SELECT MAX(2012 AS _13) FROM table_25057928_1 WHERE institute = "University of Cambridge"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (record VARCHAR, home VARCHAR, decision VARCHAR) ### Question: Name the record for detroit and decision of denis ### Answer: SELECT record FROM table_name_39 WHERE home = "detroit" AND decision = "denis"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Who was the opponent on 19 February 2011? ### Answer: SELECT opponent FROM table_name_97 WHERE date = "19 february 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_79 (days VARCHAR, party VARCHAR, constituency VARCHAR) ### Question: What are the number of days did the ulster unionist Party have the constituate fermanagh and south tyrone? ### Answer: SELECT days FROM table_name_79 WHERE party = "ulster unionist" AND constituency = "fermanagh and south tyrone"
Below is an context that describes a sql 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 (co_champions INTEGER, records VARCHAR, pct VARCHAR, mrc_championships VARCHAR) ### Question: What is the highest value for co-champions when the PCT is less than 0.786 and MRC championships is 6 with records of 88-45-6? ### Answer: SELECT MAX(co_champions) FROM table_name_51 WHERE pct < 0.786 AND mrc_championships = 6 AND records = "88-45-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_92 (against INTEGER, byes INTEGER) ### Question: Name the sum against for byes less than 0 ### Answer: SELECT SUM(against) FROM table_name_92 WHERE byes < 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_52 (t_score VARCHAR, e_score VARCHAR) ### Question: What is the T score of the team with an E score of 6.625? ### Answer: SELECT t_score FROM table_name_52 WHERE e_score = 6.625
Below is an context that describes a sql 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 (team VARCHAR, sport VARCHAR, nation_of_citizenship VARCHAR) ### Question: Which tennis team is from the United States? ### Answer: SELECT team FROM table_name_55 WHERE sport = "tennis" AND nation_of_citizenship = "united states"
Below is an context that describes a sql 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 (weight_at_birth VARCHAR, meaning VARCHAR) ### Question: How much did the baby who name means God knows my journey weigh at birth? ### Answer: SELECT weight_at_birth FROM table_name_24 WHERE meaning = "god knows my journey"
Below is an context that describes a sql 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 (polling_organisation_client VARCHAR, others VARCHAR) ### Question: When the others had a value of 7%, what was the Polling organisation/client? ### Answer: SELECT polling_organisation_client FROM table_name_5 WHERE others = "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 artist (Famous_Title VARCHAR, Artist_ID VARCHAR); CREATE TABLE volume (Artist_ID VARCHAR, Weeks_on_Top INTEGER) ### Question: Show the famous titles of the artists with both volumes that lasted more than 2 weeks on top and volumes that lasted less than 2 weeks on top. ### Answer: SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T2.Weeks_on_Top > 2 INTERSECT SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T2.Weeks_on_Top < 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_5 (date VARCHAR, goal VARCHAR) ### Question: Tell me the date of goal 5 ### Answer: SELECT date FROM table_name_5 WHERE goal = 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_149426_4 (available_subnets INTEGER) ### Question: available subnets leading total is? ### Answer: SELECT MAX(available_subnets) FROM table_149426_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_2822193_1 (point_finishes__non_podium_ INTEGER, series VARCHAR) ### Question: What's the most amount of point finishes for v8supercar? ### Answer: SELECT MAX(point_finishes__non_podium_) FROM table_2822193_1 WHERE series = "V8Supercar"
Below is an context that describes a sql 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 (goals INTEGER, games VARCHAR, player VARCHAR) ### Question: Which Goals have Games smaller than 41, and a Player of mark amos? ### Answer: SELECT MIN(goals) FROM table_name_57 WHERE games < 41 AND player = "mark amos"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (match_report VARCHAR, date VARCHAR) ### Question: What is the match report for July 10, 2005? ### Answer: SELECT match_report FROM table_name_91 WHERE date = "july 10, 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_16 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, average_population__x_1000_ VARCHAR) ### Question: What is the highest crude death rate when deaths are 3 433 and average population is greater than 298? ### Answer: SELECT MAX(crude_death_rate__per_1000_) FROM table_name_16 WHERE deaths = "3 433" AND average_population__x_1000_ > 298
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15780049_5 (game INTEGER, date VARCHAR) ### Question: What game happened on December 19? ### Answer: SELECT MAX(game) FROM table_15780049_5 WHERE date = "December 19"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (date VARCHAR, record VARCHAR) ### Question: When has a Record of 1-3? ### Answer: SELECT date FROM table_name_7 WHERE record = "1-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_11 (week_2 VARCHAR, week_3 VARCHAR) ### Question: When Star Zemba was featured in Week 3, who was the cyber girl for Week 2? ### Answer: SELECT week_2 FROM table_name_11 WHERE week_3 = "star zemba"
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR, result VARCHAR) ### Question: What is the date of the game against the Lizards with a result of w 18-17? ### Answer: SELECT date FROM table_name_18 WHERE opponent = "lizards" AND result = "w 18-17"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_85 (plural VARCHAR, meaning VARCHAR) ### Question: What is the plural for the Meaning of night? ### Answer: SELECT plural FROM table_name_85 WHERE meaning = "night"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (country VARCHAR, rank VARCHAR) ### Question: What is the Country of the rowers with a Rank of 4? ### Answer: SELECT country FROM table_name_11 WHERE rank = 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_60 (to_par VARCHAR, player VARCHAR, score VARCHAR) ### Question: What is the to par of player tom weiskopf, who has a 71-74=145 score? ### Answer: SELECT to_par FROM table_name_60 WHERE score = 71 - 74 = 145 AND player = "tom weiskopf"
Below is an context that describes a sql 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 (points INTEGER, drawn VARCHAR, games VARCHAR) ### Question: What was the highest points where there were less than 2 drawn and the games were less than 6? ### Answer: SELECT MAX(points) FROM table_name_26 WHERE drawn < 2 AND games < 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_27 (qual_2 VARCHAR, best VARCHAR) ### Question: What is Qual 2, when Best is 1:27.642? ### Answer: SELECT qual_2 FROM table_name_27 WHERE best = "1:27.642"
Below is an context that describes a sql 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 (game VARCHAR, location_attendance VARCHAR) ### Question: What game number was played at amway arena? ### Answer: SELECT game FROM table_name_86 WHERE location_attendance = "amway arena"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (date VARCHAR, record VARCHAR) ### Question: Question does not make sense since there was no record of 88-74 ### Answer: SELECT date FROM table_name_77 WHERE record = "88-74"
Below is an context that describes a sql 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 (total INTEGER, league_cup INTEGER) ### Question: League Cup smaller than 0 is what sum of the total? ### Answer: SELECT SUM(total) FROM table_name_31 WHERE league_cup < 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_22181917_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR) ### Question: What is the production code for the episode with 8.56 million U.S. viewers? ### Answer: SELECT production_code FROM table_22181917_2 WHERE us_viewers__millions_ = "8.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_82 (home VARCHAR, date VARCHAR) ### Question: Which Home is on january 11? ### Answer: SELECT home FROM table_name_82 WHERE date = "january 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_15621965_16 (nationality VARCHAR, school_club_team VARCHAR) ### Question: What is the nationality of th player who's school is Clemson? ### Answer: SELECT nationality FROM table_15621965_16 WHERE school_club_team = "Clemson"
Below is an context that describes a sql 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 (goals INTEGER, season VARCHAR) ### Question: What is the sum of goals for the 2004/05 Season? ### Answer: SELECT SUM(goals) FROM table_name_48 WHERE season = "2004/05"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (visiting_team VARCHAR, stadium VARCHAR) ### Question: During the game at Candlestick Park, who was the visiting team? ### Answer: SELECT visiting_team FROM table_name_99 WHERE stadium = "candlestick park"
Below is an context that describes a sql 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 (region VARCHAR, host VARCHAR) ### Question: What region is the host university of southern california located? ### Answer: SELECT region FROM table_name_1 WHERE host = "university of southern california"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (Id VARCHAR) ### Question: What is the 2009 result when 2011 is 1R and 2007 is A? ### Answer: SELECT 2009 FROM table_name_84 WHERE 2011 = "1r" AND 2007 = "a"