question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What position was pick 32? | CREATE TABLE table_name_86 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_86 WHERE pick = 32 |
What was the aggregate score for the game against Dynamo Dresden? | CREATE TABLE table_name_66 (aggregate_score VARCHAR, opposition VARCHAR) | SELECT aggregate_score FROM table_name_66 WHERE opposition = "dynamo dresden" |
What is the district with the incumbent Charlie Norwood? | CREATE TABLE table_27021001_1 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_27021001_1 WHERE incumbent = "Charlie Norwood" |
Which order #1 has a result of bottom 2 | CREATE TABLE table_21501518_1 (order__number VARCHAR, result VARCHAR) | SELECT order__number FROM table_21501518_1 WHERE result = "Bottom 2" |
Name the least RD number that has PI GP more than 0 and pick # more than 51 | CREATE TABLE table_name_13 (rd__number INTEGER, pl_gp VARCHAR, pick__number VARCHAR) | SELECT MIN(rd__number) FROM table_name_13 WHERE pl_gp > 0 AND pick__number > 51 |
What is the name when moving to atlético minero? | CREATE TABLE table_name_19 (name VARCHAR, moving_to VARCHAR) | SELECT name FROM table_name_19 WHERE moving_to = "atlético minero" |
Which value for s wicket is associated with Shaun Young? | CREATE TABLE table_name_68 (s_wicket VARCHAR, player VARCHAR) | SELECT s_wicket FROM table_name_68 WHERE player = "shaun young" |
Cass county has 0.008 Water (sqmi), less than 35.874 Land (sqmi), more than 35 Pop. (2010), and what average latitude? | CREATE TABLE table_name_72 (latitude INTEGER, water__sqmi_ VARCHAR, county VARCHAR, land___sqmi__ VARCHAR, pop__2010_ VARCHAR) | SELECT AVG(latitude) FROM table_name_72 WHERE land___sqmi__ < 35.874 AND pop__2010_ > 35 AND county = "cass" AND water__sqmi_ = 0.008 |
What is the Mary Davis with a Gay Mitchell that is 4.6%? | CREATE TABLE table_name_96 (mary_davis VARCHAR, gay_mitchell VARCHAR) | SELECT mary_davis FROM table_name_96 WHERE gay_mitchell = "4.6%" |
What is the Draws average that has a Played that's smaller than 18? | CREATE TABLE table_name_46 (draws INTEGER, played INTEGER) | SELECT AVG(draws) FROM table_name_46 WHERE played < 18 |
What was the title of the episode that aired February 9, 1979? | CREATE TABLE table_2343740_1 (title VARCHAR, original_air_date VARCHAR) | SELECT title FROM table_2343740_1 WHERE original_air_date = "February 9, 1979" |
What is the Attendance of the game on December 12, 2004? | CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_84 WHERE date = "december 12, 2004" |
what is the height (m) when the nation is sweden (swe) and the weight (kg) is 102? | CREATE TABLE table_name_19 (height__m_ VARCHAR, nation VARCHAR, weight__kg_ VARCHAR) | SELECT height__m_ FROM table_name_19 WHERE nation = "sweden (swe)" AND weight__kg_ = "102" |
How many wrestlers are there? | CREATE TABLE wrestler (Id VARCHAR) | SELECT COUNT(*) FROM wrestler |
What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in years before 1956? | CREATE TABLE table_name_41 (points INTEGER, year VARCHAR, entrant VARCHAR, engine VARCHAR) | SELECT MIN(points) FROM table_name_41 WHERE entrant = "goulds' garage (bristol)" AND engine = "maserati straight-6" AND year < 1956 |
Name the number of species with sepal width of 3.4 and sepal length of 5.4 | CREATE TABLE table_10477224_1 (species VARCHAR, sepal_width VARCHAR, sepal_length VARCHAR) | SELECT COUNT(species) FROM table_10477224_1 WHERE sepal_width = "3.4" AND sepal_length = "5.4" |
Find the number of users in each role. | CREATE TABLE users (role_code VARCHAR) | SELECT COUNT(*), role_code FROM users GROUP BY role_code |
Thomas de Gendt performed on what stage as aggressive rider? | CREATE TABLE table_29332810_14 (stage INTEGER, aggressive_rider VARCHAR) | SELECT MAX(stage) FROM table_29332810_14 WHERE aggressive_rider = "Thomas De Gendt" |
What was Montenegro's average bronze with less than 7 silver and more than 4 golds? | CREATE TABLE table_name_66 (bronze INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT AVG(bronze) FROM table_name_66 WHERE silver < 7 AND nation = "montenegro" AND gold > 4 |
What is the document status description of the document with id 1? | CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Document_Status (Id VARCHAR) | SELECT Ref_Document_Status.document_status_description FROM Ref_Document_Status JOIN Documents ON Documents.document_status_code = Ref_Document_Status.document_status_code WHERE Documents.document_id = 1 |
Name the period for Chart of g-music j-pop/k-pop chart | CREATE TABLE table_name_29 (period VARCHAR, chart VARCHAR) | SELECT period FROM table_name_29 WHERE chart = "g-music j-pop/k-pop chart" |
Name the branding for forum communications | CREATE TABLE table_14623167_1 (branding VARCHAR, owner VARCHAR) | SELECT branding FROM table_14623167_1 WHERE owner = "Forum Communications" |
Find the average ram mib size of the chip models that are never used by any phone. | CREATE TABLE chip_model (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR); CREATE TABLE phone (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR) | SELECT AVG(RAM_MiB) FROM chip_model WHERE NOT model_name IN (SELECT chip_model FROM phone) |
What is Wayne Grady's total? | CREATE TABLE table_name_93 (total INTEGER, player VARCHAR) | SELECT SUM(total) FROM table_name_93 WHERE player = "wayne grady" |
What is the mean road number when Moe Lemay is the player? | CREATE TABLE table_name_64 (rd__number INTEGER, player VARCHAR) | SELECT AVG(rd__number) FROM table_name_64 WHERE player = "moe lemay" |
What is the population of the East Kilbride urban sub-area? | CREATE TABLE table_name_61 (population VARCHAR, urban_sub_area VARCHAR) | SELECT population FROM table_name_61 WHERE urban_sub_area = "east kilbride" |
What event has unknown as the days held.? | CREATE TABLE table_name_98 (event VARCHAR, days_held VARCHAR) | SELECT event FROM table_name_98 WHERE days_held = "unknown" |
what is the notes for the time 6:05.21? | CREATE TABLE table_name_77 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_77 WHERE time = "6:05.21" |
What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre? | CREATE TABLE table_name_44 (shropshire_senior_cup VARCHAR, points VARCHAR, fa_cup VARCHAR) | SELECT shropshire_senior_cup FROM table_name_44 WHERE points > 78 AND fa_cup = "pre" |
What was the score for series 2–3? | CREATE TABLE table_27715173_12 (score VARCHAR, series VARCHAR) | SELECT score FROM table_27715173_12 WHERE series = "2–3" |
What is the lowest Goals Against by a team with more than 5 wins? | CREATE TABLE table_name_18 (goals_against INTEGER, wins INTEGER) | SELECT MIN(goals_against) FROM table_name_18 WHERE wins > 5 |
What is the highest Year, when Laps is greater than 161? | CREATE TABLE table_name_82 (year INTEGER, laps INTEGER) | SELECT MAX(year) FROM table_name_82 WHERE laps > 161 |
What score has mtl. maroons as the visitor? | CREATE TABLE table_name_91 (score VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_91 WHERE visitor = "mtl. maroons" |
What team was the contestant who finished in 10th place originally on? | CREATE TABLE table_19810459_1 (original_team VARCHAR, result VARCHAR) | SELECT original_team FROM table_19810459_1 WHERE result = "10th place" |
What party is Sanford Bishop a member of? | CREATE TABLE table_1341522_13 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341522_13 WHERE incumbent = "Sanford Bishop" |
What is the title of the 1.1 realease? | CREATE TABLE table_16279520_1 (title VARCHAR, release VARCHAR) | SELECT title FROM table_16279520_1 WHERE release = "1.1" |
How many addresses have zip code 197? | CREATE TABLE ADDRESSES (zip_postcode VARCHAR) | SELECT COUNT(*) FROM ADDRESSES WHERE zip_postcode = "197" |
What is the result in fort lauderdale, florida? | CREATE TABLE table_name_19 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_19 WHERE venue = "fort lauderdale, florida" |
How many countries were sampled for the index in 2nd place in the LA ranking and 23rd in the world ranking? | CREATE TABLE table_19948664_1 (countries_sampled VARCHAR, ranking_la__2_ VARCHAR, world_ranking__1_ VARCHAR) | SELECT countries_sampled FROM table_19948664_1 WHERE ranking_la__2_ = "2nd" AND world_ranking__1_ = "23rd" |
What band performed when Samantha Mumba presented? | CREATE TABLE table_name_80 (band VARCHAR, female VARCHAR) | SELECT band FROM table_name_80 WHERE female = "samantha mumba" |
What is the record during the event, UFC 27? | CREATE TABLE table_name_14 (record VARCHAR, event VARCHAR) | SELECT record FROM table_name_14 WHERE event = "ufc 27" |
What is the Location Attendance when the Date was February 27? | CREATE TABLE table_name_83 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_83 WHERE date = "february 27" |
What is the Total of the Player with a To par of 4? | CREATE TABLE table_name_8 (total VARCHAR, to_par VARCHAR) | SELECT COUNT(total) FROM table_name_8 WHERE to_par = 4 |
what is the rank when the album is sean kingston? | CREATE TABLE table_name_85 (rank VARCHAR, album VARCHAR) | SELECT rank FROM table_name_85 WHERE album = "sean kingston" |
Show the average price of hotels for different pet policy. | CREATE TABLE HOTELS (pets_allowed_yn VARCHAR, price_range INTEGER) | SELECT pets_allowed_yn, AVG(price_range) FROM HOTELS GROUP BY pets_allowed_yn |
Who was the high rebound for the high assists of d. j. augustin (8)? | CREATE TABLE table_17001658_10 (high_rebounds VARCHAR, high_assists VARCHAR) | SELECT high_rebounds FROM table_17001658_10 WHERE high_assists = "D. J. Augustin (8)" |
Which party does Claudette Tardif belong to? | CREATE TABLE table_name_85 (party VARCHAR, name VARCHAR) | SELECT party FROM table_name_85 WHERE name = "claudette tardif" |
Name the Player who has a Country of united states, and a To par of –5? | CREATE TABLE table_name_73 (player VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_73 WHERE country = "united states" AND to_par = "–5" |
What is the lowest figure score when the free is 556? | CREATE TABLE table_name_24 (figures INTEGER, free VARCHAR) | SELECT MIN(figures) FROM table_name_24 WHERE free = 556 |
Who was the home team for the game played at Junction Oval? | CREATE TABLE table_name_98 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_98 WHERE venue = "junction oval" |
What years were the goals less then 160? | CREATE TABLE table_name_41 (years VARCHAR, goals INTEGER) | SELECT years FROM table_name_41 WHERE goals < 160 |
How many entries are shown for date of successors formal installation where successor is john w. walker (dr)? | CREATE TABLE table_225099_3 (date_of_successors_formal_installation VARCHAR, successor VARCHAR) | SELECT COUNT(date_of_successors_formal_installation) FROM table_225099_3 WHERE successor = "John W. Walker (DR)" |
Which site has a Cost free and a Editor of jsvi? | CREATE TABLE table_name_46 (site VARCHAR, cost___us$__ VARCHAR, editor VARCHAR) | SELECT site FROM table_name_46 WHERE cost___us$__ = "free" AND editor = "jsvi" |
Name the average votes for one london | CREATE TABLE table_name_22 (votes INTEGER, party VARCHAR) | SELECT AVG(votes) FROM table_name_22 WHERE party = "one london" |
what is the date when the location attendance is energysolutions arena 19,911? | CREATE TABLE table_27715173_8 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_27715173_8 WHERE location_attendance = "EnergySolutions Arena 19,911" |
What is the fewest area in Derrynanool townland? | CREATE TABLE table_30120556_1 (area__acres__ INTEGER, townland VARCHAR) | SELECT MIN(area__acres__) FROM table_30120556_1 WHERE townland = "Derrynanool" |
What is the Hadeda Ibis when the Whitefaced Duck is Blacksmith Plover? | CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, whitefaced_duck VARCHAR) | SELECT hadeda_ibis FROM table_20042805_2 WHERE whitefaced_duck = "Blacksmith Plover" |
In which season was Jeanne d'Arc (Bamako) the runner-up? | CREATE TABLE table_12444503_1 (season VARCHAR, runner_up VARCHAR) | SELECT season FROM table_12444503_1 WHERE runner_up = "Jeanne d'Arc (Bamako)" |
Which Venue has a League of ncaa, and a Founded smaller than 1965, and a Club of penn state nittany lions men's ice hockey? | CREATE TABLE table_name_24 (venue VARCHAR, club VARCHAR, league VARCHAR, founded VARCHAR) | SELECT venue FROM table_name_24 WHERE league = "ncaa" AND founded < 1965 AND club = "penn state nittany lions men's ice hockey" |
What is the verb meaning for Saugen in part 1? | CREATE TABLE table_name_78 (verb_meaning VARCHAR, part_1 VARCHAR) | SELECT verb_meaning FROM table_name_78 WHERE part_1 = "saugen" |
Which player who played for the Rockets for the years 1986-92? | CREATE TABLE table_11734041_9 (player VARCHAR, years_for_rockets VARCHAR) | SELECT player FROM table_11734041_9 WHERE years_for_rockets = "1986-92" |
Which team had a manager replaced by Ebrahim Talebi? | CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR) | SELECT team FROM table_22297140_3 WHERE replaced_by = "Ebrahim Talebi" |
What was the class when part 2 was *hēt? | CREATE TABLE table_name_61 (class VARCHAR, part_2 VARCHAR) | SELECT class FROM table_name_61 WHERE part_2 = "*hēt" |
When did the episode written by Abe Sylvia originally air? | CREATE TABLE table_26961951_6 (original_air_date VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_26961951_6 WHERE written_by = "Abe Sylvia" |
What year engine does a ferrari v6 have? | CREATE TABLE table_name_77 (year VARCHAR, engine VARCHAR) | SELECT year FROM table_name_77 WHERE engine = "ferrari v6" |
Which Tournament has a Cuts made smaller than 9, and an Events of 10? | CREATE TABLE table_name_25 (tournament VARCHAR, cuts_made VARCHAR, events VARCHAR) | SELECT tournament FROM table_name_25 WHERE cuts_made < 9 AND events = 10 |
Which Wins has a Country of new zealand and a Last title larger than 1968? | CREATE TABLE table_name_25 (wins INTEGER, country VARCHAR, last_title VARCHAR) | SELECT MIN(wins) FROM table_name_25 WHERE country = "new zealand" AND last_title > 1968 |
What is the week number with Phil Collins as the original artist? | CREATE TABLE table_name_88 (week__number VARCHAR, original_artist VARCHAR) | SELECT week__number FROM table_name_88 WHERE original_artist = "phil collins" |
What is the Place of Davis Love III with a To Par of +1? | CREATE TABLE table_name_92 (place VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT place FROM table_name_92 WHERE to_par = "+1" AND player = "davis love iii" |
What is the number when birthday is 15 november 1973? | CREATE TABLE table_11950720_4 (no VARCHAR, date_of_birth VARCHAR) | SELECT no FROM table_11950720_4 WHERE date_of_birth = "15 November 1973" |
Who is the rider with less than 50 final position-tours and less than 11 final position-vuelta before 2008? | CREATE TABLE table_name_50 (rider VARCHAR, year VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR) | SELECT rider FROM table_name_50 WHERE final_position___tour < 50 AND final_position___vuelta < 11 AND year < 2008 |
Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023? | CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR) | SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = "1:48:11.023" |
Name the term ends for bethlehem | CREATE TABLE table_1979619_3 (term_ends VARCHAR, residence VARCHAR) | SELECT COUNT(term_ends) FROM table_1979619_3 WHERE residence = "Bethlehem" |
What position does tim barnett play? | CREATE TABLE table_name_26 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_26 WHERE player = "tim barnett" |
What is Driver, when Race 2 is "10"? | CREATE TABLE table_name_12 (driver VARCHAR, race_3 VARCHAR) | SELECT driver FROM table_name_12 WHERE race_3 = "10" |
What is the Average for Silver medals that have more than 17 Golds? | CREATE TABLE table_name_50 (silver INTEGER, gold INTEGER) | SELECT AVG(silver) FROM table_name_50 WHERE gold > 17 |
What were Will Rackley's total rounds? | CREATE TABLE table_name_89 (round VARCHAR, name VARCHAR) | SELECT COUNT(round) FROM table_name_89 WHERE name = "will rackley" |
What is the smallest rank with a Lane of 1? | CREATE TABLE table_name_65 (rank INTEGER, lane VARCHAR) | SELECT MIN(rank) FROM table_name_65 WHERE lane = 1 |
How many podiums associated with 1 vuelta and over 7 tours? | CREATE TABLE table_name_1 (total VARCHAR, vuelta VARCHAR, tour VARCHAR) | SELECT COUNT(total) FROM table_name_1 WHERE vuelta = 1 AND tour > 7 |
What is the Location when France was the runner-up at club de campo? | CREATE TABLE table_name_41 (location VARCHAR, runners_up VARCHAR, venue VARCHAR) | SELECT location FROM table_name_41 WHERE runners_up = "france" AND venue = "club de campo" |
What is the custody level of the facility in Shelton? | CREATE TABLE table_25346763_1 (custody_level_s_ VARCHAR, location VARCHAR) | SELECT custody_level_s_ FROM table_25346763_1 WHERE location = "Shelton" |
Who is the trophy presentation in the year 1987? | CREATE TABLE table_22514845_4 (trophy_presentation VARCHAR, year VARCHAR) | SELECT trophy_presentation FROM table_22514845_4 WHERE year = 1987 |
Which type of record has result/games of 9 games (57,144 avg.) | CREATE TABLE table_21436373_6 (type_of_record VARCHAR, result_games VARCHAR) | SELECT type_of_record FROM table_21436373_6 WHERE result_games = "9 games (57,144 avg.)" |
What was the result of the week 9 game? | CREATE TABLE table_name_48 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_48 WHERE week = 9 |
On what date does Watford have a Tie no of 2? | CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_45 WHERE home_team = "watford" AND tie_no = "2" |
What is the tournament on Jul 11? | CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_11621747_1 WHERE date = "Jul 11" |
What is the Home Team Score at VFL Park? | CREATE TABLE table_name_97 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_97 WHERE venue = "vfl park" |
Where is riverfront stadium the game site for the week? | CREATE TABLE table_17972136_1 (week INTEGER, game_site VARCHAR) | SELECT MIN(week) FROM table_17972136_1 WHERE game_site = "Riverfront Stadium" |
What country does Mark Hayes play for? | CREATE TABLE table_name_33 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_33 WHERE player = "mark hayes" |
What rank is the airport whose IATA Code is JFK? | CREATE TABLE table_18047346_5 (rank VARCHAR, iata_code VARCHAR) | SELECT rank FROM table_18047346_5 WHERE iata_code = "JFK" |
What is the muzzle velocity for the .38 long colt cartridge? | CREATE TABLE table_name_32 (muzzle_velocity VARCHAR, cartridge VARCHAR) | SELECT muzzle_velocity FROM table_name_32 WHERE cartridge = ".38 long colt" |
What is the date of the game with pittsburgh as the home team and boston as the visitor team? | CREATE TABLE table_name_32 (date VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_32 WHERE home = "pittsburgh" AND visitor = "boston" |
Which lowest played has a Position of 2, and Goals against larger than 53? | CREATE TABLE table_name_6 (played INTEGER, position VARCHAR, goals_against VARCHAR) | SELECT MIN(played) FROM table_name_6 WHERE position = 2 AND goals_against > 53 |
What type of engine does the model with model designation 97100 have? | CREATE TABLE table_20866024_3 (engine VARCHAR, model_designation VARCHAR) | SELECT engine FROM table_20866024_3 WHERE model_designation = "97100" |
Which Album had a bigger year than 2005 and whose country was Australia? | CREATE TABLE table_name_32 (album VARCHAR, year VARCHAR, country VARCHAR) | SELECT album FROM table_name_32 WHERE year > 2005 AND country = "australia" |
Sort employee names by their age in ascending order. | CREATE TABLE employee (name VARCHAR, age VARCHAR) | SELECT name FROM employee ORDER BY age |
What country is the athlete moving from Everton from? | CREATE TABLE table_name_32 (country VARCHAR, moving_from VARCHAR) | SELECT country FROM table_name_32 WHERE moving_from = "everton" |
What was the game number when the location attendance was the Palace of Auburn Hills 15,166? | CREATE TABLE table_27755603_10 (game INTEGER, location_attendance VARCHAR) | SELECT MIN(game) FROM table_27755603_10 WHERE location_attendance = "The Palace of Auburn Hills 15,166" |
What's the percentage when the state delegate is 1662? | CREATE TABLE table_16186152_1 (percentage VARCHAR, state_delegate VARCHAR) | SELECT percentage FROM table_16186152_1 WHERE state_delegate = 1662 |
Which Province has a City of hiroshima? | CREATE TABLE table_name_61 (province VARCHAR, city VARCHAR) | SELECT province FROM table_name_61 WHERE city = "hiroshima" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.