question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the highest Rank 1960—? | CREATE TABLE table_name_81 (rank INTEGER, years VARCHAR) | SELECT MAX(rank) FROM table_name_81 WHERE years = "1960—" |
What year was Metroid Prime Hunters 5 released? | CREATE TABLE table_name_7 (year INTEGER, title VARCHAR) | SELECT SUM(year) FROM table_name_7 WHERE title = "metroid prime hunters 5" |
Who received the silver in 2006? | CREATE TABLE table_name_31 (silver VARCHAR, year VARCHAR) | SELECT silver FROM table_name_31 WHERE year = "2006" |
What country was rank 4? | CREATE TABLE table_name_43 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_name_43 WHERE rank = "4" |
what date was game 29? | CREATE TABLE table_27733258_7 (date VARCHAR, game VARCHAR) | SELECT date FROM table_27733258_7 WHERE game = 29 |
Which position has 2 wins in 1992? | CREATE TABLE table_name_31 (position VARCHAR, wins VARCHAR, season VARCHAR) | SELECT position FROM table_name_31 WHERE wins = "2" AND season = 1992 |
What was the data on November 3, if the data on January 15-16 is January 15, 2010? | CREATE TABLE table_25216791_3 (november_3 VARCHAR, january_15_16 VARCHAR) | SELECT november_3 FROM table_25216791_3 WHERE january_15_16 = "January 15, 2010" |
Who held the pole position in misano world circuit? | CREATE TABLE table_23315271_2 (pole_position VARCHAR, circuit VARCHAR) | SELECT pole_position FROM table_23315271_2 WHERE circuit = "Misano World circuit" |
Who called the race in 1998? | CREATE TABLE table_22583466_3 (race_caller VARCHAR, year VARCHAR) | SELECT race_caller FROM table_22583466_3 WHERE year = 1998 |
Opponent of at new york giants had what venue? | CREATE TABLE table_name_36 (venue VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_36 WHERE opponent = "at new york giants" |
What is the broadcast date when 8.3 million viewers watched? | CREATE TABLE table_1785117_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) | SELECT broadcast_date FROM table_1785117_1 WHERE viewers__in_millions_ = "8.3" |
Name the years in orlando that the player from concord hs was in | CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, school_club_team VARCHAR) | SELECT years_in_orlando FROM table_15621965_10 WHERE school_club_team = "Concord HS" |
What is the name of the manager of the Atlético Baleares? | CREATE TABLE table_name_54 (manager VARCHAR, current_club VARCHAR) | SELECT manager FROM table_name_54 WHERE current_club = "atlético baleares" |
Show all game names played by at least 1000 hours. | CREATE TABLE Plays_games (gameid VARCHAR); CREATE TABLE Video_games (gameid VARCHAR) | SELECT gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid = T2.gameid GROUP BY T1.gameid HAVING SUM(hours_played) >= 1000 |
What is the sum of the episode numbers where chip esten is the 4th performer and christopher smith was the 2nd performer? | CREATE TABLE table_name_37 (episode INTEGER, performer_4 VARCHAR, performer_2 VARCHAR) | SELECT SUM(episode) FROM table_name_37 WHERE performer_4 = "chip esten" AND performer_2 = "christopher smith" |
What circuit has a race called ii cape south easter trophy. | CREATE TABLE table_1140099_6 (circuit VARCHAR, race_name VARCHAR) | SELECT circuit FROM table_1140099_6 WHERE race_name = "II Cape South Easter Trophy" |
What is the lowest game number that has a Record of 3–33? | CREATE TABLE table_name_93 (game INTEGER, record VARCHAR) | SELECT MIN(game) FROM table_name_93 WHERE record = "3–33" |
What is the smallest total for a nation with more than 1 silver? | CREATE TABLE table_name_75 (total INTEGER, silver INTEGER) | SELECT MIN(total) FROM table_name_75 WHERE silver > 1 |
who is the constructor when the laps is less than 68, the grid is more than 20 and the driver is thierry boutsen? | CREATE TABLE table_name_62 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_62 WHERE laps < 68 AND grid > 20 AND driver = "thierry boutsen" |
What's the home team for the junction oval venue? | CREATE TABLE table_name_28 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_28 WHERE venue = "junction oval" |
Total points with 114 played and average of 0.982? | CREATE TABLE table_name_57 (points INTEGER, played VARCHAR, average VARCHAR) | SELECT SUM(points) FROM table_name_57 WHERE played = 114 AND average = 0.982 |
What is the maximum accelerate for different number of cylinders? | CREATE TABLE CARS_DATA (Cylinders VARCHAR, Accelerate INTEGER) | SELECT MAX(Accelerate), Cylinders FROM CARS_DATA GROUP BY Cylinders |
What was the date of the Mavericks home game? | CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_25 WHERE home = "mavericks" |
What is Party, when Minister is "Franco Frattini"? | CREATE TABLE table_name_55 (party VARCHAR, minister VARCHAR) | SELECT party FROM table_name_55 WHERE minister = "franco frattini" |
What is the entered service date for serial number 85-1222? | CREATE TABLE table_name_29 (entered_service VARCHAR, serial_no VARCHAR) | SELECT entered_service FROM table_name_29 WHERE serial_no = "85-1222" |
What episode number of the series aired on February 26, 1968? | CREATE TABLE table_25800134_12 (series__number VARCHAR, airdate VARCHAR) | SELECT series__number FROM table_25800134_12 WHERE airdate = "February 26, 1968" |
Which Top Speed has a Model Name of d14/4 supreme d14/4 sports & bushman? | CREATE TABLE table_name_69 (top_speed VARCHAR, model_name VARCHAR) | SELECT top_speed FROM table_name_69 WHERE model_name = "d14/4 supreme d14/4 sports & bushman" |
Name the Kaz Hayashi which has BUSHI of yang (9:43) | CREATE TABLE table_name_49 (kaz_hayashi VARCHAR, bushi VARCHAR) | SELECT kaz_hayashi FROM table_name_49 WHERE bushi = "yang (9:43)" |
What is Country, when ICAO is "Hesh"? | CREATE TABLE table_name_89 (country VARCHAR, icao VARCHAR) | SELECT country FROM table_name_89 WHERE icao = "hesh" |
How many overalls has 1 combined and 24 downhills? | CREATE TABLE table_name_9 (overall VARCHAR, combined VARCHAR, downhill VARCHAR) | SELECT overall FROM table_name_9 WHERE combined = "1" AND downhill = "24" |
What is the points when the lost was 11? | CREATE TABLE table_name_29 (points_for VARCHAR, lost VARCHAR) | SELECT points_for FROM table_name_29 WHERE lost = "11" |
Who was Class AAAAA during the school year of 1995-96? | CREATE TABLE table_10399701_2 (class_aAAAA VARCHAR, school_year VARCHAR) | SELECT class_aAAAA FROM table_10399701_2 WHERE school_year = "1995-96" |
Show all cities and corresponding number of students. | CREATE TABLE Student (city_code VARCHAR) | SELECT city_code, COUNT(*) FROM Student GROUP BY city_code |
What is the largest number of seats with more than 32 of a MCI make? | CREATE TABLE table_name_24 (number_of_seats INTEGER, make VARCHAR, quantity VARCHAR) | SELECT MAX(number_of_seats) FROM table_name_24 WHERE make = "mci" AND quantity > 32 |
What is the largest Attendance with a Loss of darling (0–1)? | CREATE TABLE table_name_35 (attendance INTEGER, loss VARCHAR) | SELECT MAX(attendance) FROM table_name_35 WHERE loss = "darling (0–1)" |
What was the termination type for the headphones with comfort pads and selling for $150? | CREATE TABLE table_name_2 (termination VARCHAR, earpads VARCHAR, us_msrp VARCHAR) | SELECT termination FROM table_name_2 WHERE earpads = "comfort pads" AND us_msrp = "$150" |
How many were in attendance for the loss of rekar (4–5)? | CREATE TABLE table_name_15 (attendance INTEGER, loss VARCHAR) | SELECT SUM(attendance) FROM table_name_15 WHERE loss = "rekar (4–5)" |
What school did P Jay Gehrke of the Kansas City Royals attend? | CREATE TABLE table_name_30 (school VARCHAR, player VARCHAR, position VARCHAR, team VARCHAR) | SELECT school FROM table_name_30 WHERE position = "p" AND team = "kansas city royals" AND player = "jay gehrke" |
What game was played on May 29? | CREATE TABLE table_name_1 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_1 WHERE date = "may 29" |
What wrestlers have summer brawl 2006 as the event? | CREATE TABLE table_name_71 (wrestlers VARCHAR, event VARCHAR) | SELECT wrestlers FROM table_name_71 WHERE event = "summer brawl 2006" |
What position does the player from Mississippi state play? | CREATE TABLE table_name_82 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_82 WHERE college = "mississippi state" |
What is the score where Saint-Amant lost the match? | CREATE TABLE table_name_42 (score VARCHAR, opponent VARCHAR, result VARCHAR) | SELECT score FROM table_name_42 WHERE opponent = "saint-amant" AND result = "lost" |
Which Rank has a Losing Semi- finalist larger than 1, and a Winner smaller than 5? | CREATE TABLE table_name_79 (rank VARCHAR, losing_semi__finalist VARCHAR, winner VARCHAR) | SELECT rank FROM table_name_79 WHERE losing_semi__finalist > 1 AND winner < 5 |
Can you tell me the Total number of Rankthat has the Lane of 4? | CREATE TABLE table_name_67 (rank VARCHAR, lane VARCHAR) | SELECT COUNT(rank) FROM table_name_67 WHERE lane = 4 |
Who was in the Original West End Cast when the Original Broadway Cast was audrie neenan? | CREATE TABLE table_name_1 (original_west_end_cast VARCHAR, original_broadway_cast VARCHAR) | SELECT original_west_end_cast FROM table_name_1 WHERE original_broadway_cast = "audrie neenan" |
What was the score versus Michaela Pochabová? | CREATE TABLE table_name_85 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_85 WHERE opponent_in_the_final = "michaela pochabová" |
what's the notes where withdrawn is 1956–57 | CREATE TABLE table_1181375_1 (notes VARCHAR, withdrawn VARCHAR) | SELECT notes FROM table_1181375_1 WHERE withdrawn = "1956–57" |
What players play guard? | CREATE TABLE table_16494599_4 (player VARCHAR, position VARCHAR) | SELECT player FROM table_16494599_4 WHERE position = "Guard" |
What is the main use of the structure that was in redfield, arkansas before 2004? | CREATE TABLE table_name_77 (main_use VARCHAR, year VARCHAR, town VARCHAR) | SELECT main_use FROM table_name_77 WHERE year < 2004 AND town = "redfield, arkansas" |
What are all percentages of Left Block when there is a 28.7% Social Democratic? | CREATE TABLE table_1463383_1 (left_bloc VARCHAR, social_democratic VARCHAR) | SELECT left_bloc FROM table_1463383_1 WHERE social_democratic = "28.7%" |
What was the primary conference when joining the cslf for the institution that was founded in 1894 | CREATE TABLE table_262501_1 (primary_conference_when_joining_the_csfl VARCHAR, founded VARCHAR) | SELECT primary_conference_when_joining_the_csfl FROM table_262501_1 WHERE founded = 1894 |
What is the total Decile with Waikanae Area? | CREATE TABLE table_name_6 (decile INTEGER, area VARCHAR) | SELECT SUM(decile) FROM table_name_6 WHERE area = "waikanae" |
What is the lowest total for those receiving less than 18 but more than 14? | CREATE TABLE table_name_31 (total INTEGER, silver VARCHAR, rank VARCHAR) | SELECT MIN(total) FROM table_name_31 WHERE silver < 18 AND rank = "14" |
What is the greatest money list ranking that has a Top 25 higher than 2? | CREATE TABLE table_name_44 (money_list_rank INTEGER, top_25 INTEGER) | SELECT MAX(money_list_rank) FROM table_name_44 WHERE top_25 < 2 |
What was the final game result that was played on December 2? | CREATE TABLE table_name_80 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_80 WHERE date = "december 2" |
what is the finish when the country is united states and the player is tiger woods? | CREATE TABLE table_name_51 (finish VARCHAR, country VARCHAR, player VARCHAR) | SELECT finish FROM table_name_51 WHERE country = "united states" AND player = "tiger woods" |
What is Airport, when Country is "Egypt", and when ICAO is "Heba"? | CREATE TABLE table_name_35 (airport VARCHAR, country VARCHAR, icao VARCHAR) | SELECT airport FROM table_name_35 WHERE country = "egypt" AND icao = "heba" |
Of weightlifters who weighed more than 136.16, who had the highest Total? | CREATE TABLE table_name_82 (total__kg_ INTEGER, bodyweight INTEGER) | SELECT MAX(total__kg_) FROM table_name_82 WHERE bodyweight > 136.16 |
Which Fictional narrator has a Published as serial of february–july 1912, all-story? | CREATE TABLE table_name_63 (fictional_narrator VARCHAR, published_as_serial VARCHAR) | SELECT fictional_narrator FROM table_name_63 WHERE published_as_serial = "february–july 1912, all-story" |
When Kubb is in 9th, who is in 10th? | CREATE TABLE table_17111812_1 (tenth VARCHAR, ninth VARCHAR) | SELECT tenth FROM table_17111812_1 WHERE ninth = "Kubb" |
Which urban area has the code 4870? | CREATE TABLE table_16796625_1 (urban_area__locality_ VARCHAR, code VARCHAR) | SELECT urban_area__locality_ FROM table_16796625_1 WHERE code = 4870 |
What is the smallest number of gold medals a country with 7 medals has? | CREATE TABLE table_name_23 (gold INTEGER, total VARCHAR) | SELECT MIN(gold) FROM table_name_23 WHERE total = 7 |
What country was the Pegasus, build by Royal Dockyard, from? | CREATE TABLE table_name_41 (country VARCHAR, builder VARCHAR, ship VARCHAR) | SELECT country FROM table_name_41 WHERE builder = "royal dockyard" AND ship = "pegasus" |
What position has a time less than 40.2 at the rome venue? | CREATE TABLE table_name_69 (position VARCHAR, venue VARCHAR, time VARCHAR) | SELECT position FROM table_name_69 WHERE venue = "rome" AND time < 40.2 |
What place is associated with under 28 points, under 11 games lost, and under 18 games played? | CREATE TABLE table_name_71 (place INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR) | SELECT SUM(place) FROM table_name_71 WHERE points < 28 AND lost < 11 AND played < 18 |
What's the number of the game played on March 26? | CREATE TABLE table_13619027_9 (game INTEGER, date VARCHAR) | SELECT MAX(game) FROM table_13619027_9 WHERE date = "March 26" |
What were the Bills points on Nov. 11? | CREATE TABLE table_name_54 (bills_points INTEGER, date VARCHAR) | SELECT SUM(bills_points) FROM table_name_54 WHERE date = "nov. 11" |
What position for the player from villa park high school? | CREATE TABLE table_name_5 (position VARCHAR, school VARCHAR) | SELECT position FROM table_name_5 WHERE school = "villa park high school" |
how many bosnian in cook islands is sri lankan | CREATE TABLE table_24807774_1 (bosnian VARCHAR, cook_islands VARCHAR) | SELECT bosnian FROM table_24807774_1 WHERE cook_islands = "Sri Lankan" |
What name has a listed of 03/31/1989 in spartanburg county? | CREATE TABLE table_name_19 (name VARCHAR, listed VARCHAR, county VARCHAR) | SELECT name FROM table_name_19 WHERE listed = "03/31/1989" AND county = "spartanburg" |
How many picks did the Chicago Black Hawks get? | CREATE TABLE table_2679061_11 (pick__number VARCHAR, nhl_team VARCHAR) | SELECT COUNT(pick__number) FROM table_2679061_11 WHERE nhl_team = "Chicago Black Hawks" |
What's the points for count for the club with tries for count of 29? | CREATE TABLE table_12886178_4 (points_for VARCHAR, tries_for VARCHAR) | SELECT points_for FROM table_12886178_4 WHERE tries_for = "29" |
How many hours were flown in each of the years where more than 64379058.0 kilometers were flown? | CREATE TABLE table_105344_2 (flying_hours VARCHAR, aircraft_kilometers INTEGER) | SELECT flying_hours FROM table_105344_2 WHERE aircraft_kilometers > 64379058.0 |
Which county has a % (2040) larger than 1.8, a % (2000) smaller than 4.1, a % (1960) smaller than 3.2, and is ranked 13? | CREATE TABLE table_name_82 (county VARCHAR, rank VARCHAR, _percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR) | SELECT county FROM table_name_82 WHERE _percentage__2040_ > 1.8 AND _percentage__2000_ < 4.1 AND _percentage__1960_ < 3.2 AND rank = "13" |
What is the total for the team with fewer than 2 bronze, ranked less than 4 and fewer than 1 silver? | CREATE TABLE table_name_98 (total VARCHAR, silver VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT COUNT(total) FROM table_name_98 WHERE bronze < 2 AND rank < 4 AND silver < 1 |
What is the venue when Woking was the opponent, and the round was less than 29? | CREATE TABLE table_name_28 (venue VARCHAR, opponent VARCHAR, round VARCHAR) | SELECT venue FROM table_name_28 WHERE opponent = "woking" AND round < 29 |
What's the biggest zone? | CREATE TABLE table_15366849_1 (zone INTEGER) | SELECT MAX(zone) FROM table_15366849_1 |
What is every district for reason for change is died August 9, 1964? | CREATE TABLE table_2159506_4 (district VARCHAR, reason_for_change VARCHAR) | SELECT district FROM table_2159506_4 WHERE reason_for_change = "Died August 9, 1964" |
Can you tell me the Attendance that has the Opponent of new york giants? | CREATE TABLE table_name_70 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_70 WHERE opponent = "new york giants" |
Name the sepal width for i.virginica with petal length of 5.1 | CREATE TABLE table_10477224_1 (sepal_width VARCHAR, species VARCHAR, petal_length VARCHAR) | SELECT sepal_width FROM table_10477224_1 WHERE species = "I.virginica" AND petal_length = "5.1" |
What is the country of player ian woosnam? | CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_93 WHERE player = "ian woosnam" |
Which country is t3 finisher billy mayfair from? | CREATE TABLE table_name_37 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_37 WHERE place = "t3" AND player = "billy mayfair" |
What district did George Miller belong to? | CREATE TABLE table_19753079_8 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_19753079_8 WHERE incumbent = "George Miller" |
What is the greatest number of valves? | CREATE TABLE table_21021796_1 (valves INTEGER) | SELECT MIN(valves) FROM table_21021796_1 |
What is the least number of Silvers with a ranking of less than 4 where the bronze number was larger than 9? | CREATE TABLE table_name_76 (silver INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT MIN(silver) FROM table_name_76 WHERE rank < 4 AND bronze > 9 |
Tell me the total number of Grid for Time/Retired of +2 Laps and Laps less than 70 | CREATE TABLE table_name_66 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) | SELECT COUNT(grid) FROM table_name_66 WHERE time_retired = "+2 laps" AND laps < 70 |
What is the Digital/analog signal with a Chipset based on with radeon 8500? | CREATE TABLE table_name_50 (digital_analog_signal VARCHAR, chipset_based_on VARCHAR) | SELECT digital_analog_signal FROM table_name_50 WHERE chipset_based_on = "radeon 8500" |
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" |
What is the name of the venue when the score was 5–0, and a Competition of 2007 caribbean cup qualifier? | CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_21 WHERE score = "5–0" AND competition = "2007 caribbean cup qualifier" |
What was the record when the Bruins had 41 points? | CREATE TABLE table_20760407_1 (record VARCHAR, bruins_points VARCHAR) | SELECT record FROM table_20760407_1 WHERE bruins_points = 41 |
What is the lowest Rank when the goals are less than 124 for Jeff Cunningham? | CREATE TABLE table_name_50 (rank INTEGER, goals VARCHAR, name VARCHAR) | SELECT MIN(rank) FROM table_name_50 WHERE goals > 124 AND name = "jeff cunningham" |
What is the rank in 1940? | CREATE TABLE table_name_26 (rank VARCHAR, year VARCHAR) | SELECT rank FROM table_name_26 WHERE year = "1940" |
How many wins when there are more than 19 points, place smaller than 12, and fewer than 30 played? | CREATE TABLE table_name_36 (wins INTEGER, played VARCHAR, points VARCHAR, position VARCHAR) | SELECT SUM(wins) FROM table_name_36 WHERE points > 19 AND position < 12 AND played < 30 |
What is the number of the year withdrawn for a LSWR number greater than 210 and a To LoW year of 1923? | CREATE TABLE table_name_19 (withdrawn VARCHAR, lswr_no VARCHAR, to_iow VARCHAR) | SELECT COUNT(withdrawn) FROM table_name_19 WHERE lswr_no > 210 AND to_iow = 1923 |
What is the average for the gymnast with a 9.9 start value and a total of 9.612? | CREATE TABLE table_name_33 (average INTEGER, start_value VARCHAR, total VARCHAR) | SELECT AVG(average) FROM table_name_33 WHERE start_value = 9.9 AND total = 9.612 |
What Entrant has a 1952 maserati straight-6 engine? | CREATE TABLE table_name_29 (entrant VARCHAR, engine VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_29 WHERE engine = "maserati straight-6" AND year = 1952 |
What is the average pick # of the player from round 11? | CREATE TABLE table_name_21 (pick__number INTEGER, round VARCHAR) | SELECT AVG(pick__number) FROM table_name_21 WHERE round = 11 |
Who was the Opponent of the Game with a Result of l 23-41? | CREATE TABLE table_name_91 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_91 WHERE result = "l 23-41" |
List the publication dates of publications with 3 lowest prices. | CREATE TABLE publication (Publication_Date VARCHAR, Price VARCHAR) | SELECT Publication_Date FROM publication ORDER BY Price LIMIT 3 |
Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal? | CREATE TABLE table_name_55 (hh_principal VARCHAR, wr_principal VARCHAR, hs_principal VARCHAR, maplemere_principal VARCHAR) | SELECT hh_principal FROM table_name_55 WHERE hs_principal = "jim haught" AND maplemere_principal = "charlie taylor" AND wr_principal = "rich auerbach" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.