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_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR) ### Question: what is the highest clean & jerk when total (kg) is 200.0 and snatch is more than 87.5? ### Answer: SELECT MAX(clean_) & _jerk FROM table_name_92 WHERE total__kg_ = "200.0" AND snatch > 87.5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (surplus_deficit_ VARCHAR, _percentage_gdp VARCHAR, expenditure VARCHAR, year VARCHAR) ### Question: Which Surplus(Deficit) has an Expenditure larger than 45.8, and a Year smaller than 2011, and a % GDP of (0.9%)? ### Answer: SELECT surplus_deficit_ FROM table_name_88 WHERE expenditure > 45.8 AND year < 2011 AND _percentage_gdp = "(0.9%)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (attendance INTEGER, time VARCHAR) ### Question: What was the least attendance when the time was 3:15? ### Answer: SELECT MIN(attendance) FROM table_name_10 WHERE time = "3:15"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (team VARCHAR, make VARCHAR, drivers VARCHAR) ### Question: When driver yuji tachikawa had a make of lexus, what team did he represent? ### Answer: SELECT team FROM table_name_38 WHERE make = "lexus" AND drivers = "yuji tachikawa"
Below is an context that describes a sql 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 (record VARCHAR, visitor VARCHAR) ### Question: What was the Record of the game in which the Trail Blazers was the visiting team? ### Answer: SELECT record FROM table_name_24 WHERE visitor = "trail blazers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2534387_10 (prize VARCHAR, entries VARCHAR) ### Question: Name the prize pool for 706 (481 r, 346 a) ### Answer: SELECT prize AS Pool FROM table_2534387_10 WHERE entries = "706 (481 R, 346 A)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12243817_1 (tournament_location VARCHAR, champion VARCHAR) ### Question: What is the tournament location when Vicky Hurst in the champion? ### Answer: SELECT tournament_location FROM table_12243817_1 WHERE champion = "Vicky Hurst"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1820752_1 (constellation VARCHAR, distance___ly__ VARCHAR) ### Question: If the distance is 55.7, what is the name of the constellation? ### Answer: SELECT constellation FROM table_1820752_1 WHERE distance___ly__ = "55.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_53 (away_team VARCHAR, venue VARCHAR) ### Question: What was the score of the away team while playing at the arden street oval? ### Answer: SELECT away_team AS score FROM table_name_53 WHERE venue = "arden street oval"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE channel (name VARCHAR, OWNER VARCHAR) ### Question: What are the names of the channels owned by CCTV or HBS? ### Answer: SELECT name FROM channel WHERE OWNER = 'CCTV' OR OWNER = 'HBS'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10007452_3 (manufacturer VARCHAR, order_year VARCHAR) ### Question: who is the manufacturer for the order year 1998? ### Answer: SELECT manufacturer FROM table_10007452_3 WHERE order_year = "1998"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1921_1 (start_of_conflict VARCHAR, location VARCHAR) ### Question: How many conflicts started in Afghanistan? ### Answer: SELECT COUNT(start_of_conflict) FROM table_1921_1 WHERE location = "Afghanistan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28059992_2 (cfl_team VARCHAR, player VARCHAR) ### Question: Name the cfl team for robert beveridge ### Answer: SELECT cfl_team FROM table_28059992_2 WHERE player = "Robert Beveridge"
Below is an context that describes a 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_35 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) ### Question: Name the dominant religion 2002 for меленци ### Answer: SELECT dominant_religion__2002_ FROM table_2562572_35 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_28759261_5 (athens_xi VARCHAR, dadar_xi_‘b’ VARCHAR) ### Question: what is the athens xi where dada xi b is strikers fc? ### Answer: SELECT athens_xi FROM table_28759261_5 WHERE dadar_xi_‘b’ = "Strikers FC"
Below is an context that describes a sql 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 (assists INTEGER, total_attempts VARCHAR, percentage VARCHAR, solo_blocks VARCHAR) ### Question: When the percentage is 0.34900000000000003 with more than 13 solo blocks and less than 4713 total attempts, what is the greatest assists? ### Answer: SELECT MAX(assists) FROM table_name_63 WHERE percentage < 0.34900000000000003 AND solo_blocks > 13 AND total_attempts < 4713
Below is an context that describes a sql 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 (loss VARCHAR, record VARCHAR) ### Question: What was the loss of the game when the record was 3–2? ### Answer: SELECT loss FROM table_name_56 WHERE record = "3–2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR) ### Question: What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets? ### Answer: SELECT mens_open FROM table_16724844_1 WHERE womens_40 = "Sydney Scorpions defeated Hunter Hornets"
Below is an context that describes a sql 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 (visitor VARCHAR, home VARCHAR) ### Question: Which Visitor has a Home of bulls? ### Answer: SELECT visitor FROM table_name_64 WHERE home = "bulls"
Below is an context that describes a sql 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 (record VARCHAR, game VARCHAR) ### Question: What's the record for Game 58? ### Answer: SELECT record FROM table_name_22 WHERE game = 58
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27714985_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) ### Question: What was the broadcast date of episodes that were watched by 23.2 million viewers? ### Answer: SELECT original_air_date FROM table_27714985_1 WHERE us_viewers__millions_ = "23.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_62 (pick__number VARCHAR, league_from VARCHAR, player VARCHAR) ### Question: What pick was Scott Glennie from the Western hockey league ### Answer: SELECT pick__number FROM table_name_62 WHERE league_from = "western hockey league" AND player = "scott glennie"
Below is an context that describes a sql 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 (first_elected VARCHAR, party VARCHAR, result VARCHAR) ### Question: What is First elected that has republican Party and a Result of retired democratic gain? ### Answer: SELECT first_elected FROM table_name_61 WHERE party = "republican" AND result = "retired democratic gain"
Below is an context that describes a sql 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 (Giant VARCHAR, season VARCHAR) ### Question: Which Giant Slalom was obtained in the 1997 season? ### Answer: SELECT Giant AS slalom FROM table_name_29 WHERE season = 1997
Below is an context that describes a sql 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 (bats_throws VARCHAR, players VARCHAR) ### Question: What side does Clayton Allison Bat/Throw from? ### Answer: SELECT bats_throws FROM table_name_87 WHERE players = "clayton allison"
Below is an context that describes a sql 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 (population__1960_ INTEGER, county VARCHAR, population__2000_ VARCHAR) ### Question: What was Oslo's population in 1960, with a population of 507,467 in 2000? ### Answer: SELECT AVG(population__1960_) FROM table_name_41 WHERE county = "oslo" AND population__2000_ > 507 OFFSET 467
Below is an context that describes a sql 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 (qual_2 VARCHAR, name VARCHAR) ### Question: Name the Qual 2 which has the name of katherine legge ### Answer: SELECT qual_2 FROM table_name_40 WHERE name = "katherine legge"
Below is an context that describes a sql 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 (status VARCHAR, area_km_2 VARCHAR, population VARCHAR) ### Question: What status has an area km 2 less than 27.82, with 352 as the population? ### Answer: SELECT status FROM table_name_90 WHERE area_km_2 < 27.82 AND population = 352
Below is an context that describes a sql 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 (year INTEGER, title VARCHAR) ### Question: What is the average year for Faces? ### Answer: SELECT AVG(year) FROM table_name_61 WHERE title = "faces"
Below is an context that describes a sql 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 (dainty_june VARCHAR, louise VARCHAR) ### Question: Who was Dainty June when Tammy Blanchard was Louise? ### Answer: SELECT dainty_june FROM table_name_5 WHERE louise = "tammy blanchard"
Below is an context that describes 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 (Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR) ### Question: Which countries have either English or Dutch as an official language? ### Answer: SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" AND IsOfficial = "T" UNION SELECT * FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "Dutch" AND IsOfficial = "T"
Below is an context that describes a 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 (title VARCHAR, season__number VARCHAR) ### Question: What is the title of the Series 40 Season 5 show? ### Answer: SELECT title FROM table_27911342_1 WHERE season__number = 5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (loss VARCHAR, name VARCHAR) ### Question: What was the loss for Boris Picano-Nacci? ### Answer: SELECT loss FROM table_name_94 WHERE name = "boris picano-nacci"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26842217_6 (time VARCHAR, home_team VARCHAR) ### Question: List all times with Kentucky as the home team. ### Answer: SELECT time FROM table_26842217_6 WHERE home_team = "Kentucky"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What 2001 has a ATP World Tour Masters 1000 2007? ### Answer: SELECT 2011 FROM table_name_12 WHERE 2007 = "atp world tour masters 1000"
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR, date VARCHAR) ### Question: What result has a week less than 16, and October 31, 2005 as the date? ### Answer: SELECT result FROM table_name_25 WHERE week < 16 AND date = "october 31, 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_38 (volume VARCHAR, isbn VARCHAR) ### Question: What volume number has the ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? ### Answer: SELECT volume FROM table_name_38 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25740548_2 (written_by VARCHAR, production_code VARCHAR) ### Question: How many episodes with the production code CA106 are there? ### Answer: SELECT COUNT(written_by) FROM table_25740548_2 WHERE production_code = "CA106"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR) ### Question: What was the margin of victory at the Hawaiian Open tournament? ### Answer: SELECT margin_of_victory FROM table_1514634_2 WHERE tournament = "Hawaiian 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_36 (length VARCHAR, writer VARCHAR, release VARCHAR) ### Question: What was the length when James Swallow had a release longer than 2.1? ### Answer: SELECT length FROM table_name_36 WHERE writer = "james swallow" AND release > 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_49 (start VARCHAR, laps INTEGER) ### Question: What was the starting position of Joie Chitwood when he finished more than 200 laps? ### Answer: SELECT start FROM table_name_49 WHERE laps > 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_45 (college VARCHAR, player VARCHAR) ### Question: What is Mark Cannon's College? ### Answer: SELECT college FROM table_name_45 WHERE player = "mark cannon"
Below is an context that describes a sql 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 (date VARCHAR, attendance VARCHAR) ### Question: What date was the game that was attended by 69,024? ### Answer: SELECT date FROM table_name_52 WHERE attendance = "69,024"
Below is an context that describes a sql 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 (date_departed VARCHAR, navy VARCHAR, name VARCHAR) ### Question: What's the departed date that the HMS Leith of the Royal Navy? ### Answer: SELECT date_departed FROM table_name_51 WHERE navy = "royal navy" AND name = "hms leith"
Below is an context that describes a sql 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 (rank INTEGER, games_played INTEGER) ### Question: What is the rank of the person with more than 5 games played? ### Answer: SELECT SUM(rank) FROM table_name_20 WHERE games_played > 5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (extras INTEGER, name VARCHAR, wickets VARCHAR) ### Question: What is the highest Extras for Farveez Maharoof, with more than 4 wickets? ### Answer: SELECT MAX(extras) FROM table_name_79 WHERE name = "farveez maharoof" AND wickets > 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_88 (series VARCHAR, game VARCHAR) ### Question: what is the series for game 4? ### Answer: SELECT series FROM table_name_88 WHERE game = 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_63 (record VARCHAR, high_rebounds VARCHAR) ### Question: What was the record when the high rebound was Deandre Jordan (11)? ### Answer: SELECT record FROM table_name_63 WHERE high_rebounds = "deandre jordan (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_76 (home_team VARCHAR, venue VARCHAR) ### Question: What home team played at Glenferrie Oval? ### Answer: SELECT home_team FROM table_name_76 WHERE venue = "glenferrie 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_86 (opponent VARCHAR, score VARCHAR) ### Question: who is the opponent when the score is 7–5, 7–6 (8–6)? ### Answer: SELECT opponent FROM table_name_86 WHERE score = "7–5, 7–6 (8–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 (location VARCHAR, attendance INTEGER) ### Question: Where was the attendance more than 57,347? ### Answer: SELECT location FROM table_name_27 WHERE attendance > 57 OFFSET 347
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26397277_3 (employee__real_name_ VARCHAR, brand__from_ VARCHAR, role_s_ VARCHAR) ### Question: Name the employee real name for raw and superstar ### Answer: SELECT employee__real_name_ FROM table_26397277_3 WHERE brand__from_ = "Raw" AND role_s_ = "Superstar"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14941284_1 (opponent VARCHAR, date VARCHAR) ### Question: When it is October 25, 1981 who is the opponent? ### Answer: SELECT opponent FROM table_14941284_1 WHERE date = "October 25, 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 instruments (instrument VARCHAR) ### Question: What is the most used instrument? ### Answer: SELECT instrument FROM instruments GROUP BY instrument 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_2701851_5 (production_code VARCHAR, written_by VARCHAR) ### Question: What is the production code for the episode written by Kat Likkel & Denise Downer? ### Answer: SELECT production_code FROM table_2701851_5 WHERE written_by = "Kat Likkel & Denise Downer"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341843_15 (incumbent VARCHAR, first_elected VARCHAR) ### Question: Who's the incumbent of the district with first election held in 1950? ### Answer: SELECT incumbent FROM table_1341843_15 WHERE first_elected = "1950"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1140074_2 (report VARCHAR, rnd VARCHAR) ### Question: what's the report with rnd being 4 ### Answer: SELECT report FROM table_1140074_2 WHERE rnd = 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_13 (attendance VARCHAR, record VARCHAR) ### Question: How many people were in attendance on the day there was a 30-22 victory? ### Answer: SELECT COUNT(attendance) FROM table_name_13 WHERE record = "30-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_68 (quantity_preserved VARCHAR, manufacturer VARCHAR, class VARCHAR) ### Question: How many did alco -schenectady preserve of class b-3? ### Answer: SELECT quantity_preserved FROM table_name_68 WHERE manufacturer = "alco -schenectady" AND class = "b-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_42 (first VARCHAR, surname VARCHAR) ### Question: Which First has a Surname of searle? ### Answer: SELECT first FROM table_name_42 WHERE surname = "searle"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17751942_4 (wins VARCHAR, team VARCHAR) ### Question: How many wins do the Erie Otters have? ### Answer: SELECT wins FROM table_17751942_4 WHERE team = "Erie Otters"
Below is an context that describes a sql 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 (player VARCHAR, finish VARCHAR) ### Question: What player has a t57 as the finish? ### Answer: SELECT player FROM table_name_65 WHERE finish = "t57"
Below is an context that describes a sql 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 (actor VARCHAR, character VARCHAR) ### Question: who is the actor when the character is dinny byrne? ### Answer: SELECT actor FROM table_name_8 WHERE character = "dinny byrne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR) ### Question: How many rebounds per game did he have at the 2003 eurobasket? ### Answer: SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2003 EuroBasket"
Below is an context that describes a sql 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 (worst_score VARCHAR, best_score VARCHAR, average VARCHAR) ### Question: WHAT IS THE WORST SCORE WHEN THE BEST SCORE WAS 8.8 AND AVERAGE WAS LARGER THAN 6.2? ### Answer: SELECT COUNT(worst_score) FROM table_name_72 WHERE best_score = 8.8 AND average > 6.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_31 (change INTEGER, centre VARCHAR, rank VARCHAR) ### Question: Which Change is the average one that has a Centre of buenos aires, and a Rank smaller than 46? ### Answer: SELECT AVG(change) FROM table_name_31 WHERE centre = "buenos aires" AND rank < 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 ship (name VARCHAR, ship_id VARCHAR); CREATE TABLE captain (ship_id VARCHAR, age VARCHAR) ### Question: Find the name of the ship that is steered by the youngest captain. ### Answer: SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id ORDER BY t2.age 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_46 (matches INTEGER, draws VARCHAR, efficiency__percentage VARCHAR) ### Question: What is the highest number of matches with less than 2 draws that had an efficiency percent of 25%? ### Answer: SELECT MAX(matches) FROM table_name_46 WHERE draws < 2 AND efficiency__percentage = "25%"
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR) ### Question: How many people attended the May 28 game? ### Answer: SELECT attendance FROM table_name_99 WHERE date = "may 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_17360840_5 (points VARCHAR, record VARCHAR) ### Question: How many points were scored when the record was 6-8-6? ### Answer: SELECT COUNT(points) FROM table_17360840_5 WHERE record = "6-8-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_1 (home VARCHAR, leading_scorer VARCHAR) ### Question: What is the home of the team with Carlos Boozer (27) as the leading scorer? ### Answer: SELECT home FROM table_name_1 WHERE leading_scorer = "carlos boozer (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_9 (visitor VARCHAR, date VARCHAR) ### Question: Who was the visitor on March 27? ### Answer: SELECT visitor FROM table_name_9 WHERE date = "march 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_15275060_1 (old_bulgarian_names VARCHAR, Yuni VARCHAR, Transliteration VARCHAR) ### Question: Name the old bulgarian names for yuni ### Answer: SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yuni
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21350934_2 (venue VARCHAR, opponent VARCHAR, date VARCHAR) ### Question: Which venue has bradford bulls as the opponent on the date of 06/09/2009? ### Answer: SELECT venue FROM table_21350934_2 WHERE opponent = "Bradford Bulls" AND date = "06/09/2009"
Below is an context that describes a 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_34 (party VARCHAR, first_elected VARCHAR) ### Question: What's the party elected in the district that first elected in 1990? ### Answer: SELECT party FROM table_1341453_34 WHERE first_elected = "1990"
Below is an context that describes a sql 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 (integrated VARCHAR, allied_related VARCHAR) ### Question: What integrated has an allied-related of centralized? ### Answer: SELECT integrated FROM table_name_11 WHERE allied_related = "centralized"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE student_course_attendance (course_id VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (course_id VARCHAR, student_id VARCHAR) ### Question: Find the id of courses which are registered or attended by student whose id is 121? ### Answer: SELECT course_id FROM student_course_registrations WHERE student_id = 121 UNION SELECT course_id FROM student_course_attendance WHERE student_id = 121
Below is an context that describes a sql 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 (player VARCHAR, position VARCHAR) ### Question: What is the WR player? ### Answer: SELECT player FROM table_name_98 WHERE position = "wr"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16581695_2 (written_by VARCHAR, no_in_series VARCHAR) ### Question: Who was the writer of the episode number in series 4? ### Answer: SELECT written_by FROM table_16581695_2 WHERE no_in_series = "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_25 (attendance VARCHAR, tie_no VARCHAR) ### Question: Which Attendance has a Tie # of 15? ### Answer: SELECT attendance FROM table_name_25 WHERE tie_no = "15"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_65 (money__ INTEGER, round_2 VARCHAR, round_4 VARCHAR) ### Question: What is the maximum ¥ for a round 2 score of 65 and a round 4 score smaller than 67? ### Answer: SELECT MAX(money__) AS ¥_ FROM table_name_65 WHERE round_2 = 65 AND round_4 < 67
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14624447_24 (class VARCHAR, position VARCHAR) ### Question: What are all classes for the position SLB? ### Answer: SELECT class FROM table_14624447_24 WHERE position = "SLB"
Below is an context that describes a sql 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 (tie_no VARCHAR, home_team VARCHAR) ### Question: What was the tie number of the game when the queens park rangers were the home team? ### Answer: SELECT tie_no FROM table_name_7 WHERE home_team = "queens park rangers"
Below is an context that describes a sql 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 (touchdowns INTEGER, yards VARCHAR) ### Question: What is the lease amount of touchdowns with 1318 yards? ### Answer: SELECT MIN(touchdowns) FROM table_name_41 WHERE yards = 1318
Below is an context that describes a sql 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 (date VARCHAR, opponents VARCHAR, h___a VARCHAR) ### Question: Which date has roma as opponent and a H/A of A? ### Answer: SELECT date FROM table_name_46 WHERE opponents = "roma" AND h___a = "a"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (high_rebounds VARCHAR, game VARCHAR) ### Question: What is the high rebounds of game 68? ### Answer: SELECT high_rebounds FROM table_name_46 WHERE game = 68
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (team VARCHAR, year VARCHAR) ### Question: What Team was in 2005? ### Answer: SELECT team FROM table_name_92 WHERE year = 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_28 (rank VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR) ### Question: Tell me the rank for bronze less than 17 and gold less than 1 ### Answer: SELECT rank FROM table_name_28 WHERE bronze < 17 AND silver > 1 AND gold < 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_99 (date VARCHAR, winner VARCHAR, season VARCHAR) ### Question: What is the date for the winner Universitario after the 1943 season? ### Answer: SELECT date FROM table_name_99 WHERE winner = "universitario" AND season > 1943
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE AIRPORTS (AirportCode VARCHAR, AirportName VARCHAR, city VARCHAR) ### Question: List the airport code and name in the city of Anthony. ### Answer: SELECT AirportCode, AirportName FROM AIRPORTS WHERE city = "Anthony"
Below is an context that describes a sql 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 (crowd VARCHAR, home_team VARCHAR) ### Question: How many people watched when st kilda played at home? ### Answer: SELECT crowd FROM table_name_79 WHERE home_team = "st kilda"
Below is an context that describes a sql 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 (game_site VARCHAR, attendance VARCHAR) ### Question: What game did Jets have an attendance of 78,722? ### Answer: SELECT game_site FROM table_name_8 WHERE attendance = "78,722"
Below is an context that describes a sql 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 (total VARCHAR, professors VARCHAR, associate_professors VARCHAR, lecturers VARCHAR) ### Question: What is the total in the case when there are more than 4 associate professors, 5 lecturers and fewer professors than 40? ### Answer: SELECT COUNT(total) FROM table_name_33 WHERE associate_professors > 4 AND lecturers = 5 AND professors < 40
Below is an context that describes a sql 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, position VARCHAR, school_club_team VARCHAR) ### Question: Which Player has a Position of forward, and a School/Club Team of georgia tech? ### Answer: SELECT player FROM table_name_22 WHERE position = "forward" AND school_club_team = "georgia tech"
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR) ### Question: What day did the VFL play at Junction Oval? ### Answer: SELECT date FROM table_name_74 WHERE venue = "junction 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 (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR) ### Question: If the weight is 126g and the NFC is yes, what is the battery (MAH)? ### Answer: SELECT battery___mah__ FROM table WHERE nfc = "Yes" AND weight = "126g"
Below is an context that describes a sql 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 (total VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR) ### Question: What is Total, when Silver is less than 65, when Bronze is greater than 4, and when Rank is "4"? ### Answer: SELECT total FROM table_name_81 WHERE silver < 65 AND bronze > "4" AND 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_1342379_45 (first_elected INTEGER) ### Question: What year was someone first elected? ### Answer: SELECT MIN(first_elected) FROM table_1342379_45
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Products (product_color VARCHAR) ### Question: Show all product colors. ### Answer: SELECT DISTINCT product_color FROM Products
Below is an context that describes a sql 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 (home_team VARCHAR) ### Question: What was Footscray's Home team score? ### Answer: SELECT home_team AS score FROM table_name_62 WHERE home_team = "footscray"