question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What Report has the Date September 3, 2005? | CREATE TABLE table_name_8 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_8 WHERE date = "september 3, 2005" |
What was the 3’UTR sequence when Coding was 6a 3 and the GenBank id is nm_001093770.2? | CREATE TABLE table_name_64 (coding VARCHAR, genbank_id VARCHAR) | SELECT 3 AS ’utr_sequence FROM table_name_64 WHERE coding = "6a 3" AND genbank_id = "nm_001093770.2" |
Which Variant id has the GenBank id of nm_005411.4? | CREATE TABLE table_name_40 (variant_id VARCHAR, genbank_id VARCHAR) | SELECT variant_id FROM table_name_40 WHERE genbank_id = "nm_005411.4" |
Which 5’UTR splice has a Variant ID at sftpa1 variant 2? | CREATE TABLE table_name_46 (variant_id VARCHAR) | SELECT 5 AS ’utr_splice FROM table_name_46 WHERE variant_id = "sftpa1 variant 2" |
Which 3’UTR sequence has the GenBank ID at hq021440? | CREATE TABLE table_name_87 (genbank_id VARCHAR) | SELECT 3 AS ’utr_sequence FROM table_name_87 WHERE genbank_id = "hq021440" |
Which Copa Libertadores 1992 has a Supercopa Sudamericana 1992 of round of 16, and a Team of grêmio? | CREATE TABLE table_name_59 (copa_libertadores_1992 VARCHAR, supercopa_sudamericana_1992 VARCHAR, team VARCHAR) | SELECT copa_libertadores_1992 FROM table_name_59 WHERE supercopa_sudamericana_1992 = "round of 16" AND team = "grêmio" |
Which Team has a Recopa Sudamericana 1992 of runner-up? | CREATE TABLE table_name_28 (team VARCHAR, recopa_sudamericana_1992 VARCHAR) | SELECT team FROM table_name_28 WHERE recopa_sudamericana_1992 = "runner-up" |
Which Supercopa Sudamericana 1992 has a Team of santos? | CREATE TABLE table_name_83 (supercopa_sudamericana_1992 VARCHAR, team VARCHAR) | SELECT supercopa_sudamericana_1992 FROM table_name_83 WHERE team = "santos" |
When was the game with a record of 54-69? | CREATE TABLE table_name_28 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_28 WHERE record = "54-69" |
What is the total number of tiers for the postseason of semifinalist? | CREATE TABLE table_name_45 (tier INTEGER, postseason VARCHAR) | SELECT SUM(tier) FROM table_name_45 WHERE postseason = "semifinalist" |
For a year earlier than 1991 and a reynard 91d chassis, what's the highest points? | CREATE TABLE table_name_7 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_7 WHERE chassis = "reynard 91d" AND year < 1991 |
Total points for a bs automotive entrant? | CREATE TABLE table_name_7 (points VARCHAR, entrant VARCHAR) | SELECT COUNT(points) FROM table_name_7 WHERE entrant = "bs automotive" |
What is a colt racing entrant engine? | CREATE TABLE table_name_17 (engine VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_17 WHERE entrant = "colt racing" |
How many Passengers that have an Airport in indonesia, denpasar? | CREATE TABLE table_name_31 (passengers INTEGER, airport VARCHAR) | SELECT AVG(passengers) FROM table_name_31 WHERE airport = "indonesia, denpasar" |
Which Airport has a Carrier of malaysia airlines? | CREATE TABLE table_name_52 (airport VARCHAR, carriers VARCHAR) | SELECT airport FROM table_name_52 WHERE carriers = "malaysia airlines" |
Which tier has a division of LEB 2 and Cup Competitions of Copa LEB Plata runner-up? | CREATE TABLE table_name_91 (tier VARCHAR, division VARCHAR, cup_competitions VARCHAR) | SELECT tier FROM table_name_91 WHERE division = "leb 2" AND cup_competitions = "copa leb plata runner-up" |
How many positions have a Postseason of relegation playoffs and a tier of 3? | CREATE TABLE table_name_11 (pos VARCHAR, postseason VARCHAR, tier VARCHAR) | SELECT COUNT(pos) FROM table_name_11 WHERE postseason = "relegation playoffs" AND tier = 3 |
What is the lowest tier for a postseason result of quarterfinalist? | CREATE TABLE table_name_68 (tier INTEGER, postseason VARCHAR) | SELECT MIN(tier) FROM table_name_68 WHERE postseason = "quarterfinalist" |
What format has 080 360-2 as the catalog? | CREATE TABLE table_name_84 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_84 WHERE catalog = "080 360-2" |
What label has 887 448-2 as the catalog? | CREATE TABLE table_name_4 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_4 WHERE catalog = "887 448-2" |
What label has cd single as the format? | CREATE TABLE table_name_20 (label VARCHAR, format VARCHAR) | SELECT label FROM table_name_20 WHERE format = "cd single" |
What catalog has june 1990 as the date? | CREATE TABLE table_name_73 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_73 WHERE date = "june 1990" |
Which building has 26 storeys? | CREATE TABLE table_name_42 (building VARCHAR, storeys VARCHAR) | SELECT building FROM table_name_42 WHERE storeys = 26 |
What is the height for less than 45 storeys in Scotia Centre? | CREATE TABLE table_name_34 (height VARCHAR, storeys VARCHAR, building VARCHAR) | SELECT height FROM table_name_34 WHERE storeys < 45 AND building = "scotia centre" |
How many storeys in Calgary during 1975-1976? | CREATE TABLE table_name_46 (storeys VARCHAR, city VARCHAR, years VARCHAR) | SELECT storeys FROM table_name_46 WHERE city = "calgary" AND years = "1975-1976" |
Which city had years 1971-1974? | CREATE TABLE table_name_97 (city VARCHAR, years VARCHAR) | SELECT city FROM table_name_97 WHERE years = "1971-1974" |
Which city contains Telus Plaza South? | CREATE TABLE table_name_66 (city VARCHAR, building VARCHAR) | SELECT city FROM table_name_66 WHERE building = "telus plaza south" |
What is the lowest number played with 2 losses and more than 13 points? | CREATE TABLE table_name_30 (played INTEGER, lost VARCHAR, points VARCHAR) | SELECT MIN(played) FROM table_name_30 WHERE lost = 2 AND points > 13 |
What is the smallest positioned with more than 9 played? | CREATE TABLE table_name_4 (position INTEGER, played INTEGER) | SELECT MIN(position) FROM table_name_4 WHERE played > 9 |
How many draws took place for team Corinthians with more than 5 losses? | CREATE TABLE table_name_81 (drawn VARCHAR, team VARCHAR, lost VARCHAR) | SELECT COUNT(drawn) FROM table_name_81 WHERE team = "corinthians" AND lost > 5 |
Which 2007 is the lowest one that has a 2004 of 78, and a 2006 smaller than 80? | CREATE TABLE table_name_91 (Id VARCHAR) | SELECT MIN(2007) FROM table_name_91 WHERE 2004 = 78 AND 2006 < 80 |
Which 2005 is the lowest one that has a Grade smaller than 6, and a 2008 smaller than 80, and a 2006 larger than 72? | CREATE TABLE table_name_32 (grade VARCHAR) | SELECT MIN(2005) FROM table_name_32 WHERE grade < 6 AND 2008 < 80 AND 2006 > 72 |
Position of member, and a Nationality of india is what sum of term ending? | CREATE TABLE table_name_67 (term_ending INTEGER, position VARCHAR, nationality VARCHAR) | SELECT SUM(term_ending) FROM table_name_67 WHERE position = "member" AND nationality = "india" |
Name of xue hanqin has what highest term ending? | CREATE TABLE table_name_89 (term_ending INTEGER, name VARCHAR) | SELECT MAX(term_ending) FROM table_name_89 WHERE name = "xue hanqin" |
Position of member, and a Tenure Began of 2010, and a Name of xue hanqin has what lowest term ending? | CREATE TABLE table_name_54 (term_ending INTEGER, name VARCHAR, position VARCHAR, tenure_began VARCHAR) | SELECT MIN(term_ending) FROM table_name_54 WHERE position = "member" AND tenure_began = 2010 AND name = "xue hanqin" |
Term Ending smaller than 2018, and a Nationality of new zealand what is the name? | CREATE TABLE table_name_85 (name VARCHAR, term_ending VARCHAR, nationality VARCHAR) | SELECT name FROM table_name_85 WHERE term_ending < 2018 AND nationality = "new zealand" |
Which episode aired in the USA on 20 May 2005? | CREATE TABLE table_name_75 (episode VARCHAR, airdate__usa_ VARCHAR) | SELECT episode FROM table_name_75 WHERE airdate__usa_ = "20 may 2005" |
What is the total number of episodes aired in Canada on 22 October 2004? | CREATE TABLE table_name_18 (episode VARCHAR, airdate__canada_ VARCHAR) | SELECT COUNT(episode) FROM table_name_18 WHERE airdate__canada_ = "22 october 2004" |
What is the CBS airdate of the episode with a number under 70 with a USA airdate of 1 April 2005? | CREATE TABLE table_name_26 (cbs_airdate VARCHAR, episode VARCHAR, airdate__usa_ VARCHAR) | SELECT cbs_airdate FROM table_name_26 WHERE episode < 70 AND airdate__usa_ = "1 april 2005" |
what song is a genre of glam | CREATE TABLE table_name_26 (song_title VARCHAR, genre VARCHAR) | SELECT song_title FROM table_name_26 WHERE genre = "glam" |
Which score is the Seattle team? | CREATE TABLE table_name_38 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_38 WHERE team = "seattle" |
What is the number with the f position in Dallas, Texas? | CREATE TABLE table_name_57 (number VARCHAR, position VARCHAR, hometown VARCHAR) | SELECT COUNT(number) FROM table_name_57 WHERE position = "f" AND hometown = "dallas, texas" |
Which competition took place in Bangkok? | CREATE TABLE table_name_94 (competition VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_94 WHERE venue = "bangkok" |
What was the score in Kathmandu? | CREATE TABLE table_name_96 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_96 WHERE venue = "kathmandu" |
Where was the location for the August 29, 1980 game? | CREATE TABLE table_name_68 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_68 WHERE date = "august 29, 1980" |
What is the notes distance for 2nd position earlier than 1986? | CREATE TABLE table_name_31 (notes VARCHAR, position VARCHAR, year VARCHAR) | SELECT notes FROM table_name_31 WHERE position = "2nd" AND year < 1986 |
Which venue hosts the Olympic Games for DNQ position? | CREATE TABLE table_name_24 (venue VARCHAR, competition VARCHAR, position VARCHAR) | SELECT venue FROM table_name_24 WHERE competition = "olympic games" AND position = "dnq" |
In what year is the notes distance 1.83m? | CREATE TABLE table_name_82 (year VARCHAR, notes VARCHAR) | SELECT year FROM table_name_82 WHERE notes = "1.83m" |
what is the race number of bob wollek | CREATE TABLE table_name_95 (race_number VARCHAR, driver VARCHAR) | SELECT race_number FROM table_name_95 WHERE driver = "bob wollek" |
what country is john nielsen from | CREATE TABLE table_name_10 (country VARCHAR, driver VARCHAR) | SELECT country FROM table_name_10 WHERE driver = "john nielsen" |
Which Model has hybrid propulsion? | CREATE TABLE table_name_59 (model VARCHAR, propulsion VARCHAR) | SELECT model FROM table_name_59 WHERE propulsion = "hybrid" |
What is the Propulsion for the model offered in 2003-2004 by neoplan usa? | CREATE TABLE table_name_68 (propulsion VARCHAR, order_year VARCHAR, manufacturer VARCHAR) | SELECT propulsion FROM table_name_68 WHERE order_year = "2003-2004" AND manufacturer = "neoplan usa" |
What is the Length (ft.) for a 2008 nfi d40lf? | CREATE TABLE table_name_67 (length__ft_ VARCHAR, order_year VARCHAR, manufacturer VARCHAR, model VARCHAR) | SELECT length__ft_ FROM table_name_67 WHERE manufacturer = "nfi" AND model = "d40lf" AND order_year = "2008" |
Which Founded has a Club of tri-city storm and a Titles larger than 1? | CREATE TABLE table_name_68 (founded INTEGER, club VARCHAR, titles VARCHAR) | SELECT SUM(founded) FROM table_name_68 WHERE club = "tri-city storm" AND titles > 1 |
Which Founded that has a Club of no coast derby girls? | CREATE TABLE table_name_97 (founded VARCHAR, club VARCHAR) | SELECT founded FROM table_name_97 WHERE club = "no coast derby girls" |
Which Founded has a League of women's flat track derby association, and a Club of omaha rollergirls? | CREATE TABLE table_name_14 (founded INTEGER, league VARCHAR, club VARCHAR) | SELECT AVG(founded) FROM table_name_14 WHERE league = "women's flat track derby association" AND club = "omaha rollergirls" |
On what date was there an International Friendly competition? | CREATE TABLE table_name_2 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_2 WHERE competition = "international friendly" |
What was the score at Bernardo O'Higgins Cup on May 7, 1961? | CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) | SELECT score FROM table_name_94 WHERE competition = "bernardo o'higgins cup" AND date = "may 7, 1961" |
What grid has an average time of +22.505 and laps larger than 23? | CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23 |
Which suzuki gsx-r1000 k7 has the highest time of retirement? | CREATE TABLE table_name_8 (grid INTEGER, time VARCHAR, bike VARCHAR) | SELECT MAX(grid) FROM table_name_8 WHERE time = "retirement" AND bike = "suzuki gsx-r1000 k7" |
What is the average lap for suzuki gsx-r1000 k7 and at grid 6? | CREATE TABLE table_name_39 (laps INTEGER, bike VARCHAR, grid VARCHAR) | SELECT AVG(laps) FROM table_name_39 WHERE bike = "suzuki gsx-r1000 k7" AND grid = 6 |
Which rider has a lap of 23, grid smaller than 18, and time +44.333? | CREATE TABLE table_name_29 (rider VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_29 WHERE laps = 23 AND grid < 18 AND time = "+44.333" |
what is the lowest grid with laps larger than 23? | CREATE TABLE table_name_85 (grid INTEGER, laps INTEGER) | SELECT MIN(grid) FROM table_name_85 WHERE laps > 23 |
Where did the Bruins play Iowa State? | CREATE TABLE table_name_58 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_58 WHERE opponent = "iowa state" |
What Conference was during the NCAA Tournament? | CREATE TABLE table_name_24 (conf VARCHAR, date VARCHAR) | SELECT conf FROM table_name_24 WHERE date = "ncaa tournament" |
What is the amount of Avg that has Yards more 265 and a Car more 105? | CREATE TABLE table_name_34 (avg VARCHAR, yards VARCHAR, car VARCHAR) | SELECT COUNT(avg) FROM table_name_34 WHERE yards > 265 AND car > 105 |
Which player is ranked number 3? | CREATE TABLE table_name_83 (player VARCHAR, rank VARCHAR) | SELECT player FROM table_name_83 WHERE rank = 3 |
What season has the champion of Nicolas Kiesa? | CREATE TABLE table_name_84 (season VARCHAR, champion VARCHAR) | SELECT season FROM table_name_84 WHERE champion = "nicolas kiesa" |
Who won the gold medal in 1998? | CREATE TABLE table_name_15 (gold VARCHAR, year VARCHAR) | SELECT gold FROM table_name_15 WHERE year = 1998 |
What is the total number of years when Mika Miyazato won the silver? | CREATE TABLE table_name_11 (year VARCHAR, silver VARCHAR) | SELECT COUNT(year) FROM table_name_11 WHERE silver = "mika miyazato" |
What is the location of the Asian Games after 2002 when Kim Hyun-soo won the gold? | CREATE TABLE table_name_57 (location VARCHAR, year VARCHAR, gold VARCHAR) | SELECT location FROM table_name_57 WHERE year > 2002 AND gold = "kim hyun-soo" |
What is the earliest year that kim hyun-soo won the gold? | CREATE TABLE table_name_51 (year INTEGER, gold VARCHAR) | SELECT MIN(year) FROM table_name_51 WHERE gold = "kim hyun-soo" |
What was the broadcast date of the episode that visited South Africa? | CREATE TABLE table_name_68 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) | SELECT uk_broadcast_date FROM table_name_68 WHERE countries_visited = "south africa" |
Which country did Natalia Makarova visit? | CREATE TABLE table_name_96 (countries_visited VARCHAR, presenter VARCHAR) | SELECT countries_visited FROM table_name_96 WHERE presenter = "natalia makarova" |
How many people attended the game on May 31? | CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_25 WHERE date = "may 31" |
How many people attended the game on May 10? | CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_44 WHERE date = "may 10" |
Which Overall is the lowest one that has a Round of 3? | CREATE TABLE table_name_87 (overall INTEGER, round VARCHAR) | SELECT MIN(overall) FROM table_name_87 WHERE round = 3 |
Which college did kevin landolt attend? | CREATE TABLE table_name_10 (college VARCHAR, name VARCHAR) | SELECT college FROM table_name_10 WHERE name = "kevin landolt" |
Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back? | CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR) | SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive back" |
Which College has a Pick # larger than 25, and a Round of 7, and a Name of chris white? | CREATE TABLE table_name_13 (college VARCHAR, name VARCHAR, pick__number VARCHAR, round VARCHAR) | SELECT college FROM table_name_13 WHERE pick__number > 25 AND round = 7 AND name = "chris white" |
what was the average game when record was 16-63? | CREATE TABLE table_name_30 (game INTEGER, record VARCHAR) | SELECT AVG(game) FROM table_name_30 WHERE record = "16-63" |
Median household income of $40,340, and a Number of households smaller than 64,767 is what average population? | CREATE TABLE table_name_54 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) | SELECT AVG(population) FROM table_name_54 WHERE median_household_income = "$40,340" AND number_of_households < 64 OFFSET 767 |
What party was re-elected as an incumbent of robert p. Kennedy? | CREATE TABLE table_name_69 (party VARCHAR, result VARCHAR, incumbent VARCHAR) | SELECT party FROM table_name_69 WHERE result = "re-elected" AND incumbent = "robert p. kennedy" |
Which democratic incumbent is from the district of ohio 7? | CREATE TABLE table_name_93 (incumbent VARCHAR, party VARCHAR, district VARCHAR) | SELECT incumbent FROM table_name_93 WHERE party = "democratic" AND district = "ohio 7" |
Which republican was first elected in 1886 in the district of ohio 17? | CREATE TABLE table_name_16 (result VARCHAR, district VARCHAR, party VARCHAR, first_elected VARCHAR) | SELECT result FROM table_name_16 WHERE party = "republican" AND first_elected = "1886" AND district = "ohio 17" |
Which result was in the district of ohio 6? | CREATE TABLE table_name_15 (result VARCHAR, district VARCHAR) | SELECT result FROM table_name_15 WHERE district = "ohio 6" |
Who was first elected as the result of a retired republican gain in the district of ohio 21? | CREATE TABLE table_name_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR) | SELECT first_elected FROM table_name_45 WHERE result = "retired republican gain" AND district = "ohio 21" |
On May 9 after Game 3, what was the Opponent? | CREATE TABLE table_name_66 (opponent VARCHAR, game VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_66 WHERE game > 3 AND date = "may 9" |
Which Player has a Position of number 8, and a Club/province of scarlets? | CREATE TABLE table_name_92 (player VARCHAR, position VARCHAR, club_province VARCHAR) | SELECT player FROM table_name_92 WHERE position = "number 8" AND club_province = "scarlets" |
Which Club/province has a Position of centre, and Caps of 27? | CREATE TABLE table_name_75 (club_province VARCHAR, position VARCHAR, caps VARCHAR) | SELECT club_province FROM table_name_75 WHERE position = "centre" AND caps = 27 |
What position does alun wyn jones play? | CREATE TABLE table_name_59 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_59 WHERE player = "alun wyn jones" |
Which Date of Birth (Age) has a Club/province of blues, and Caps larger than 0, and a Player of tom james? | CREATE TABLE table_name_47 (date_of_birth__age_ VARCHAR, player VARCHAR, club_province VARCHAR, caps VARCHAR) | SELECT date_of_birth__age_ FROM table_name_47 WHERE club_province = "blues" AND caps > 0 AND player = "tom james" |
Which Caps is the lowest one that has a Club/province of ospreys, and a Date of Birth (Age) of 19 september 1985? | CREATE TABLE table_name_70 (caps INTEGER, club_province VARCHAR, date_of_birth__age_ VARCHAR) | SELECT MIN(caps) FROM table_name_70 WHERE club_province = "ospreys" AND date_of_birth__age_ = "19 september 1985" |
What is the average attendance of the game where the home team was the Blues? | CREATE TABLE table_name_40 (attendance INTEGER, home VARCHAR) | SELECT AVG(attendance) FROM table_name_40 WHERE home = "blues" |
Which 8.23 g (127 gr) is the highest one that has a Bullet weight gram (grain) of 8x64mm s, and a Case capacity (%) smaller than 110.3? | CREATE TABLE table_name_80 (bullet_weight_gram__grain_ VARCHAR, case_capacity___percentage_ VARCHAR) | SELECT MAX(823 AS _g__127_gr_) FROM table_name_80 WHERE bullet_weight_gram__grain_ = "8x64mm s" AND case_capacity___percentage_ < 110.3 |
What is the Position of the Level 3 winner from Saint Kitts and Nevis? | CREATE TABLE table_name_51 (position VARCHAR, level VARCHAR, nationality VARCHAR) | SELECT position FROM table_name_51 WHERE level = 3 AND nationality = "saint kitts and nevis" |
What Goals with a Level of 5 or greater is the lowest? | CREATE TABLE table_name_95 (goals INTEGER, level INTEGER) | SELECT MIN(goals) FROM table_name_95 WHERE level > 5 |
What is the Position of the winner with 18 Goals and Level of 5? | CREATE TABLE table_name_23 (position VARCHAR, goals VARCHAR, level VARCHAR) | SELECT position FROM table_name_23 WHERE goals = 18 AND level = 5 |
Which University students and adults have minimum diameter of Sakigawa for female gender? | CREATE TABLE table_name_86 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, specification VARCHAR, gender VARCHAR) | SELECT university_students_and_adults__18yrs + _ FROM table_name_86 WHERE specification = "minimum diameter of sakigawa" AND gender = "female" |
Which junior high school has male and female genders? | CREATE TABLE table_name_97 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR) | SELECT junior_high_school__12_15_yrs_ FROM table_name_97 WHERE gender = "male and female" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.