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_75 (attendance VARCHAR, week INTEGER) ### Question: What is the attendance before week 1? ### Answer: SELECT COUNT(attendance) FROM table_name_75 WHERE week < 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 (date VARCHAR, opponent VARCHAR, save VARCHAR) ### Question: What is the date of the match with Brother Elephants as the opponent and a save of ||4,117? ### Answer: SELECT date FROM table_name_49 WHERE opponent = "brother elephants" AND save = "||4,117"
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR, game VARCHAR, march VARCHAR, points VARCHAR) ### Question: Which Score has a March larger than 15, and Points larger than 96, and a Game smaller than 76, and an Opponent of @ washington capitals? ### Answer: SELECT score FROM table_name_65 WHERE march > 15 AND points > 96 AND game < 76 AND opponent = "@ washington capitals"
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: What is the score on october 7? ### Answer: SELECT score FROM table_name_95 WHERE date = "october 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_75 (points INTEGER, game VARCHAR, opponent VARCHAR) ### Question: Which Points have a Game larger than 25, and an Opponent of dallas stars? ### Answer: SELECT AVG(points) FROM table_name_75 WHERE game > 25 AND opponent = "dallas stars"
Below is an context that describes a sql 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 (lost INTEGER, points VARCHAR, played VARCHAR) ### Question: What is the average for games Lost where the Points are 25 and games Played are more than 18? ### Answer: SELECT AVG(lost) FROM table_name_28 WHERE points = 25 AND played > 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_name_38 (longitude INTEGER, county VARCHAR, water__sqmi_ VARCHAR) ### Question: what is the highest longitude for county mountrail and the water (sqmi) is less than 0.075? ### Answer: SELECT MAX(longitude) FROM table_name_38 WHERE county = "mountrail" AND water__sqmi_ < 0.075
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (athletes VARCHAR, country VARCHAR) ### Question: What is the name of the athlete from Myanmar? ### Answer: SELECT athletes FROM table_name_97 WHERE country = "myanmar"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27721131_6 (game VARCHAR, team VARCHAR) ### Question: How many games are shown against Houston? ### Answer: SELECT COUNT(game) FROM table_27721131_6 WHERE team = "Houston"
Below is an context that describes a sql 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 (opposing_team VARCHAR, status VARCHAR) ### Question: What opposing team has second test as the status? ### Answer: SELECT opposing_team FROM table_name_12 WHERE status = "second test"
Below is an context that describes a sql 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 (height VARCHAR, player VARCHAR) ### Question: How tall is nerlens noel? ### Answer: SELECT height FROM table_name_11 WHERE player = "nerlens noel"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2417340_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) ### Question: List all state classes when successors were formally installed on June 22, 1868. ### Answer: SELECT state__class_ FROM table_2417340_3 WHERE date_of_successors_formal_installation = "June 22, 1868"
Below is an context that describes a sql 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 (current_version VARCHAR, license VARCHAR) ### Question: what is the current version with license gpl v3? ### Answer: SELECT current_version FROM table_name_77 WHERE license = "gpl v3"
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR) ### Question: How big was the crowd size, at the Junction Oval venue? ### Answer: SELECT SUM(crowd) FROM table_name_30 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_29141354_4 (_episode_2 VARCHAR, andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4 VARCHAR, episode VARCHAR) ### Question: How many items are listed under 'andrew and georgies guest lee mack replaced andrew flint as team captain for one week' for episode 04x04? ### Answer: SELECT COUNT(andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4), _episode_2 FROM table_29141354_4 WHERE episode = "04x04"
Below is an context that describes a sql 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 (driver VARCHAR, nor_1 VARCHAR) ### Question: What driver has 22 as nor 1? ### Answer: SELECT driver FROM table_name_85 WHERE nor_1 = "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_84 (metal VARCHAR, element VARCHAR) ### Question: Which Metal has an Element of heavenly stems? ### Answer: SELECT metal FROM table_name_84 WHERE element = "heavenly stems"
Below is an context that describes a sql 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 (all_bills_cosponsored INTEGER, all_bills_sponsored VARCHAR, all_amendments_sponsored VARCHAR) ### Question: What is the highest number of bills cosponsored associated with under 24 bills sponsored and under 16 amendments sponsored? ### Answer: SELECT MAX(all_bills_cosponsored) FROM table_name_22 WHERE all_bills_sponsored < 24 AND all_amendments_sponsored < 16
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (results VARCHAR, choreographer VARCHAR) ### Question: What is the Result of the dance Choreographed by Kelly Aykers? ### Answer: SELECT results FROM table_name_44 WHERE choreographer = "kelly aykers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27615896_18 (points INTEGER, sd VARCHAR) ### Question: What are the total points for sd 15? ### Answer: SELECT MAX(points) FROM table_27615896_18 WHERE sd = 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 musical (Nominee VARCHAR, Award VARCHAR) ### Question: Show the nominees that have nominated musicals for both "Tony Award" and "Drama Desk Award". ### Answer: SELECT Nominee FROM musical WHERE Award = "Tony Award" INTERSECT SELECT Nominee FROM musical WHERE Award = "Drama Desk Award"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Grants (organisation_id VARCHAR, grant_amount INTEGER) ### Question: What is the total amount of grants given by each organisations? Also list the organisation id. ### Answer: SELECT SUM(grant_amount), organisation_id FROM Grants GROUP BY organisation_id
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (top_5 INTEGER, events VARCHAR, wins VARCHAR) ### Question: Name the most top-5 for wins less than 0 and events less than 16 ### Answer: SELECT MAX(top_5) FROM table_name_88 WHERE events < 16 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 table_name_38 (project_name VARCHAR, peak VARCHAR, country VARCHAR) ### Question: What was the name of the project that peaked at 40 and was in the USA? ### Answer: SELECT project_name FROM table_name_38 WHERE peak = "40" AND country = "usa"
Below is an context that describes a sql 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 (country VARCHAR, airport VARCHAR) ### Question: Which country contains the Shanghai Pudong International airport? ### Answer: SELECT country FROM table_name_41 WHERE airport = "shanghai pudong international airport"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28859177_3 (original_air_date VARCHAR, directed_by VARCHAR) ### Question: How many original air dates did the episode directed by Bethany rooney have? ### Answer: SELECT COUNT(original_air_date) FROM table_28859177_3 WHERE directed_by = "Bethany Rooney"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_71 (serial_format VARCHAR, issued VARCHAR) ### Question: What serial format was issued in 1972? ### Answer: SELECT serial_format FROM table_name_71 WHERE issued = 1972
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23406517_2 (direction VARCHAR) ### Question: What are all values for 24 mountains when direction is Northeast? ### Answer: SELECT 24 AS _mountains FROM table_23406517_2 WHERE direction = "Northeast"
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: What scored is recorded on April 24? ### Answer: SELECT score FROM table_name_92 WHERE date = "april 24"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_34 (commenced_operations VARCHAR, icao VARCHAR) ### Question: Who is the commenced operations that has icao of slk? ### Answer: SELECT commenced_operations FROM table_name_34 WHERE icao = "slk"
Below is an context that describes a sql 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 (game VARCHAR, home_team VARCHAR, date VARCHAR) ### Question: Which Game has a Home Team of san francisco, and a Date of april 22? ### Answer: SELECT game FROM table_name_22 WHERE home_team = "san francisco" AND date = "april 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 festival_detail (YEAR VARCHAR, LOCATION VARCHAR) ### Question: In which year are there festivals both inside the 'United States' and outside the 'United States'? ### Answer: SELECT YEAR FROM festival_detail WHERE LOCATION = 'United States' INTERSECT SELECT YEAR FROM festival_detail WHERE LOCATION <> '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_20867295_2 (top_scorer VARCHAR, winner VARCHAR, third_place VARCHAR) ### Question: When nac breda came in third place and psv eindhoven was the winner who is the top scorer? ### Answer: SELECT top_scorer FROM table_20867295_2 WHERE winner = "PSV Eindhoven" AND third_place = "NAC Breda"
Below is an context that describes a sql 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 (fa_cup INTEGER, malaysia_cup VARCHAR, total VARCHAR) ### Question: Which FA Cup has a Malaysia Cup larger than 0, and a Total of 8? ### Answer: SELECT SUM(fa_cup) FROM table_name_44 WHERE malaysia_cup > 0 AND total = 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_30049462_5 (score VARCHAR, team VARCHAR) ### Question: what is the score in the philadelphia team ### Answer: SELECT COUNT(score) FROM table_30049462_5 WHERE team = "Philadelphia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (score VARCHAR) ### Question: What's in third place that's going 1-0? ### Answer: SELECT 3 AS rd_place FROM table_name_39 WHERE score = "1-0"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (wins INTEGER, coach VARCHAR, losses VARCHAR) ### Question: What are coach Bill Henderson's highest wins with more than 233 losses? ### Answer: SELECT MAX(wins) FROM table_name_35 WHERE coach = "bill henderson" AND losses > 233
Below is an context that describes a sql 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 (city___state VARCHAR, series VARCHAR) ### Question: What city had a series of atcc round 1? ### Answer: SELECT city___state FROM table_name_96 WHERE series = "atcc round 1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26996293_3 (cfl_team VARCHAR, college VARCHAR) ### Question: How many CFL teams drafted someone from mount allison college? ### Answer: SELECT COUNT(cfl_team) FROM table_26996293_3 WHERE college = "Mount 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_49 (description VARCHAR, livery VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR) ### Question: What's the Description for Scottish Tar Distillers No. 78, that's Livery is black, and a date prior to 1897? ### Answer: SELECT description FROM table_name_49 WHERE livery = "black" AND date < 1897 AND number_ & _name = "scottish tar distillers no. 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_87 (player VARCHAR, total VARCHAR) ### Question: What player has a total of 297? ### Answer: SELECT player FROM table_name_87 WHERE total = 297
Below is an context that describes a sql 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 (losses INTEGER, team VARCHAR, wins VARCHAR) ### Question: What is the lowest number of losses for Nottingham City with fewer than 0 wins? ### Answer: SELECT MIN(losses) FROM table_name_28 WHERE team = "nottingham city" 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 table_15002265_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) ### Question: who is the the womens doubles with mens doubles being leopold bauer alfred kohlhauser ### Answer: SELECT womens_doubles FROM table_15002265_1 WHERE mens_doubles = "Leopold Bauer Alfred Kohlhauser"
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: Which record has a Date of august 28? ### Answer: SELECT record FROM table_name_8 WHERE date = "august 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 (Id VARCHAR) ### Question: What was the 1989 result for the tournament with 1984 of a, 1985 of a, and 1990 of a? ### Answer: SELECT 1989 FROM table_name_56 WHERE 1984 = "a" AND 1985 = "a" AND 1990 = "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_2731431_1 (location VARCHAR, elevation__m_ VARCHAR) ### Question: Which location has an elevation of 3798? ### Answer: SELECT location FROM table_2731431_1 WHERE elevation__m_ = 3798
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (country VARCHAR, to_par VARCHAR, year_s__won VARCHAR) ### Question: Can you tell me the Country that has the To par larger than 9, and the Year(s) won of 1984? ### Answer: SELECT country FROM table_name_67 WHERE to_par > 9 AND year_s__won = "1984"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (win__percentage VARCHAR, appearances VARCHAR, losses VARCHAR) ### Question: What's the total number of Win % with an Appearances of 4, and Losses that's larger than 3? ### Answer: SELECT COUNT(win__percentage) FROM table_name_78 WHERE appearances = 4 AND losses > 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_63 (winner VARCHAR, runner_up VARCHAR) ### Question: Who was the winner in the match that had John Higgins as runner-up? ### Answer: SELECT winner FROM table_name_63 WHERE runner_up = "john higgins"
Below is an context that describes a sql 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 (college VARCHAR, player VARCHAR) ### Question: Which college is Kellen Davis from? ### Answer: SELECT college FROM table_name_44 WHERE player = "kellen davis"
Below is an context that describes a sql 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 (loses INTEGER, position VARCHAR, games_played VARCHAR) ### Question: What is the fewest loses for the club that is below 8 in position, and had played less than 30 games? ### Answer: SELECT MIN(loses) FROM table_name_83 WHERE position < 8 AND games_played < 30
Below is an context that describes a sql 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 (position VARCHAR, name VARCHAR, signed VARCHAR, round VARCHAR) ### Question: what is the position when signed is yes, round is less than 24 and name is charlie hough? ### Answer: SELECT position FROM table_name_96 WHERE signed = "yes" AND round < 24 AND name = "charlie hough"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21481509_4 (COUnT VARCHAR, population VARCHAR) ### Question: How many n are listed for berbers from siwa? ### Answer: SELECT COUnT AS n FROM table_21481509_4 WHERE population = "Berbers from Siwa"
Below is an context that describes a sql 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 (engine_† VARCHAR, chassis VARCHAR, driver VARCHAR) ### Question: Which constructor manufactured the car with a c24 chassis and which is driven by Jacques Villeneuve? ### Answer: SELECT engine_† FROM table_name_85 WHERE chassis = "c24" AND driver = "jacques villeneuve"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE mountain (Country VARCHAR) ### Question: List the countries that have more than one mountain. ### Answer: SELECT Country FROM mountain GROUP BY Country 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 table_name_97 (label VARCHAR, date VARCHAR) ### Question: Name the label for january 24, 2005 ### Answer: SELECT label FROM table_name_97 WHERE date = "january 24, 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_27922491_20 (wickets INTEGER) ### Question: What is the fewest number of wickets recorded? ### Answer: SELECT MIN(wickets) FROM table_27922491_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_49 (result VARCHAR, game_site VARCHAR, opponent VARCHAR) ### Question: When they were playing the detroit lions at tampa stadium, what was the score? ### Answer: SELECT result FROM table_name_49 WHERE game_site = "tampa stadium" AND opponent = "detroit lions"
Below is an context that describes a sql 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 (date VARCHAR, type_of_game VARCHAR) ### Question: When was the WC 1974 Qualifying game? ### Answer: SELECT date FROM table_name_94 WHERE type_of_game = "wc 1974 qualifying"
Below is an context that describes a sql 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 (death VARCHAR, birth VARCHAR, rank VARCHAR) ### Question: What year is the death for a birth of 1873 and higher than rank 28? ### Answer: SELECT death FROM table_name_74 WHERE birth = 1873 AND rank > 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_32 (winner VARCHAR, date VARCHAR) ### Question: who won on 29 may? ### Answer: SELECT winner FROM table_name_32 WHERE date = "29 may"
Below is an context that describes a sql 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 (number_of_households VARCHAR, median_family_income VARCHAR) ### Question: What Number of households have a Median family income of $58,491? ### Answer: SELECT number_of_households FROM table_name_73 WHERE median_family_income = "$58,491"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (format VARCHAR, year INTEGER) ### Question: What is the format of the album with a year less than 1992? ### Answer: SELECT format FROM table_name_58 WHERE year < 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_53 (object_type VARCHAR, ngc_number VARCHAR, declination___j2000__ VARCHAR) ### Question: Which object type had an NGC number greater than 6357 and a declination (J2000) of °45′34″? ### Answer: SELECT object_type FROM table_name_53 WHERE ngc_number > 6357 AND declination___j2000__ = "°45′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_60 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR) ### Question: What was the passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39? ### Answer: SELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = "$599.39"
Below is an context that describes a sql 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 (date VARCHAR, result VARCHAR, score VARCHAR) ### Question: Which date has a Result of won, and a Score of 1-0? ### Answer: SELECT date FROM table_name_23 WHERE result = "won" AND score = "1-0"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (points INTEGER, r_magjistari INTEGER) ### Question: For R. Magjistari scores over 12, what is the highest number of points? ### Answer: SELECT MAX(points) FROM table_name_33 WHERE r_magjistari > 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_23 (class VARCHAR, race VARCHAR) ### Question: What class is the dodge dealers grand prix? ### Answer: SELECT class FROM table_name_23 WHERE race = "the dodge dealers 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_63 (recorded VARCHAR, time VARCHAR, song_title VARCHAR) ### Question: What is the date recorded for I Want to Be Free with a length of 2:12? ### Answer: SELECT recorded FROM table_name_63 WHERE time = "2:12" AND song_title = "i want to be free"
Below is an context that describes a sql 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 (zone VARCHAR, opponent VARCHAR, round VARCHAR, against VARCHAR) ### Question: What zone was the Semifinal game played against Israel with Anna Smashnova as the opponent? ### Answer: SELECT zone FROM table_name_42 WHERE round = "semifinal" AND against = "israel" AND opponent = "anna smashnova"
Below is an context that describes a sql 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 (icao VARCHAR, country VARCHAR) ### Question: What is Cuba's ICAO? ### Answer: SELECT icao FROM table_name_63 WHERE country = "cuba"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668347_14 (district VARCHAR, party VARCHAR, first_elected VARCHAR) ### Question: what is the district when the party is federalist and first elected is 1814? ### Answer: SELECT district FROM table_2668347_14 WHERE party = "Federalist" AND first_elected = "1814"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (total INTEGER, nation VARCHAR, gold VARCHAR) ### Question: What is the average total with a nation of thailand with a gold smaller than 17? ### Answer: SELECT AVG(total) FROM table_name_54 WHERE nation = "thailand" AND gold < 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_24814477_2 (attendance INTEGER, game_site VARCHAR) ### Question: What was the largest attendance at the Rheinstadion? ### Answer: SELECT MAX(attendance) FROM table_24814477_2 WHERE game_site = "Rheinstadion"
Below is an context that describes a sql 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 (language VARCHAR, number VARCHAR) ### Question: Which Language has a Number of 553 633? ### Answer: SELECT language FROM table_name_64 WHERE number = "553 633"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14889048_1 (draws VARCHAR, conceded VARCHAR) ### Question: Name the number of draws for when conceded is 25 ### Answer: SELECT COUNT(draws) FROM table_14889048_1 WHERE conceded = 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_27 (longitude VARCHAR, latitude VARCHAR) ### Question: If the latitude is 77°28′n, what is the longitude? ### Answer: SELECT longitude FROM table_name_27 WHERE latitude = "77°28′n"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28654454_5 (reunion_bmi VARCHAR, contestant VARCHAR) ### Question: What was miles's bmi att the reunion? ### Answer: SELECT COUNT(reunion_bmi) FROM table_28654454_5 WHERE contestant = "Miles"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22165661_3 (score VARCHAR, championship_game_opponent VARCHAR) ### Question: How many scores are there when the championship game opponent is Miami University? ### Answer: SELECT COUNT(score) FROM table_22165661_3 WHERE championship_game_opponent = "Miami University"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (height_m___ft VARCHAR, name VARCHAR) ### Question: What is the height for the Shanghai World Plaza? ### Answer: SELECT height_m___ft FROM table_name_26 WHERE name = "shanghai world plaza"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18106841_1 (members_of_parliament VARCHAR, winners__percentage_votes VARCHAR) ### Question: When the winners votes were 50.54% who were the members of parliment? ### Answer: SELECT members_of_parliament FROM table_18106841_1 WHERE winners__percentage_votes = "50.54%"
Below is an context that describes a sql 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 (years VARCHAR, rank INTEGER) ### Question: Which years have a rank less than 2? ### Answer: SELECT years FROM table_name_88 WHERE rank < 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_56 (car INTEGER, yards INTEGER) ### Question: What is the highest Car with more than 155 yards? ### Answer: SELECT MAX(car) FROM table_name_56 WHERE yards > 155
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (interregnum_ended VARCHAR, duration VARCHAR) ### Question: What is the Interregnum ended for the person with a Duration of 3 months, 6 days? ### Answer: SELECT interregnum_ended FROM table_name_78 WHERE duration = "3 months, 6 days"
Below is an context that describes a sql 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 (position INTEGER, total VARCHAR, a_score VARCHAR) ### Question: What is the Position of the person with a total less than 16.65 and an A score of 7.4? ### Answer: SELECT MIN(position) FROM table_name_40 WHERE total < 16.65 AND a_score = 7.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_83 (year_joined VARCHAR, mascot VARCHAR) ### Question: Which year did the school with the mascot of the Vikings join? ### Answer: SELECT year_joined FROM table_name_83 WHERE mascot = "vikings"
Below is an context that describes a sql 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 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR) ### Question: What was the vacancy date of the manager appointed on 11 March 2010? ### Answer: SELECT date_of_vacancy FROM table_name_45 WHERE date_of_appointment = "11 march 2010"
Below is an context that describes a sql 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 (number VARCHAR, males VARCHAR) ### Question: Which number has 11 males? ### Answer: SELECT number FROM table_name_41 WHERE males = "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_90 (year VARCHAR, engine VARCHAR, points VARCHAR, entrant VARCHAR) ### Question: What year were there less than 1.5 points and an Entrant of escuderia bandeirantes, and a maserati straight-4 engine? ### Answer: SELECT year FROM table_name_90 WHERE points < 1.5 AND entrant = "escuderia bandeirantes" AND engine = "maserati straight-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_83 (north_america VARCHAR, japan VARCHAR) ### Question: Tell me north america for january 23, 2013 ### Answer: SELECT north_america FROM table_name_83 WHERE japan = "january 23, 2013"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_34 (points VARCHAR, chassis VARCHAR, year VARCHAR) ### Question: how many points are there for a Chassis of porsche 718, and a Year smaller than 1964? ### Answer: SELECT COUNT(points) FROM table_name_34 WHERE chassis = "porsche 718" AND year < 1964
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27722734_10 (high_points VARCHAR, date VARCHAR) ### Question: who had high points on march 27? ### Answer: SELECT high_points FROM table_27722734_10 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_name_66 (january VARCHAR, november VARCHAR) ### Question: Who is the January playmate with the November playmate Donna Edmondson? ### Answer: SELECT january FROM table_name_66 WHERE november = "donna edmondson"
Below is an context that describes a sql 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 (profession VARCHAR, name VARCHAR) ### Question: What is slađana pejić's profession? ### Answer: SELECT profession FROM table_name_4 WHERE name = "slađana pejić"
Below is an context that describes a sql 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 (res VARCHAR, opponent VARCHAR) ### Question: What was the result when the opponent was Rory Markham? ### Answer: SELECT res FROM table_name_96 WHERE opponent = "rory markham"
Below is an context that describes a sql 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 (parishes INTEGER, pastoral_region VARCHAR, cemeteries VARCHAR) ### Question: How many Parishes in Merrimack which has 4 Cemeteries? ### Answer: SELECT MIN(parishes) FROM table_name_62 WHERE pastoral_region = "merrimack" AND cemeteries < 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_51 (position VARCHAR, played INTEGER) ### Question: What is the total number of Position, when Played is less than 46? ### Answer: SELECT COUNT(position) FROM table_name_51 WHERE played < 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_22669044_10 (score VARCHAR, record VARCHAR) ### Question: What's the score of the game with 31-29 record? ### Answer: SELECT score FROM table_22669044_10 WHERE record = "31-29"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (location VARCHAR, ppv_buyrate VARCHAR) ### Question: Which Location has a PPV Buyrate of 775,000? ### Answer: SELECT location FROM table_name_26 WHERE ppv_buyrate = "775,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 table_name_66 (overall_ranking INTEGER, index VARCHAR) ### Question: For all events with index f10, what is the sum of the overall rankings? ### Answer: SELECT SUM(overall_ranking) FROM table_name_66 WHERE index = "f10"