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_45 (competition VARCHAR, year INTEGER) ### Question: Which Competition has a Year larger than 2000? ### Answer: SELECT competition FROM table_name_45 WHERE year > 2000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR) ### Question: What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )? ### Answer: SELECT country FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Daniel Abt ( 2012 )"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (outcome VARCHAR, date VARCHAR) ### Question: What was the outcome on 2 December 2012? ### Answer: SELECT outcome FROM table_name_26 WHERE date = "2 december 2012"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (gene VARCHAR, route_of_administration VARCHAR, status VARCHAR) ### Question: Which gene is ongoing and has an intramuscular route of administration? ### Answer: SELECT gene FROM table_name_42 WHERE route_of_administration = "intramuscular" AND status = "ongoing"
Below is an context that describes a sql 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 (total INTEGER, games VARCHAR, gold VARCHAR) ### Question: What is the fewest number of medals associated with under 6 games and over 0 golds? ### Answer: SELECT MIN(total) FROM table_name_44 WHERE games < 6 AND gold > 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_2602958_3 (original_air_date VARCHAR, director VARCHAR) ### Question: What is the original air date for the episode directed by kevin dowling? ### Answer: SELECT original_air_date FROM table_2602958_3 WHERE director = "Kevin Dowling"
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR) ### Question: What date was the game played at Punt Road Oval? ### Answer: SELECT date FROM table_name_33 WHERE venue = "punt road 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_1 (city_of_license VARCHAR, frequency_mhz VARCHAR) ### Question: Which city has a frequency of 104.5 fm? ### Answer: SELECT city_of_license FROM table_name_1 WHERE frequency_mhz = "104.5 fm"
Below is an context that describes a sql 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 (leading_scorer VARCHAR, score VARCHAR) ### Question: Who was the leading scorer of the game that had a score of 107–97? ### Answer: SELECT leading_scorer FROM table_name_26 WHERE score = "107–97"
Below is an context that describes a sql 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 (station VARCHAR, services VARCHAR, zone_2008 VARCHAR, zone_2007 VARCHAR) ### Question: Which Station has a Zone 2008 of 8, and a Zone 2007 of outside zones, and Services of london overground? ### Answer: SELECT station FROM table_name_73 WHERE zone_2008 = "8" AND zone_2007 = "outside zones" AND services = "london overground"
Below is an context that describes a sql 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 (title VARCHAR, podcast_date VARCHAR) ### Question: What is the name of the podcast on November 21, 2004? ### Answer: SELECT title FROM table_name_87 WHERE podcast_date = "november 21, 2004"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (overall VARCHAR, transition VARCHAR) ### Question: Who played as overall when Josh Sims was transition? ### Answer: SELECT overall FROM table_name_16 WHERE transition = "josh sims"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, area__km²_ VARCHAR) ### Question: What is the percentage of total area in the ecozone that the area is 1782252 km2? ### Answer: SELECT percentage_of_total_area FROM table_15555661_2 WHERE area__km²_ = 1782252
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341472_15 (party VARCHAR, first_elected VARCHAR) ### Question: what's the party for the first elected in 1980 ### Answer: SELECT party FROM table_1341472_15 WHERE first_elected = "1980"
Below is an context that describes a sql 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 (identifier VARCHAR, city_of_license VARCHAR) ### Question: What is Identifier, when City of License is Terrace Bay? ### Answer: SELECT identifier FROM table_name_26 WHERE city_of_license = "terrace bay"
Below is an context that describes a sql 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 (score VARCHAR, opponents VARCHAR, year VARCHAR) ### Question: Which Score has Opponents of valencia, and a Year of 2011–12? ### Answer: SELECT score FROM table_name_21 WHERE opponents = "valencia" AND year = "2011–12"
Below is an context that describes a sql 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 (try_bonus VARCHAR, tries_against VARCHAR) ### Question: With 37 tries against, what is the try bonus? ### Answer: SELECT try_bonus FROM table_name_82 WHERE tries_against = "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_4 (date VARCHAR, event VARCHAR, acts VARCHAR, year VARCHAR) ### Question: Tell me the date for acts of 6 bands and year larger than 1981 for monsters of rock ### Answer: SELECT date FROM table_name_4 WHERE acts = "6 bands" AND year > 1981 AND event = "monsters of rock"
Below is an context that describes a sql 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 (place VARCHAR, money___$__ VARCHAR, player VARCHAR) ### Question: Which Place that has Money of 150, and a Player of bobby cruickshank? ### Answer: SELECT place FROM table_name_83 WHERE money___$__ = 150 AND player = "bobby cruickshank"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29804176_23 (official_rating_16_39 VARCHAR, share_16_39 VARCHAR) ### Question: what is the official rating 16-39 for the episode with a 16-39 share of 22,77%? ### Answer: SELECT official_rating_16_39 FROM table_29804176_23 WHERE share_16_39 = "22,77%"
Below is an context that describes a sql 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 (gold INTEGER, total VARCHAR, bronze VARCHAR) ### Question: How many golds have a Total of 11, and a Bronze smaller than 3? ### Answer: SELECT SUM(gold) FROM table_name_81 WHERE total = 11 AND bronze < 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_26 (finish VARCHAR, qual VARCHAR) ### Question: What was the finish place with a qual of 123.660? ### Answer: SELECT finish FROM table_name_26 WHERE qual = "123.660"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1373768_1 (trim VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR) ### Question: what's the trim with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb ### Answer: SELECT trim FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb"
Below is an context that describes a sql 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 (premiership_years VARCHAR, years_in_competition VARCHAR) ### Question: What was the Premiership Years that had in the Competition of 1983-1992? ### Answer: SELECT premiership_years FROM table_name_65 WHERE years_in_competition = "1983-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 table_name_36 (score VARCHAR, place VARCHAR, player VARCHAR) ### Question: What is score of the game that was at a paace of t4, and had the player Butch Baird? ### Answer: SELECT score FROM table_name_36 WHERE place = "t4" AND player = "butch baird"
Below is an context that describes a sql 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 (date VARCHAR, winner VARCHAR) ### Question: What was the date with a winner of km (mi)? ### Answer: SELECT date FROM table_name_20 WHERE winner = "km (mi)"
Below is an context that describes a sql 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 (event VARCHAR, res VARCHAR, time VARCHAR) ### Question: What event was a loss in 5:00? ### Answer: SELECT event FROM table_name_52 WHERE res = "loss" AND time = "5: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_77 (frequency_mhz INTEGER, call_sign VARCHAR) ### Question: what is the highest frequency mhz with the call sign w292cu? ### Answer: SELECT MAX(frequency_mhz) FROM table_name_77 WHERE call_sign = "w292cu"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22737506_1 (poles INTEGER, pos VARCHAR) ### Question: When 19th is the position what is the highest amount of poles? ### Answer: SELECT MAX(poles) FROM table_22737506_1 WHERE pos = "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_22 (Id VARCHAR) ### Question: What is the 2002 result where 2011 and 2000 are 1R? ### Answer: SELECT 2002 FROM table_name_22 WHERE 2011 = "1r" AND 2000 = "1r"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE dorm (student_capacity INTEGER, gender VARCHAR) ### Question: Find the average and total capacity of dorms for the students with gender X. ### Answer: SELECT AVG(student_capacity), SUM(student_capacity) FROM dorm WHERE gender = 'X'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE review (Id VARCHAR) ### Question: Find the number of reviews. ### Answer: SELECT COUNT(*) FROM review
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1876825_6 (no_in_season VARCHAR, production_code VARCHAR) ### Question: In season 5 what episode number was production 06-03-519? ### Answer: SELECT COUNT(no_in_season) FROM table_1876825_6 WHERE production_code = "06-03-519"
Below is an context that describes a sql 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 (react INTEGER, time VARCHAR, athlete VARCHAR) ### Question: What is Christian Malcolm´s highest react when his time was below 20.58? ### Answer: SELECT MAX(react) FROM table_name_72 WHERE time < 20.58 AND athlete = "christian malcolm"
Below is an context that describes a sql 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__opening_ VARCHAR, year VARCHAR, date__closing_ VARCHAR) ### Question: What is Date (Opening), when Year is less than 2010, and when Date (Closing) is "September 28"? ### Answer: SELECT date__opening_ FROM table_name_5 WHERE year < 2010 AND date__closing_ = "september 28"
Below is an context that describes a sql 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 (player VARCHAR, tries VARCHAR, points VARCHAR, goals VARCHAR) ### Question: Tell me the player with points larger than 36 and goals more than 0 with tries of 12 ### Answer: SELECT player FROM table_name_56 WHERE points > 36 AND goals > 0 AND tries = 12
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (são_paulo_career VARCHAR, name VARCHAR, appearances VARCHAR, goals VARCHAR) ### Question: WHAT SAN PAULO CAREER HAD SMALLER THAN 201 APPEARANCES, SMALLER THAN 2 GOALS, AND FOR RICARDO ROCHA? ### Answer: SELECT são_paulo_career FROM table_name_45 WHERE appearances < 201 AND goals < 2 AND name = "ricardo rocha"
Below is an context that describes a sql 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 (player VARCHAR, school_country VARCHAR) ### Question: Which player is associated with Temple? ### Answer: SELECT player FROM table_name_22 WHERE school_country = "temple"
Below is an context that describes a sql 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 (born VARCHAR, current_club VARCHAR) ### Question: Where was the player whose Current Club Elfsborg born? ### Answer: SELECT born FROM table_name_63 WHERE current_club = "elfsborg"
Below is an context that describes a sql 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 (lost INTEGER, pct__percentage VARCHAR, games VARCHAR, points VARCHAR) ### Question: What is the average Lost, when Games is less than 82, when Points is less than 95, and when Pct % is less than 0.506? ### Answer: SELECT AVG(lost) FROM table_name_14 WHERE games < 82 AND points < 95 AND pct__percentage < 0.506
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2417330_4 (successor VARCHAR, reason_for_change VARCHAR) ### Question: Name the successor for election was successfully contested july 30, 1861 ### Answer: SELECT successor FROM table_2417330_4 WHERE reason_for_change = "Election was successfully contested July 30, 1861"
Below is an context that describes a sql 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 (engine_s_ VARCHAR, year VARCHAR, points VARCHAR) ### Question: Which engine(s) has a year of 1966, and a point of 42. ### Answer: SELECT engine_s_ FROM table_name_57 WHERE year = 1966 AND points = "42"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (senior_status VARCHAR, chief_judge VARCHAR) ### Question: Which Senior status has a Chief Judge of 1991–1995? ### Answer: SELECT senior_status FROM table_name_30 WHERE chief_judge = "1991–1995"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27614707_1 (result VARCHAR, theme VARCHAR) ### Question: What was the result of the Top 12 Men theme? ### Answer: SELECT result FROM table_27614707_1 WHERE theme = "Top 12 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 vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR) ### Question: What are the vocal types used in song "Le Pop"? ### Answer: SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Le Pop"
Below is an context that describes a sql 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 (sunday_surya__the_sun_ VARCHAR, monday_soma__the_moon_ VARCHAR, tuesday_mangala__mars_ VARCHAR) ### Question: What is the result on Sunday that's सोमवार somavār on Monday and मंगलवार mangalavār on Tuesday? ### Answer: SELECT sunday_surya__the_sun_ FROM table_name_29 WHERE monday_soma__the_moon_ = "सोमवार somavār" AND tuesday_mangala__mars_ = "मंगलवार mangalavār"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19189856_1 (first_performance VARCHAR, last_performance VARCHAR) ### Question: what is the first performance of the last performance on 03/29/1957 ### Answer: SELECT first_performance FROM table_19189856_1 WHERE last_performance = "03/29/1957"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23242933_2 (no_in_series INTEGER, written_by VARCHAR) ### Question: What's the series number of the episode written by Dan Vebber? ### Answer: SELECT MAX(no_in_series) FROM table_23242933_2 WHERE written_by = "Dan Vebber"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE protein (institution_id VARCHAR); CREATE TABLE institution (institution_id VARCHAR) ### Question: How many institutions do not have an associated protein in our record? ### Answer: SELECT COUNT(*) FROM institution WHERE NOT institution_id IN (SELECT institution_id FROM protein)
Below is an context that describes a sql 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 (singapore_league_cup VARCHAR, name VARCHAR) ### Question: What Singapore League Cup does Masahiro Fukasawa have? ### Answer: SELECT singapore_league_cup FROM table_name_99 WHERE name = "masahiro fukasawa"
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR) ### Question: What is the date of the match with sheffield wednesday as the away team? ### Answer: SELECT date FROM table_name_62 WHERE away_team = "sheffield wednesday"
Below is an context that describes a sql 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 (wins INTEGER, rank VARCHAR, points VARCHAR, class VARCHAR) ### Question: What is the fewest number of wins for a team ranked 8th with fewer than 32 points in the 350cc class? ### Answer: SELECT MIN(wins) FROM table_name_75 WHERE points < 32 AND class = "350cc" AND rank = "8th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27700530_10 (date VARCHAR, high_assists VARCHAR) ### Question: What is the date when jameer nelson (10) had the high assists? ### Answer: SELECT date FROM table_27700530_10 WHERE high_assists = "Jameer Nelson (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_1341577_47 (candidates VARCHAR, district VARCHAR) ### Question: Who was the candidate in the Virginia 3 district election? ### Answer: SELECT candidates FROM table_1341577_47 WHERE district = "Virginia 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_26099252_1 (latest_stable_release VARCHAR, vp9___webm__ VARCHAR, h264 VARCHAR) ### Question: What is the last stable version where the h.264 is 3.0 and vp9 (webm) is no. ### Answer: SELECT latest_stable_release FROM table_26099252_1 WHERE vp9___webm__ = "No" AND h264 = "3.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_28211213_1 (affiliation VARCHAR, institution VARCHAR) ### Question: What is the affiliation of Davenport University? ### Answer: SELECT affiliation FROM table_28211213_1 WHERE institution = "Davenport 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_23248940_10 (high_assists VARCHAR, game VARCHAR) ### Question: How many people led in assists on game 71? ### Answer: SELECT COUNT(high_assists) FROM table_23248940_10 WHERE game = 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_96 (floors INTEGER, rank VARCHAR, name VARCHAR) ### Question: What is the highest floors with rank greater than 1 in Conrad Dubai? ### Answer: SELECT MAX(floors) FROM table_name_96 WHERE rank > 1 AND name = "conrad dubai"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17060277_7 (team VARCHAR, high_assists VARCHAR) ### Question: Name the team for chris duhon , nate robinson , david lee (3) ### Answer: SELECT team FROM table_17060277_7 WHERE high_assists = "Chris Duhon , Nate Robinson , David Lee (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_23916462_3 (attendance VARCHAR, date VARCHAR) ### Question: How many values for attendance on the date of August 26? ### Answer: SELECT COUNT(attendance) FROM table_23916462_3 WHERE date = "August 26"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_52 (bronze INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR) ### Question: What is the average number of bronze medals of the team with 0 silvers, ranked 3, and less than 1 total medal? ### Answer: SELECT AVG(bronze) FROM table_name_52 WHERE silver = 0 AND rank = "3" 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_55 (money___ INTEGER, to_par VARCHAR, country VARCHAR) ### Question: What is the average money for a to par of 15, and is from the United States? ### Answer: SELECT AVG(money___) AS $__ FROM table_name_55 WHERE to_par = 15 AND country = "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_90 (position VARCHAR, birthdate VARCHAR) ### Question: Which Position player was born June 30, 1981? ### Answer: SELECT position FROM table_name_90 WHERE birthdate = "june 30, 1981"
Below is an context that describes a sql 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 (competition VARCHAR, result VARCHAR, score VARCHAR) ### Question: What is the competition type of the event with a result of 3-2 and a score of 2-1? ### Answer: SELECT competition FROM table_name_36 WHERE result = "3-2" AND score = "2-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 (country VARCHAR, domestic_tournament VARCHAR, team VARCHAR) ### Question: What Country's team is Rajasthan Royals at the 2008 Indian Premier League? ### Answer: SELECT country FROM table_name_87 WHERE domestic_tournament = "2008 indian premier league" AND team = "rajasthan royals"
Below is an context that describes a sql 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 (number_of_seats INTEGER, leader VARCHAR) ### Question: How many seats does leader Raymond McCartney have? ### Answer: SELECT SUM(number_of_seats) FROM table_name_2 WHERE leader = "raymond mccartney"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20614109_1 (earnings_before_interest_and_taxes__€m_ VARCHAR, earnings_per_share__€_ VARCHAR) ### Question: Name the ebit for eps being 1.78 ### Answer: SELECT earnings_before_interest_and_taxes__€m_ FROM table_20614109_1 WHERE earnings_per_share__€_ = "1.78"
Below is an context that describes a sql 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, attendance INTEGER) ### Question: What is Date, when Attendance is less than 521? ### Answer: SELECT date FROM table_name_43 WHERE attendance < 521
Below is an context that describes a sql 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 (television_service VARCHAR, package_option VARCHAR) ### Question: Which television service has a qualsiasi package/option? ### Answer: SELECT television_service FROM table_name_27 WHERE package_option = "qualsiasi"
Below is an context that describes a sql 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 (winner VARCHAR) ### Question: What is the amount of the 1st prize when the Winner was ken green (4)? ### Answer: SELECT 1 AS st_prize___$__ FROM table_name_56 WHERE winner = "ken green (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_74 (type VARCHAR, name VARCHAR) ### Question: What is the type of station for ESPN International Sports? ### Answer: SELECT type FROM table_name_74 WHERE name = "espn international sports"
Below is an context that describes a sql 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 (elector VARCHAR, nationality VARCHAR) ### Question: Which Elector is hungarian? ### Answer: SELECT elector FROM table_name_68 WHERE nationality = "hungarian"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23235546_1 (score_in_the_final VARCHAR, championship VARCHAR, opponent_in_the_final VARCHAR) ### Question: What was the score in the final when Mats Wilander was the opponent in the Australian Open? ### Answer: SELECT score_in_the_final FROM table_23235546_1 WHERE championship = "Australian Open" AND opponent_in_the_final = "Mats Wilander"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, athlete VARCHAR) ### Question: When yakup şener is the athlete what is the round of 32? ### Answer: SELECT round_of_32 FROM table_27294107_11 WHERE athlete = "Yakup Şener"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: What did the home team score against the away team Hawthorn? ### Answer: SELECT home_team AS score FROM table_name_30 WHERE away_team = "hawthorn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (representative VARCHAR, presentation_of_credentials VARCHAR) ### Question: Name the representative with presentation of credentials of august 16, 1928 ### Answer: SELECT representative FROM table_name_45 WHERE presentation_of_credentials = "august 16, 1928"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2610582_2 (branding VARCHAR, callsign VARCHAR) ### Question: The callsign DWEC-TV has what branding? ### Answer: SELECT branding FROM table_2610582_2 WHERE callsign = "DWEC-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 tweets (Id VARCHAR) ### Question: Find the number of tweets in record. ### Answer: SELECT COUNT(*) FROM tweets
Below is an context that describes a sql 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 (draws INTEGER, south_west_dfl VARCHAR, wins VARCHAR) ### Question: How many Draws have a South West DFL of tyrendarra, and less than 10 wins? ### Answer: SELECT SUM(draws) FROM table_name_83 WHERE south_west_dfl = "tyrendarra" AND wins < 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 music_festival (Category VARCHAR) ### Question: Please show the categories of the music festivals with count more than 1. ### Answer: SELECT Category FROM music_festival GROUP BY Category HAVING COUNT(*) > 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 Player (HS INTEGER) ### Question: What is the average training hours of all players? ### Answer: SELECT AVG(HS) FROM Player
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (displacement_cc VARCHAR, year VARCHAR) ### Question: What is the CC displacement for 1965? ### Answer: SELECT displacement_cc FROM table_name_94 WHERE year = "1965"
Below is an context that describes a sql 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 (played VARCHAR, points_for VARCHAR) ### Question: How many matches were played by the team that has 473 points for? ### Answer: SELECT played FROM table_name_31 WHERE points_for = "473"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26677836_1 (against VARCHAR, nation VARCHAR) ### Question: How many times is the nation [[|]] (19)? ### Answer: SELECT COUNT(against) FROM table_26677836_1 WHERE nation = "[[|]] (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_70 (date VARCHAR, visiting_team VARCHAR, final_score VARCHAR) ### Question: What is the date the new york giants were the visiting team and the Final Score was 37-34? ### Answer: SELECT date FROM table_name_70 WHERE visiting_team = "new york giants" AND final_score = "37-34"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (points INTEGER, time_retired VARCHAR, laps VARCHAR) ### Question: What is the lowest points for a time/retired of +30.7 secs, and laps smaller than 165? ### Answer: SELECT MIN(points) FROM table_name_70 WHERE time_retired = "+30.7 secs" AND laps < 165
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (lost INTEGER, points VARCHAR, drawn VARCHAR, played VARCHAR, _percentage_won VARCHAR) ### Question: What are the fewest losses for a player lower than 3, with wins fewer than 75%, 0 draws and 56 points? ### Answer: SELECT MIN(lost) FROM table_name_76 WHERE played > 3 AND _percentage_won < 75 AND drawn = 0 AND points = 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_27946889_2 (contestant VARCHAR, height__mtr_ VARCHAR) ### Question: How many contestants are 1.80 mtr. in height? ### Answer: SELECT COUNT(contestant) FROM table_27946889_2 WHERE height__mtr_ = "1.80"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (elector VARCHAR, title VARCHAR) ### Question: What is listed as the Elector with the Title of Deacon of S. Maria in Domnica? ### Answer: SELECT elector FROM table_name_62 WHERE title = "deacon of s. maria in domnica"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21313327_1 (no_in_series INTEGER, written_by VARCHAR) ### Question: what is the No in series when Rob wright & Debra j. Fisher & Erica Messer were the writers? ### Answer: SELECT MIN(no_in_series) FROM table_21313327_1 WHERE written_by = "Rob Wright & Debra J. Fisher & Erica Messer"
Below is an context that describes a sql 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 (third VARCHAR, discipline VARCHAR) ### Question: Who was third at the 0.8km f sprint discipline? ### Answer: SELECT third FROM table_name_32 WHERE discipline = "0.8km f sprint"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) ### Question: Name the population for александрово ### Answer: SELECT COUNT(population__2011_) FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александрово"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13328239_4 (round VARCHAR, venue VARCHAR, result VARCHAR) ### Question: What round was held at Knowsley Road, resulting in a lose. ### Answer: SELECT round FROM table_13328239_4 WHERE venue = "Knowsley Road" AND result = "Lose"
Below is an context that describes a sql 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 (code__iata_icao_ VARCHAR) ### Question: What was the value in 2010 for the airport coded OTP/LROP? ### Answer: SELECT MAX(2010) FROM table_name_62 WHERE code__iata_icao_ = "otp/lrop"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19789597_6 (game INTEGER, high_assists VARCHAR) ### Question: What's the lowest number of a game where S. Johnson (3) did the most high assists? ### Answer: SELECT MIN(game) FROM table_19789597_6 WHERE high_assists = "S. Johnson (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_13110459_2 (air_date VARCHAR, overall VARCHAR) ### Question: how many air date with overall being 83/95 ### Answer: SELECT COUNT(air_date) FROM table_13110459_2 WHERE overall = "83/95"
Below is an context that describes a sql 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 (silver VARCHAR, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR) ### Question: Gold smaller than 2, and a Rank of 4, and a Nation of hungary (hun), and a Bronze smaller than 1 had what total number of silver? ### Answer: SELECT COUNT(silver) FROM table_name_48 WHERE gold < 2 AND rank = "4" AND nation = "hungary (hun)" AND bronze < 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_69 (year VARCHAR, balance_sheet_total VARCHAR) ### Question: What year did the company have a balance sheet total of €125,359,000? ### Answer: SELECT COUNT(year) FROM table_name_69 WHERE balance_sheet_total = "€125,359,000"
Below is an context that describes 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 (Police_force VARCHAR, LOCATION VARCHAR) ### Question: Show the police force shared by counties with location on the east and west. ### Answer: SELECT Police_force FROM county_public_safety WHERE LOCATION = "East" INTERSECT SELECT Police_force FROM county_public_safety WHERE LOCATION = "West"
Below is an context that describes a sql 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 (color VARCHAR, model__number VARCHAR) ### Question: What color is model # pd-kb400w? ### Answer: SELECT color FROM table_name_14 WHERE model__number = "pd-kb400w"