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_12340907_1 (police_force VARCHAR, population VARCHAR)
### Question:
Which police force serves a population of 17000?
### Answer:
SELECT police_force FROM table_12340907_1 WHERE population = 17000 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27704187_2 (high_assists VARCHAR, date VARCHAR)
### Question:
Who had the most assists and how many did they have on October 5?
### Answer:
SELECT high_assists FROM table_27704187_2 WHERE date = "October 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_14966667_19 (name VARCHAR, number VARCHAR)
### Question:
who is number 98?
### Answer:
SELECT name FROM table_14966667_19 WHERE number = "98" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
Which Date has a Record of 19–16–8?
### Answer:
SELECT date FROM table_name_43 WHERE record = "19–16–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_94 (total VARCHAR, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
How many totals have 0 as Gold, a bronze greater than 1, and a silver less than 1?
### Answer:
SELECT COUNT(total) FROM table_name_94 WHERE gold = 0 AND bronze > 1 AND silver < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (name VARCHAR, floors VARCHAR)
### Question:
What is the name of a building that has 52 floors?
### Answer:
SELECT name FROM table_name_87 WHERE floors = 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_32 (overall INTEGER, round VARCHAR, college VARCHAR)
### Question:
What is the average overall value for a round less than 4 associated with the College of Georgia?
### Answer:
SELECT AVG(overall) FROM table_name_32 WHERE round < 4 AND college = "georgia" |
Below is an context that describes a sql 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 (fcc_info VARCHAR, facility_id VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
### Question:
What is the FCC info for the call sign with a frequency MHz of 101.3, a ERP W over 10, and a Facility ID smaller than 87027?
### Answer:
SELECT fcc_info FROM table_name_52 WHERE frequency_mhz = 101.3 AND erp_w > 10 AND facility_id < 87027 |
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR)
### Question:
Which Opponent has a Record of 43-56?
### Answer:
SELECT opponent FROM table_name_75 WHERE record = "43-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_72 (pick VARCHAR, year VARCHAR)
### Question:
What was 1948's pick?
### Answer:
SELECT pick FROM table_name_72 WHERE year = 1948 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (normal_total VARCHAR, que VARCHAR)
### Question:
Name the normal with que of 24
### Answer:
SELECT normal_total FROM table_name_62 WHERE que = "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_15430606_1 (no_disc VARCHAR, directed_by VARCHAR)
### Question:
Name the total number of number disc for jimmy kaufman
### Answer:
SELECT COUNT(no_disc) FROM table_15430606_1 WHERE directed_by = "Jimmy Kaufman" |
Below is an context that describes a sql 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 (date VARCHAR, winning_driver VARCHAR)
### Question:
What date was the winning driver Antonio Ascari?
### Answer:
SELECT date FROM table_name_27 WHERE winning_driver = "antonio ascari" |
Below is an context that describes a sql 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 (grid INTEGER, constructor VARCHAR, laps VARCHAR)
### Question:
What is the high grid for osella - alfa romeo, and a Laps larger than 61?
### Answer:
SELECT MAX(grid) FROM table_name_56 WHERE constructor = "osella - alfa romeo" AND laps > 61 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (batting_style VARCHAR, bowling_style VARCHAR, player VARCHAR)
### Question:
What batting style corresponds to a bowling style of right arm medium for Stuart Williams?
### Answer:
SELECT batting_style FROM table_name_32 WHERE bowling_style = "right arm medium" AND player = "stuart williams" |
Below is an context that describes a sql 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 (jury VARCHAR, singer VARCHAR)
### Question:
Kostas Bigalis & Mirella Fragkopoulou the singer had what has the jury?
### Answer:
SELECT jury FROM table_name_51 WHERE singer = "kostas bigalis & mirella fragkopoulou" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17120964_5 (opponent VARCHAR, date VARCHAR)
### Question:
Name the opponent for 4th
### Answer:
SELECT opponent FROM table_17120964_5 WHERE date = "4th" |
Below is an context that describes a sql 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 (party VARCHAR, term_start VARCHAR)
### Question:
Which party had a term start of 5 august 1999?
### Answer:
SELECT party FROM table_name_95 WHERE term_start = "5 august 1999" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (pick INTEGER, college VARCHAR, overall VARCHAR)
### Question:
what is the pick when the college is arkansas and the overall is more than 316?
### Answer:
SELECT MAX(pick) FROM table_name_33 WHERE college = "arkansas" AND overall > 316 |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR)
### Question:
What is the record with the opponent as Carlton Jones?
### Answer:
SELECT record FROM table_name_85 WHERE opponent = "carlton jones" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21979779_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
who are the writers of the episode that had 3.07 millions of North American spectators?
### Answer:
SELECT written_by FROM table_21979779_1 WHERE us_viewers__million_ = "3.07" |
Below is an context that describes a sql 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 (language VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)
### Question:
What language is the Tematico content with a sky tv package, and Fox Crime television service?
### Answer:
SELECT language FROM table_name_55 WHERE content = "tematico" AND package_option = "sky tv" AND television_service = "fox crime" |
Below is an context that describes a sql 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 (score VARCHAR, venue VARCHAR)
### Question:
Tell me the score for Venue of tanteen recreation ground, st. george's
### Answer:
SELECT score FROM table_name_43 WHERE venue = "tanteen recreation ground, st. george's" |
Below is an context that describes a sql 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 (supercopa_1996 VARCHAR, team VARCHAR)
### Question:
What racing club team made supercopa 1996?
### Answer:
SELECT supercopa_1996 FROM table_name_14 WHERE team = "racing club" |
Below is an context that describes a sql 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 (moving_from VARCHAR, moving_to VARCHAR, rank VARCHAR)
### Question:
The person with a rank of 8 moving to Shakhtar Donetsk was moving from what Ukrainian Football Club as a transfer?
### Answer:
SELECT moving_from FROM table_name_2 WHERE moving_to = "shakhtar donetsk" AND rank = 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_19897896_7 (season VARCHAR, position VARCHAR)
### Question:
in which season the position was center
### Answer:
SELECT season FROM table_19897896_7 WHERE position = "Center" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (best INTEGER, name VARCHAR)
### Question:
What is the best time for marcus marshall?
### Answer:
SELECT AVG(best) FROM table_name_21 WHERE name = "marcus marshall" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2596811_12 (commander VARCHAR, killed VARCHAR)
### Question:
What is the number of commanders that had 0 off 63 men killed?
### Answer:
SELECT COUNT(commander) FROM table_2596811_12 WHERE killed = "0 off 63 men" |
Below is an context that describes a sql 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 (date VARCHAR, opponent_number VARCHAR)
### Question:
what is the date when the opponent# is iowa?
### Answer:
SELECT date FROM table_name_42 WHERE opponent_number = "iowa" |
Below is an context that describes a sql 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 (played INTEGER, place VARCHAR, points VARCHAR)
### Question:
What is the highest games Played where the Place is 10 and Points are less than 17?
### Answer:
SELECT MAX(played) FROM table_name_56 WHERE place = 10 AND points < 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_88 (total VARCHAR, rank VARCHAR)
### Question:
what is the total when the rank is 4?
### Answer:
SELECT total FROM table_name_88 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_61 (record VARCHAR, game VARCHAR)
### Question:
What was the record for game 59?
### Answer:
SELECT record FROM table_name_61 WHERE game = 59 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (away_team VARCHAR)
### Question:
What is the score of away team, North Melbourne?
### Answer:
SELECT away_team AS score FROM table_name_37 WHERE away_team = "north 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_name_23 (venue VARCHAR, away_team VARCHAR)
### Question:
Where did north melbourne play while away?
### Answer:
SELECT venue FROM table_name_23 WHERE away_team = "north 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_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR)
### Question:
Name the project with length overall being 25 and name of levante
### Answer:
SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = "levante" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)
### Question:
Name the number for fifth district for richard houskamp
### Answer:
SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = "Richard Houskamp" |
Below is an context that describes a sql 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 (founded VARCHAR, school VARCHAR)
### Question:
What is the year Airds High School was founded?
### Answer:
SELECT founded FROM table_name_65 WHERE school = "airds high school" |
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
What was the score of the game on November 22?
### Answer:
SELECT result FROM table_name_8 WHERE date = "november 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_30 (date VARCHAR, grand_prix VARCHAR)
### Question:
What date is the Portuguese Grand Prix?
### Answer:
SELECT date FROM table_name_30 WHERE grand_prix = "portuguese grand prix" |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
What is the record on august 18?
### Answer:
SELECT record FROM table_name_23 WHERE date = "august 18" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19872699_1 (builder VARCHAR, design_firm VARCHAR)
### Question:
Who were the builders of the boat designed by Botin Carkeek?
### Answer:
SELECT builder FROM table_19872699_1 WHERE design_firm = "Botin Carkeek" |
Below is an context that describes a sql 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 (score VARCHAR, home_team VARCHAR)
### Question:
What is the Score of the Burnley Home game?
### Answer:
SELECT score FROM table_name_57 WHERE home_team = "burnley" |
Below is an context that describes a sql 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 (top_5 VARCHAR, year VARCHAR, wins VARCHAR)
### Question:
Can you tell me the total number of Top 5 that has the Year smaller than 2009, and the Wins larger than 0?
### Answer:
SELECT COUNT(top_5) FROM table_name_38 WHERE year < 2009 AND wins > 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 scientists (SSN VARCHAR, name VARCHAR); CREATE TABLE projects (hours INTEGER, code VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR)
### Question:
Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to.
### Answer:
SELECT SUM(T2.hours) FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name = 'Michael Rogers' OR T3.name = 'Carol Smith' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1612760_1 (line VARCHAR, service_pattern VARCHAR)
### Question:
Which line offers Fast to Norwood Junction?
### Answer:
SELECT line FROM table_1612760_1 WHERE service_pattern = "Fast to Norwood Junction" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What is the 1993 value of the French open?
### Answer:
SELECT 1993 FROM table_name_68 WHERE tournament = "french 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_29 (location VARCHAR, record VARCHAR)
### Question:
What is the location when the record is 9-7?
### Answer:
SELECT location FROM table_name_29 WHERE record = "9-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_23817012_6 (fg_fga VARCHAR, ft_fta VARCHAR)
### Question:
what is the score in fg-fga if in ft-fta is 16-21
### Answer:
SELECT fg_fga FROM table_23817012_6 WHERE ft_fta = "16-21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (mac_os_x VARCHAR, haiku VARCHAR, client VARCHAR)
### Question:
Which Mac OSX had no haiku and a client that was dc++?
### Answer:
SELECT mac_os_x FROM table_name_98 WHERE haiku = "no" AND client = "dc++" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27911342_1 (season__number VARCHAR, written_by VARCHAR)
### Question:
What is the season number of the show written by both Kari Lizer and Jeff Astrof?
### Answer:
SELECT COUNT(season__number) FROM table_27911342_1 WHERE written_by = "Kari Lizer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17641206_4 (directed_by VARCHAR, written_by VARCHAR)
### Question:
Who was the director when the writer was John Sullivan?
### Answer:
SELECT directed_by FROM table_17641206_4 WHERE written_by = "John Sullivan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17510803_2 (won VARCHAR, points_against VARCHAR)
### Question:
How many won when points against is 410?
### Answer:
SELECT COUNT(won) FROM table_17510803_2 WHERE points_against = "410" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Order_Items (product_id VARCHAR, total_amount_purchased INTEGER); CREATE TABLE Product_Suppliers (product_id VARCHAR, total_amount_purchased INTEGER)
### Question:
Return the ids of all products that were ordered more than three times or supplied more than 80000.
### Answer:
SELECT product_id FROM Order_Items GROUP BY product_id HAVING COUNT(*) > 3 UNION SELECT product_id FROM Product_Suppliers GROUP BY product_id HAVING SUM(total_amount_purchased) > 80000 |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is 1994 when 1996 is 3R?
### Answer:
SELECT 1994 FROM table_name_46 WHERE 1996 = "3r" |
Below is an context that describes a sql 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 (result VARCHAR, opponent VARCHAR)
### Question:
What was the result against opponent Amanda Lucas?
### Answer:
SELECT result FROM table_name_36 WHERE opponent = "amanda lucas" |
Below is an context that describes a sql 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 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR)
### Question:
Who had the most rebounds in the game against Phoenix with a number over 76?
### Answer:
SELECT high_rebounds FROM table_name_16 WHERE game > 76 AND team = "phoenix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE county_public_safety (Name VARCHAR, Population VARCHAR)
### Question:
List the names of counties in descending order of population.
### Answer:
SELECT Name FROM county_public_safety ORDER BY Population 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_70 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who was South Melbourne's away team opponents?
### Answer:
SELECT away_team FROM table_name_70 WHERE home_team = "south 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_name_47 (genes VARCHAR, species VARCHAR)
### Question:
How many genes in the species Rubrobacter Xylanophilus?
### Answer:
SELECT genes FROM table_name_47 WHERE species = "rubrobacter xylanophilus" |
Below is an context that describes a sql 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 (total_seats INTEGER, pr_seats VARCHAR, district_seats VARCHAR)
### Question:
Who had the highest total PR seats of 48 with a District seat larger than than 73?
### Answer:
SELECT MAX(total_seats) FROM table_name_28 WHERE pr_seats = 48 AND district_seats > 73 |
Below is an context that describes a sql 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, runner_up VARCHAR)
### Question:
In which tournament was vijay singh a runner-up?
### Answer:
SELECT tournament FROM table_name_20 WHERE runner_up = "vijay singh" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What was the score in the September 20 game?
### Answer:
SELECT score FROM table_name_57 WHERE date = "september 20" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (license VARCHAR, actual_version VARCHAR)
### Question:
Which License has an Actual Vaersion of 9.0?
### Answer:
SELECT license FROM table_name_18 WHERE actual_version = "9.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 track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (track_id VARCHAR)
### Question:
Show the name of track with most number of races.
### Answer:
SELECT T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id GROUP BY T1.track_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_name_32 (game INTEGER, date VARCHAR)
### Question:
What is the average game that has December 17 as the date?
### Answer:
SELECT AVG(game) FROM table_name_32 WHERE date = "december 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_14319023_2 (mixed_doubles VARCHAR, girls_singles VARCHAR)
### Question:
When the girls singles is lindaweni fanetri what is the mixed doubled?
### Answer:
SELECT mixed_doubles FROM table_14319023_2 WHERE girls_singles = "Lindaweni Fanetri" |
Below is an context that describes a sql 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 (time VARCHAR, rank VARCHAR)
### Question:
What is the Time of the Athlete with a Rank of 6?
### Answer:
SELECT time FROM table_name_55 WHERE rank = 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_23184448_3 (date VARCHAR, cyclones_points VARCHAR)
### Question:
When did the Cyclones get 46 points?
### Answer:
SELECT date FROM table_23184448_3 WHERE cyclones_points = 46 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1840495_2 (number_of_households VARCHAR, per_capita_income VARCHAR)
### Question:
With a per capita income of $30,298, what was the total number of households?
### Answer:
SELECT COUNT(number_of_households) FROM table_1840495_2 WHERE per_capita_income = "$30,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_17319931_1 (car_no VARCHAR, time_retired VARCHAR)
### Question:
How many car numbers were recorded when the time/retired is +4.0019?
### Answer:
SELECT COUNT(car_no) FROM table_17319931_1 WHERE time_retired = "+4.0019" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)
### Question:
How many different scores did Team Europe get when Mika Koivuniemi played for them?
### Answer:
SELECT COUNT(score) FROM table_19072602_1 WHERE team_europe = "Mika Koivuniemi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_171236_2 (area_km_2 VARCHAR, official_name VARCHAR)
### Question:
What is the Area KM 2 of Rothesay?
### Answer:
SELECT COUNT(area_km_2) FROM table_171236_2 WHERE official_name = "Rothesay" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18442691_2 (album VARCHAR, artist VARCHAR)
### Question:
When abba is the artist what is the album?
### Answer:
SELECT album FROM table_18442691_2 WHERE artist = "ABBA" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1216675_1 (subject VARCHAR, pinyin VARCHAR)
### Question:
How many subjects have the pinyin shixun?
### Answer:
SELECT COUNT(subject) FROM table_1216675_1 WHERE pinyin = "Shixun" |
Below is an context that describes a sql 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 (nationality VARCHAR, title VARCHAR)
### Question:
What is the Nationality of the Deacon of S. Maria in Via Lata?
### Answer:
SELECT nationality FROM table_name_5 WHERE title = "deacon of s. maria in via lata" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1198175_1 (drafted VARCHAR, pro_team VARCHAR)
### Question:
What is under drafted when pro team is arizona cardinals?
### Answer:
SELECT drafted FROM table_1198175_1 WHERE pro_team = "Arizona Cardinals" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17120964_5 (venue VARCHAR, date VARCHAR)
### Question:
Name the venue for 19th date
### Answer:
SELECT venue FROM table_17120964_5 WHERE date = "19th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (call_sign VARCHAR, format VARCHAR)
### Question:
What is the call sign of the Classic Country Music station?
### Answer:
SELECT call_sign FROM table_name_25 WHERE format = "classic country" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29329432_1 (no VARCHAR, written_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Name the number of episodes that jim barnes wrote for 1.82 million viewers
### Answer:
SELECT COUNT(no) FROM table_29329432_1 WHERE written_by = "Jim Barnes" AND us_viewers__million_ = "1.82" |
Below is an context that describes a sql 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 (tyre VARCHAR, pole_position VARCHAR)
### Question:
What is the Tyre when Jerry Hoyt was the pole position?
### Answer:
SELECT tyre FROM table_name_22 WHERE pole_position = "jerry hoyt" |
Below is an context that describes a sql 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 (city VARCHAR, feb VARCHAR)
### Question:
Name the city with Feb of 66 °f / 18.9 °c
### Answer:
SELECT city FROM table_name_63 WHERE feb = "66 °f / 18.9 °c" |
Below is an context that describes a sql 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 (club VARCHAR, goals_for VARCHAR, draws VARCHAR, points VARCHAR)
### Question:
What club has less than 8 draws, 37 points, and less than 71 goals?
### Answer:
SELECT club FROM table_name_88 WHERE draws < 8 AND points = 37 AND goals_for < 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_23279434_1 (season__number VARCHAR, written_by VARCHAR, series__number VARCHAR)
### Question:
What seasons in series 7 did David E. Kelley write ?
### Answer:
SELECT COUNT(season__number) FROM table_23279434_1 WHERE written_by = "David E. Kelley" AND series__number = 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 music_festival (Category VARCHAR, RESULT VARCHAR)
### Question:
What are the category of music festivals with result "Awarded"?
### Answer:
SELECT Category FROM music_festival WHERE RESULT = "Awarded" |
Below is an context that describes a sql 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 (time VARCHAR, nation VARCHAR, athlete VARCHAR)
### Question:
What is the time when the race was in Kenya and Lineth Chepkurui was the athlete?
### Answer:
SELECT time FROM table_name_50 WHERE nation = "kenya" AND athlete = "lineth chepkurui" |
Below is an context that describes a sql 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 (money___ VARCHAR, score VARCHAR)
### Question:
What is the amount of money with a score of 67-71-70-71=279?
### Answer:
SELECT COUNT(money___) AS $__ FROM table_name_85 WHERE score = 67 - 71 - 70 - 71 = 279 |
Below is an context that describes a sql 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 (points VARCHAR, scored VARCHAR, conceded VARCHAR, position VARCHAR, losses VARCHAR)
### Question:
How many Points have a Position larger than 4, and Losses larger than 5, and a Conceded of 15, and a Scored larger than 11?
### Answer:
SELECT COUNT(points) FROM table_name_70 WHERE position > 4 AND losses > 5 AND conceded = 15 AND scored > 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_62 (intake INTEGER, dcsf_number VARCHAR, type VARCHAR, ofsted_number VARCHAR)
### Question:
What is the average primary intake with an Ofsted number of 117433 and a DCSF number greater than 3335?
### Answer:
SELECT AVG(intake) FROM table_name_62 WHERE type = "primary" AND ofsted_number = 117433 AND dcsf_number > 3335 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (fa_cup VARCHAR, total VARCHAR, play_offs VARCHAR, name VARCHAR)
### Question:
What's the total number of FA Cup with a Play-offs of 3, and the Name of Mitch Cook Category:Articles with hCards and has a Total thats less than 11?
### Answer:
SELECT COUNT(fa_cup) FROM table_name_64 WHERE play_offs = 3 AND name = "mitch cook category:articles with hcards" AND 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_1 (winning_score VARCHAR, runner_s__up VARCHAR)
### Question:
What was the winning score when Steve Stricker was runner-up?
### Answer:
SELECT winning_score FROM table_name_1 WHERE runner_s__up = "steve stricker" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR)
### Question:
When 6.00 is the land area in kilometers squared what is the highest population of 2011?
### Answer:
SELECT MAX(population__2011_) FROM table_189598_7 WHERE land_area__km²_ = "6.00" |
Below is an context that describes a sql 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 (stadium VARCHAR, visiting_team VARCHAR)
### Question:
Where were the New York Jets visiting?
### Answer:
SELECT stadium FROM table_name_65 WHERE visiting_team = "new york jets" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27537870_3 (location_attendance VARCHAR, record VARCHAR)
### Question:
How many times was the sabres record 2-5-1?
### Answer:
SELECT COUNT(location_attendance) FROM table_27537870_3 WHERE record = "2-5-1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
### Question:
What were the highest laps when the grid was larger than 19 and the time/retired was fuel?
### Answer:
SELECT MAX(laps) FROM table_name_52 WHERE grid > 19 AND time_retired = "fuel" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Project_outcomes (outcome_code VARCHAR)
### Question:
How many Patent outcomes are generated from all the projects?
### Answer:
SELECT COUNT(*) FROM Project_outcomes WHERE outcome_code = 'Patent' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22073745_1 (languages VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
How many languages is refractaire as the film title used in nomination?
### Answer:
SELECT COUNT(languages) FROM table_22073745_1 WHERE film_title_used_in_nomination = "Refractaire" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Name the 2012 with 2013 of 2r and 2009 of 3r
### Answer:
SELECT 2012 FROM table_name_69 WHERE 2013 = "2r" AND 2009 = "3r" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2508633_5 (pick__number VARCHAR, player VARCHAR)
### Question:
What was bruce baldwin's pick #?
### Answer:
SELECT pick__number FROM table_2508633_5 WHERE player = "Bruce Baldwin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20042805_2 (african_spoonbill VARCHAR, hadeda_ibis VARCHAR)
### Question:
What is the African Spoonbill when the Hadeda Ibis is the Brown Snake Eagle?
### Answer:
SELECT african_spoonbill FROM table_20042805_2 WHERE hadeda_ibis = "Brown Snake Eagle" |
Below is an context that describes a sql 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 (points INTEGER, year INTEGER)
### Question:
Name the highest points when year is more than 1953
### Answer:
SELECT MAX(points) FROM table_name_8 WHERE year > 1953 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.