answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT number_ & _name FROM table_name_16 WHERE description = "gresley rb" AND date < 1937 | Which number and name has the description Gresley RB and a date before 1937? | CREATE TABLE table_name_16 (number_ VARCHAR, _name VARCHAR, description VARCHAR, date VARCHAR) |
SELECT COUNT(game) FROM table_30087032_5 WHERE high_rebounds = "Oliver Miller (7)" | In how many different games did Oliver Miller (7) did the high rebounds? | CREATE TABLE table_30087032_5 (game VARCHAR, high_rebounds VARCHAR) |
SELECT school FROM table_11677691_7 WHERE college = "Auburn" | Which school did the player then go to Auburn? | CREATE TABLE table_11677691_7 (school VARCHAR, college VARCHAR) |
SELECT league FROM table_name_26 WHERE established < 1930 AND club = "rayo vallecano" | What is the league established before 1930 with the rayo vallecano club? | CREATE TABLE table_name_26 (league VARCHAR, established VARCHAR, club VARCHAR) |
SELECT 2011 FROM table_name_65 WHERE career_win_loss = "7–10" | Which 2011 has a Career Win-Loss of 7–10? | CREATE TABLE table_name_65 (career_win_loss VARCHAR) |
SELECT result FROM table_name_60 WHERE date = "april 23" | WHAT IS THE RESULT OF THE GAME ON APRIL 23? | CREATE TABLE table_name_60 (result VARCHAR, date VARCHAR) |
SELECT COUNT(cash_prize) FROM table_25926120_7 WHERE name_of_film = "Narmeen" | how many times is the name of film narmeen? | CREATE TABLE table_25926120_7 (cash_prize VARCHAR, name_of_film VARCHAR) |
SELECT maximum_diameter FROM table_17918238_1 WHERE owner_operator = "Esperance Pipeline Co" | What is Esperance pipeline co total diameter? | CREATE TABLE table_17918238_1 (maximum_diameter VARCHAR, owner_operator VARCHAR) |
SELECT date FROM table_name_84 WHERE opponent = "chicago bears" | On what date was the Opponent Chicago Bears? | CREATE TABLE table_name_84 (date VARCHAR, opponent VARCHAR) |
SELECT neon FROM table_name_95 WHERE argon = "−189.6" | Which Neon has a Argon of −189.6? | CREATE TABLE table_name_95 (neon VARCHAR, argon VARCHAR) |
SELECT friday_shukra__venus_ FROM table_name_91 WHERE tuesday_mangala__mars_ = "တ္ၚဲ အၚါ [ŋoa əŋɛ̀a] from sans. aṅgāra" | What is the result of Friday that's တ္ၚဲ အၚါ [ŋoa əŋɛ̀a] from sans. aṅgāra on Tuesday? | CREATE TABLE table_name_91 (friday_shukra__venus_ VARCHAR, tuesday_mangala__mars_ VARCHAR) |
SELECT MAX(against) FROM table_name_85 WHERE lost < 20 AND draw > 2 AND favour < 11 | What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11? | CREATE TABLE table_name_85 (against INTEGER, favour VARCHAR, lost VARCHAR, draw VARCHAR) |
SELECT week FROM table_name_47 WHERE theme = "heroes" | Which week had a theme of Heroes? | CREATE TABLE table_name_47 (week VARCHAR, theme VARCHAR) |
SELECT score FROM table_name_38 WHERE country = "united states" AND place = "t3" AND player = "chris riley" | What is the Score, when the Country is United States, when the Place is T3, and when the Player is Chris Riley? | CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) |
SELECT altitude_m FROM table_name_10 WHERE distance_medellín_downtown___km__ = "42" | What is the altitude for the distance medellin downtown (km) is 42? | CREATE TABLE table_name_10 (altitude_m VARCHAR, distance_medellín_downtown___km__ VARCHAR) |
SELECT transfer_window FROM table_name_44 WHERE name = "baptista" | What transfer window has baptista as the name? | CREATE TABLE table_name_44 (transfer_window VARCHAR, name VARCHAR) |
SELECT player FROM table_name_57 WHERE pick = 402 | What was the name of the player for pick 402? | CREATE TABLE table_name_57 (player VARCHAR, pick VARCHAR) |
SELECT MIN(lost) FROM table_name_76 WHERE played > 3 AND _percentage_won < 75 AND drawn = 0 AND points = 56 | What are the fewest losses for a player lower than 3, with wins fewer than 75%, 0 draws and 56 points? | CREATE TABLE table_name_76 (lost INTEGER, points VARCHAR, drawn VARCHAR, played VARCHAR, _percentage_won VARCHAR) |
SELECT MAX(r_miles_) FROM table_15416002_1 WHERE landfall = "Texas" AND saffir_simpson_category < 3.0 | What is the maximum number of miles reached in a Texas landfall when the Saffir-Simpson category is smaller than 3.0? | CREATE TABLE table_15416002_1 (r_miles_ INTEGER, landfall VARCHAR, saffir_simpson_category VARCHAR) |
SELECT MAX(attendance) FROM table_name_77 WHERE dolphins_points < 24 AND opponent = "new england patriots" | What's the most in attendance when the Dolphins points were less than 24 and, they played the New England Patriots? | CREATE TABLE table_name_77 (attendance INTEGER, dolphins_points VARCHAR, opponent VARCHAR) |
SELECT name FROM table_19487922_1 WHERE country = "France" AND race_entries__starts_ = "10" | Who is the competitor from France with 10 starts? | CREATE TABLE table_19487922_1 (name VARCHAR, country VARCHAR, race_entries__starts_ VARCHAR) |
SELECT country FROM table_name_29 WHERE total = 302 | What country has 302 as the total? | CREATE TABLE table_name_29 (country VARCHAR, total VARCHAR) |
SELECT MIN(au_won) FROM table_2846320_4 WHERE games_played = 92 | what was the lowest number that auburn triumphed where the activities took part was 92 | CREATE TABLE table_2846320_4 (au_won INTEGER, games_played VARCHAR) |
SELECT college_junior_club_team FROM table_1965650_1 WHERE player = "Ian Turnbull" | Name the college/junior club team for ian turnbull | CREATE TABLE table_1965650_1 (college_junior_club_team VARCHAR, player VARCHAR) |
SELECT year__ceremony_ FROM table_17155250_1 WHERE original_title = "Fire Dancer" | For what ceremony was "Fire Dancer" not nominated? | CREATE TABLE table_17155250_1 (year__ceremony_ VARCHAR, original_title VARCHAR) |
SELECT rank FROM table_name_13 WHERE finish = "14" | What is the rank with a 14 finish? | CREATE TABLE table_name_13 (rank VARCHAR, finish VARCHAR) |
SELECT entrant FROM table_name_87 WHERE tyre = "e" AND chassis = "625 555 d50" AND driver = "giuseppe farina" | Who was the entrant for driver Giuseppe Farina when he had a Chassis of 625 555 D50 and a tyre of E? | CREATE TABLE table_name_87 (entrant VARCHAR, driver VARCHAR, tyre VARCHAR, chassis VARCHAR) |
SELECT nationalist FROM table_name_8 WHERE undecided__no_answer = "29.2%" | What is the Nationalist share of the poll for the response in which Undecided/No Answer received 29.2%? | CREATE TABLE table_name_8 (nationalist VARCHAR, undecided__no_answer VARCHAR) |
SELECT area FROM table_name_67 WHERE decile = 8 AND roll = 25 | What is the area with decile of 8, and a 25 roll? | CREATE TABLE table_name_67 (area VARCHAR, decile VARCHAR, roll VARCHAR) |
SELECT weight FROM table_name_50 WHERE name = "serhiy alfyorov" | What was the weight of Serhiy Alfyorov? | CREATE TABLE table_name_50 (weight VARCHAR, name VARCHAR) |
SELECT position FROM table_name_4 WHERE years_for_rockets = "1992-93" | For the years 1992-93, what position did he play for the Houston Rockets? | CREATE TABLE table_name_4 (position VARCHAR, years_for_rockets VARCHAR) |
SELECT tdp FROM table_24099628_1 WHERE model__list_ = "4x0" | What is the wattage/TDP associated with model name 4x0? | CREATE TABLE table_24099628_1 (tdp VARCHAR, model__list_ VARCHAR) |
SELECT county FROM table_name_2 WHERE chinese = "新竹" | Which County has a Chinese of 新竹? | CREATE TABLE table_name_2 (county VARCHAR, chinese VARCHAR) |
SELECT MIN(quantity) FROM table_name_50 WHERE type = "1b n2" AND retired = "1907-12" | What is the lowest quantity of the 1b n2 type, which was retired in 1907-12? | CREATE TABLE table_name_50 (quantity INTEGER, type VARCHAR, retired VARCHAR) |
SELECT MAX(founded) FROM table_24334261_1 WHERE team = "Worcester Tornadoes" | What is the maximum founded year of the Worcester Tornadoes? | CREATE TABLE table_24334261_1 (founded INTEGER, team VARCHAR) |
SELECT COUNT(2010) FROM table_name_64 WHERE country = "ghana" | What is the 2010 total for ghana? | CREATE TABLE table_name_64 (country VARCHAR) |
SELECT rank FROM table_name_41 WHERE premiere = "september 12, 1979" | What is the rank for the episode that premiered on September 12, 1979? | CREATE TABLE table_name_41 (rank VARCHAR, premiere VARCHAR) |
SELECT international_tourist_arrivals__2011_ FROM table_14752049_2 WHERE country = "Senegal" | How many international tourist arrivals were in Senegal in 2011? | CREATE TABLE table_14752049_2 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR) |
SELECT circuit FROM table_name_83 WHERE fastest_lap = "alberto ascari josé froilán gonzález" | What was the circuit for alberto ascari josé froilán gonzález? | CREATE TABLE table_name_83 (circuit VARCHAR, fastest_lap VARCHAR) |
SELECT archbishop FROM table_1656555_1 WHERE ordained_bishop = "November 30, 1925" | Which archbishop was ordained as bishop November 30, 1925? | CREATE TABLE table_1656555_1 (archbishop VARCHAR, ordained_bishop VARCHAR) |
SELECT section FROM table_name_30 WHERE level = "tier 2" AND season = 1996 | What section were they in when there were tier 2 in 1996? | CREATE TABLE table_name_30 (section VARCHAR, level VARCHAR, season VARCHAR) |
SELECT high_points FROM table_name_97 WHERE high_rebounds = "chris bosh (13)" | who had the high points when chris bosh (13) had the high rebounds? | CREATE TABLE table_name_97 (high_points VARCHAR, high_rebounds VARCHAR) |
SELECT decision FROM table_name_73 WHERE date = 1 | Who had the decision goal when the date was 1? | CREATE TABLE table_name_73 (decision VARCHAR, date VARCHAR) |
SELECT object_type FROM table_name_37 WHERE ngc_number = 2171 | Which Object type has an NGC number of 2171? | CREATE TABLE table_name_37 (object_type VARCHAR, ngc_number VARCHAR) |
SELECT distance FROM table_name_99 WHERE course = "olbia to sassari" | How far is the olbia to sassari route? | CREATE TABLE table_name_99 (distance VARCHAR, course VARCHAR) |
SELECT school FROM table_name_69 WHERE height = "6-6" | What school did the player that is 6-6 go to? | CREATE TABLE table_name_69 (school VARCHAR, height VARCHAR) |
SELECT T1.id, T1.name FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) >= 3 | What are the ids and names of the architects who built at least 3 bridges ? | CREATE TABLE architect (id VARCHAR, name VARCHAR); CREATE TABLE bridge (architect_id VARCHAR) |
SELECT MIN(population__2002_) FROM table_2562572_8 WHERE population__2011_ = 30076 | What was the lowes population of 2002 when the 2011 population was 30076? | CREATE TABLE table_2562572_8 (population__2002_ INTEGER, population__2011_ VARCHAR) |
SELECT finished FROM table_name_39 WHERE famous_for = "athlete" | What place did the celebrity who is famous for being an athlete finish? | CREATE TABLE table_name_39 (finished VARCHAR, famous_for VARCHAR) |
SELECT competition FROM table_name_1 WHERE round = "8 a" | What is Competition, when Round is "8 A"? | CREATE TABLE table_name_1 (competition VARCHAR, round VARCHAR) |
SELECT MAX(year_started) FROM table_name_38 WHERE current_car = "arctic sun" AND number_of_cars < 1 | Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1? | CREATE TABLE table_name_38 (year_started INTEGER, current_car VARCHAR, number_of_cars VARCHAR) |
SELECT opponent_in_the_final FROM table_name_8 WHERE outcome = "1" AND venue = "london, england" | Who was the Opponent in London, England with an Outcome of 1? | CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, outcome VARCHAR, venue VARCHAR) |
SELECT episode_title FROM table_name_26 WHERE countries_visited = "cuba" | Which episode title featured a visit to the country of Cuba? | CREATE TABLE table_name_26 (episode_title VARCHAR, countries_visited VARCHAR) |
SELECT away_team FROM table_name_41 WHERE home_team = "melbourne" | When melbourne played as the home team, who did they play? | CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR) |
SELECT AVG(grid) FROM table_name_23 WHERE rider = "mike di meglio" AND laps > 23 | Which Grid that has a Rider of mike di meglio, and Laps larger than 23? | CREATE TABLE table_name_23 (grid INTEGER, rider VARCHAR, laps VARCHAR) |
SELECT label FROM table_name_24 WHERE region = "germany" | What label does Germany have? | CREATE TABLE table_name_24 (label VARCHAR, region VARCHAR) |
SELECT SUM(week) FROM table_name_91 WHERE opponent = "oakland raiders" | On which week was the opponent the oakland raiders? | CREATE TABLE table_name_91 (week INTEGER, opponent VARCHAR) |
SELECT races FROM table_name_47 WHERE points = "8" | How many races did he do in the year he had 8 points? | CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR) |
SELECT MIN(round) FROM table_name_22 WHERE pole_position = "satoshi motoyama" | what is the lowest round pole position of satoshi motoyama | CREATE TABLE table_name_22 (round INTEGER, pole_position VARCHAR) |
SELECT MIN(began_operation) FROM table_name_7 WHERE length__km_ = "sultan ismail" AND stations > 27 | When is the earliest began operation with a length of sultan ismail and over 27 stations? | CREATE TABLE table_name_7 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR) |
SELECT track FROM table_name_56 WHERE location = "louisville, kentucky" | What is the Track in Louisville, Kentucky? | CREATE TABLE table_name_56 (track VARCHAR, location VARCHAR) |
SELECT artist FROM table_name_28 WHERE weeks_on_top = "9 ¶" | Who was the artist of the single that spent 9 ¶ weeks on top? | CREATE TABLE table_name_28 (artist VARCHAR, weeks_on_top VARCHAR) |
SELECT COUNT(*), AVG(age), city_code FROM student GROUP BY city_code | Find the number and average age of students living in each city. | CREATE TABLE student (city_code VARCHAR, age INTEGER) |
SELECT position FROM table_name_68 WHERE overall = 143 | What is the position of the player with a 143 overall? | CREATE TABLE table_name_68 (position VARCHAR, overall VARCHAR) |
SELECT date FROM table_name_15 WHERE result = "bulgarian victory" AND bulgarian_commander = "gavril radomir" | What is the date of Gavril Radomir's Bulgarian Victory? | CREATE TABLE table_name_15 (date VARCHAR, result VARCHAR, bulgarian_commander VARCHAR) |
SELECT name FROM table_name_44 WHERE heat < 3 AND nationality = "south korea" | Who is from south korea and has a heat less than 3? | CREATE TABLE table_name_44 (name VARCHAR, heat VARCHAR, nationality VARCHAR) |
SELECT MAX(gold) FROM table_name_40 WHERE silver = 1 AND total > 1 | What is the highest gold with 1 silver, and more than 1 altogether? | CREATE TABLE table_name_40 (gold INTEGER, silver VARCHAR, total VARCHAR) |
SELECT previous_champion_s_ FROM table_name_40 WHERE date_won = "may 1, 2010" | Who were the previous champions from the event won on May 1, 2010? | CREATE TABLE table_name_40 (previous_champion_s_ VARCHAR, date_won VARCHAR) |
SELECT catalog FROM table_name_58 WHERE country = "australia" | What catalog has Australia as the country? | CREATE TABLE table_name_58 (catalog VARCHAR, country VARCHAR) |
SELECT engine AS code FROM table_name_46 WHERE engine = "2.5 20v d" | Engine 2.5 20v d has what engine code? | CREATE TABLE table_name_46 (engine VARCHAR) |
SELECT away_team AS score FROM table_name_3 WHERE away_team = "collingwood" | When collingwood played as the away team what did they score? | CREATE TABLE table_name_3 (away_team VARCHAR) |
SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru" | Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru? | CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR) |
SELECT AVG(1940) FROM table_name_6 WHERE 1929 = 101.4 AND 1933 > 68.3 | What is the average 1940 value where 1929 values are 101.4 and 1933 values are over 68.3? | CREATE TABLE table_name_6 (Id VARCHAR) |
SELECT hand_guards FROM table_12834315_5 WHERE name = "Gas Piston Commando" | What hand guard system is used with a gas piston commando? | CREATE TABLE table_12834315_5 (hand_guards VARCHAR, name VARCHAR) |
SELECT player FROM table_name_45 WHERE place = "t7" AND country = "united states" | Name the Player who has a Place of t7 in Country of united states? | CREATE TABLE table_name_45 (player VARCHAR, place VARCHAR, country VARCHAR) |
SELECT away_team FROM table_name_38 WHERE tie_no = "7" | What away team has 7 as the tie no.? | CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR) |
SELECT grand_rapids__grr_ FROM table_name_89 WHERE detroit__dtw_ = "$378.55" | What was the passenger fare for Grand Rapids, when the passenger fare for Detroit was $378.55? | CREATE TABLE table_name_89 (grand_rapids__grr_ VARCHAR, detroit__dtw_ VARCHAR) |
SELECT surface FROM table_name_46 WHERE tournament = "volos" | What is the surface for the Volos tournament? | CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR) |
SELECT country FROM table_name_72 WHERE score = 71 | From what country did someone score 71? | CREATE TABLE table_name_72 (country VARCHAR, score VARCHAR) |
SELECT report FROM table_name_16 WHERE away_team = "sydney spirit" AND score = "96-87" | What was the report for an away team of Sydney Spirit and score of 96-87? | CREATE TABLE table_name_16 (report VARCHAR, away_team VARCHAR, score VARCHAR) |
SELECT mountains_classification FROM table_25551880_2 WHERE winner = "Mikel Nieve" | Who was awarded mountains classifications when Mikel Nieve was the winner? | CREATE TABLE table_25551880_2 (mountains_classification VARCHAR, winner VARCHAR) |
SELECT group_c FROM table_15290638_1 WHERE group_e = "Iowa" | Who is in group c when iowa is in group e? | CREATE TABLE table_15290638_1 (group_c VARCHAR, group_e VARCHAR) |
SELECT COUNT(candidates) FROM table_1341423_38 WHERE incumbent = "Joe Hoeffel" | How many candidates were there in the district won by Joe Hoeffel? | CREATE TABLE table_1341423_38 (candidates VARCHAR, incumbent VARCHAR) |
SELECT MIN(drawn) FROM table_name_32 WHERE lost = 5 AND points > 4 | Which Drawn is the lowest one that has a Lost of 5, and Points larger than 4? | CREATE TABLE table_name_32 (drawn INTEGER, lost VARCHAR, points VARCHAR) |
SELECT home_team AS score FROM table_name_73 WHERE crowd > 27 OFFSET 000 | What was the score when there was more than 27,000 in attendance? | CREATE TABLE table_name_73 (home_team VARCHAR, crowd INTEGER) |
SELECT date FROM table_name_42 WHERE home_team = "richmond" | What was the date of the game when Richmond was the home team? | CREATE TABLE table_name_42 (date VARCHAR, home_team VARCHAR) |
SELECT rank FROM table_name_28 WHERE speed = "120.979 mph" AND rider = "gary johnson" | What is the rank of rider gary johnson, who had a speed of 120.979 mph? | CREATE TABLE table_name_28 (rank VARCHAR, speed VARCHAR, rider VARCHAR) |
SELECT to_par FROM table_name_79 WHERE player = "mike weir" | What is Mike Weir's To par? | CREATE TABLE table_name_79 (to_par VARCHAR, player VARCHAR) |
SELECT lb & scr_no FROM table_name_7 WHERE sr_no = "8597–8600" | Name the LB&SCR number that has SR number of 8597–8600 | CREATE TABLE table_name_7 (lb VARCHAR, scr_no VARCHAR, sr_no VARCHAR) |
SELECT pba_team FROM table_name_41 WHERE pick < 11 AND player = "roberto jabar" | What is the PBA team for roberto jabar who was picked before number 11? | CREATE TABLE table_name_41 (pba_team VARCHAR, pick VARCHAR, player VARCHAR) |
SELECT player FROM table_name_64 WHERE pl_gp > 0 | What player has a number of playoff games played greater than 0? | CREATE TABLE table_name_64 (player VARCHAR, pl_gp INTEGER) |
SELECT COUNT(attendance) FROM table_name_71 WHERE score = "4–0" | Score of 4–0 had what attendance number? | CREATE TABLE table_name_71 (attendance VARCHAR, score VARCHAR) |
SELECT try_bonus FROM table_name_38 WHERE points_for = "423" | What's the try bonus that had 423 points? | CREATE TABLE table_name_38 (try_bonus VARCHAR, points_for VARCHAR) |
SELECT original_air_date FROM table_18367694_2 WHERE production_code = 1115 | What is the original air date of the episode with the production code 1115? | CREATE TABLE table_18367694_2 (original_air_date VARCHAR, production_code VARCHAR) |
SELECT MIN(length__m_) FROM table_name_72 WHERE maximum_grade___percentage_ = "15" AND vertical_drop__m_ < 122.22 AND country = "norway" | What is the shortest length of a track in Norway that has a maximum grade of 15% and a vertical drop less than 122.22 m? | CREATE TABLE table_name_72 (length__m_ INTEGER, country VARCHAR, maximum_grade___percentage_ VARCHAR, vertical_drop__m_ VARCHAR) |
SELECT pos FROM table_name_41 WHERE european_competitions = "eurocup regular season" | Name the position for european competitions of eurocup regular season | CREATE TABLE table_name_41 (pos VARCHAR, european_competitions VARCHAR) |
SELECT type FROM table_name_2 WHERE scratch = "750 gb" | What type has a scratch of 750 GB? | CREATE TABLE table_name_2 (type VARCHAR, scratch VARCHAR) |
SELECT mountains_classification FROM table_name_80 WHERE general_classification = "mark cavendish" AND team_classification = "garmin-chipotle-h30" | What mountains classification corresponds to Mark Cavendish and the Garmin-Chipotle-H30? | CREATE TABLE table_name_80 (mountains_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) |
SELECT result FROM table_name_45 WHERE date = "november 25, 2001" | What is the result for November 25, 2001? | CREATE TABLE table_name_45 (result VARCHAR, date VARCHAR) |
SELECT entrant FROM table_name_23 WHERE driver = "kenneth mcalpine" | kenneth mcalpine drove from which entrant? | CREATE TABLE table_name_23 (entrant VARCHAR, driver VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.