question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
How many totals have andy north as the player? | CREATE TABLE table_name_96 (total INTEGER, player VARCHAR) | SELECT SUM(total) FROM table_name_96 WHERE player = "andy north" |
What is Postition, when Nationality is United States, when Jersey Number(s) is 12, and when Player is Tom Black Category:Articles With hCards? | CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR, nationality VARCHAR, jersey_number_s_ VARCHAR) | SELECT position FROM table_name_50 WHERE nationality = "united states" AND jersey_number_s_ = "12" AND player = "tom black category:articles with hcards" |
Which major has most number of students? | CREATE TABLE Student (major VARCHAR) | SELECT major FROM Student GROUP BY major ORDER BY COUNT(*) DESC LIMIT 1 |
What is Segment A where Segment D is luxury sports cars? | CREATE TABLE table_15187735_15 (segment_a VARCHAR, segment_d VARCHAR) | SELECT segment_a FROM table_15187735_15 WHERE segment_d = "Luxury Sports Cars" |
Who was the candidate when the result - % was 0.4%? | CREATE TABLE table_25818630_2 (candidate VARCHAR, result____percentage VARCHAR) | SELECT candidate FROM table_25818630_2 WHERE result____percentage = "0.4%" |
Who was the host team for the game on December 27? | CREATE TABLE table_name_55 (host_team VARCHAR, date VARCHAR) | SELECT host_team FROM table_name_55 WHERE date = "december 27" |
Which Second has a Skip of barbora vojtusova? | CREATE TABLE table_name_27 (second VARCHAR, skip VARCHAR) | SELECT second FROM table_name_27 WHERE skip = "barbora vojtusova" |
What is the goals for Round 15? | CREATE TABLE table_name_29 (goals VARCHAR, round VARCHAR) | SELECT goals FROM table_name_29 WHERE round = "round 15" |
What was the name of the building with 10 floors? | CREATE TABLE table_name_13 (name VARCHAR, floors VARCHAR) | SELECT name FROM table_name_13 WHERE floors = 10 |
Who was #16 rank constructor with a grid of more than 1? | CREATE TABLE table_name_59 (constructor VARCHAR, grid VARCHAR, rank VARCHAR) | SELECT constructor FROM table_name_59 WHERE grid > 1 AND rank = 16 |
Which class at 55 built? | CREATE TABLE table_name_66 (class VARCHAR, no_built VARCHAR) | SELECT class FROM table_name_66 WHERE no_built = 55 |
What is the highest population for the | CREATE TABLE table_12496904_1 (_august_15 VARCHAR, _2002 VARCHAR, population INTEGER) | SELECT MAX(population), _august_15, _2002 FROM table_12496904_1 |
What is the highest Bronze, when Total is less than 3, and when Silver is less than 0? | CREATE TABLE table_name_86 (bronze INTEGER, total VARCHAR, silver VARCHAR) | SELECT MAX(bronze) FROM table_name_86 WHERE total < 3 AND silver < 0 |
How many total points were earned with ferrari 125 Chassis after 1952? | CREATE TABLE table_name_77 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT SUM(points) FROM table_name_77 WHERE chassis = "ferrari 125" AND year > 1952 |
What date has ed as an actual title? | CREATE TABLE table_name_93 (date VARCHAR, actual_title VARCHAR) | SELECT date FROM table_name_93 WHERE actual_title = "ed" |
Which series premiered on Acasa TV? | CREATE TABLE table_name_25 (series_premiere VARCHAR, tv_network_s_ VARCHAR) | SELECT series_premiere FROM table_name_25 WHERE tv_network_s_ = "acasa tv" |
When the best finish was T69, how many people came in 2nd? | CREATE TABLE table_10021158_3 (best_finish VARCHAR) | SELECT 2 AS nd FROM table_10021158_3 WHERE best_finish = "T69" |
How many total team penalties are there when cross country penalties is 30.40? | CREATE TABLE table_18666752_3 (total_team_penalties VARCHAR, cross_country_penalties VARCHAR) | SELECT total_team_penalties FROM table_18666752_3 WHERE cross_country_penalties = "30.40" |
What is the smallest number of wins with 7 games played and goals against less than 46 when goals for is more than 34? | CREATE TABLE table_name_93 (wins INTEGER, goals_for VARCHAR, games_played VARCHAR, goals_against VARCHAR) | SELECT MIN(wins) FROM table_name_93 WHERE games_played = 7 AND goals_against < 46 AND goals_for > 34 |
what is the sport for wolfgang schattauer? | CREATE TABLE table_name_69 (sport VARCHAR, name VARCHAR) | SELECT sport FROM table_name_69 WHERE name = "wolfgang schattauer" |
Which visiting team wound up with a final score of 18-40? | CREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR) | SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40" |
What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001? | CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR) | SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001 |
Which shooter's time is more than 8.97 and has a year prior to 2013? | CREATE TABLE table_name_56 (shooter VARCHAR, time VARCHAR, year VARCHAR) | SELECT shooter FROM table_name_56 WHERE time > 8.97 AND year < 2013 |
which club is listed when bonus points is bonus points | CREATE TABLE table_20396710_1 (club VARCHAR) | SELECT club FROM table_20396710_1 WHERE "bonus_points" = "bonus_points" |
How many parties received 29.9% of the vote in Manhattan? | CREATE TABLE table_1108394_47 (party VARCHAR, manhattan VARCHAR) | SELECT COUNT(party) FROM table_1108394_47 WHERE manhattan = "29.9_percentage" |
What date did the episode that was directed by Christian i. nyby ii originally air on? | CREATE TABLE table_29583441_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_29583441_1 WHERE directed_by = "Christian I. Nyby II" |
Name the least series number | CREATE TABLE table_2430014_9 (series_no INTEGER) | SELECT MIN(series_no) FROM table_2430014_9 |
If the results are Kuwait won by 72 runs scorecard, what are the details? | CREATE TABLE table_22577693_1 (details VARCHAR, result VARCHAR) | SELECT details FROM table_22577693_1 WHERE result = "Kuwait won by 72 runs Scorecard" |
What was the rank of the 1983 team in the 250cc class? | CREATE TABLE table_name_51 (rank VARCHAR, class VARCHAR, year VARCHAR) | SELECT rank FROM table_name_51 WHERE class = "250cc" AND year = 1983 |
What year was 2,242 yards achieved? | CREATE TABLE table_name_68 (year VARCHAR, yards VARCHAR) | SELECT year FROM table_name_68 WHERE yards = "2,242" |
What are the clubs with 46 matches? | CREATE TABLE table_name_57 (clubs VARCHAR, matches VARCHAR) | SELECT clubs FROM table_name_57 WHERE matches = 46 |
Name the pos for west ham united | CREATE TABLE table_226619_12 (pos INTEGER, club VARCHAR) | SELECT MIN(pos) FROM table_226619_12 WHERE club = "West Ham United" |
What is the sum of the area in km with a population of 110 in 2011? | CREATE TABLE table_name_59 (area__km_2__ INTEGER, population__2011_ VARCHAR) | SELECT SUM(area__km_2__) FROM table_name_59 WHERE population__2011_ = 110 |
Name the yarn type for standard yarn weight system for 3 or light | CREATE TABLE table_20297668_1 (yarn_type__us_ VARCHAR, standard_yarn_weight_system VARCHAR) | SELECT yarn_type__us_ FROM table_20297668_1 WHERE standard_yarn_weight_system = "3 or Light" |
What was the score of the match that took place at 6:00 PM with 79,419 in attendance? | CREATE TABLE table_name_69 (result VARCHAR, time VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_69 WHERE time = "6:00 pm" AND attendance = "79,419" |
What is Australia's to par? | CREATE TABLE table_name_48 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_48 WHERE country = "australia" |
What is the Language for Network PTC Punjabi? | CREATE TABLE table_name_28 (language VARCHAR, network VARCHAR) | SELECT language FROM table_name_28 WHERE network = "ptc punjabi" |
Who danced the Samba on October 14, 2008? | CREATE TABLE table_name_14 (pair VARCHAR, date VARCHAR, dance VARCHAR) | SELECT pair FROM table_name_14 WHERE date = "october 14, 2008" AND dance = "samba" |
What was the nominated work, nominated for the drama league award before 2007? | CREATE TABLE table_name_29 (nominated_work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR) | SELECT nominated_work FROM table_name_29 WHERE result = "nominated" AND award = "drama league award" AND year < 2007 |
Who had 2 WSOP cashes and was 6th in final place? | CREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR) | SELECT name FROM table_23696862_6 WHERE wsop_cashes = 2 AND final_place = "6th" |
What is the total number of First Elected that has counties represented of Anne Arundel, District of 30, and a Ways and Means Committee? | CREATE TABLE table_name_22 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_name_22 WHERE counties_represented = "anne arundel" AND district = "30" AND committee = "ways and means" |
What town has 15 stops and a NB kind? | CREATE TABLE table_name_82 (town VARCHAR, stops VARCHAR, kind VARCHAR) | SELECT town FROM table_name_82 WHERE stops = "15" AND kind = "nb" |
Name the tyre for hb bewaking team ensign with rounds of 13 | CREATE TABLE table_name_31 (tyre VARCHAR, entrant VARCHAR, rounds VARCHAR) | SELECT tyre FROM table_name_31 WHERE entrant = "hb bewaking team ensign" AND rounds = "13" |
List all losses with average goals of 1.21. | CREATE TABLE table_17366952_1 (lost VARCHAR, goal_average_1 VARCHAR) | SELECT lost FROM table_17366952_1 WHERE goal_average_1 = "1.21" |
From Country is Vijay Singh? | CREATE TABLE table_name_48 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_48 WHERE player = "vijay singh" |
what is the chassis when the tyre is b, the engine is ferrari 050 ferrari 051 and the driver is rubens barrichello? | CREATE TABLE table_name_14 (chassis VARCHAR, driver VARCHAR, tyre VARCHAR, engine_† VARCHAR) | SELECT chassis FROM table_name_14 WHERE tyre = "b" AND engine_† = "ferrari 050 ferrari 051" AND driver = "rubens barrichello" |
Which overall pick was traded to the Cleveland Browns? | CREATE TABLE table_10360823_1 (overall VARCHAR, college VARCHAR) | SELECT overall FROM table_10360823_1 WHERE college = "Traded to the Cleveland Browns" |
What is the lowest Shot Pct., when Blank Ends is greater than 6? | CREATE TABLE table_name_2 (shot_pct INTEGER, blank_ends INTEGER) | SELECT MIN(shot_pct) FROM table_name_2 WHERE blank_ends > 6 |
What is the round of 54 holes in which Phil Mickelson was the runner-up? | CREATE TABLE table_name_33 (runner_s__up VARCHAR) | SELECT 54 AS _holes FROM table_name_33 WHERE runner_s__up = "phil mickelson" |
what is the time when the event is bellator 89? | CREATE TABLE table_name_15 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_15 WHERE event = "bellator 89" |
When has a Result of w 41-27? | CREATE TABLE table_name_23 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_23 WHERE result = "w 41-27" |
Who was the visiting team on November 26, 2007? | CREATE TABLE table_name_65 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_65 WHERE date = "november 26, 2007" |
How many times were players named brett ralph were selected? | CREATE TABLE table_10960039_6 (pick__number VARCHAR, player VARCHAR) | SELECT COUNT(pick__number) FROM table_10960039_6 WHERE player = "Brett Ralph" |
What was the largest ethnic group in in the settlement with the cyrillic name банатски карловац? | CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_44 WHERE cyrillic_name_other_names = "Банатски Карловац" |
when type of work is novel and published in english is 1977, what was published in russian? | CREATE TABLE table_207795_1 (published_in_russian VARCHAR, type_of_work VARCHAR, published_in_english VARCHAR) | SELECT published_in_russian FROM table_207795_1 WHERE type_of_work = "novel" AND published_in_english = "1977" |
What was the score in the final, that Víctor Pecci was the opponent and winner after 1984? | CREATE TABLE table_name_92 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) | SELECT score_in_the_final FROM table_name_92 WHERE date > 1984 AND outcome = "winner" AND opponent_in_the_final = "víctor pecci" |
Which memeber has nsw as the state, a first elected of 1952, and alp as the party? | CREATE TABLE table_name_64 (member VARCHAR, party VARCHAR, state VARCHAR, first_elected VARCHAR) | SELECT member FROM table_name_64 WHERE state = "nsw" AND first_elected = "1952" AND party = "alp" |
What are all the CFL teams where the pick number is 36? | CREATE TABLE table_15817998_5 (cfl_team VARCHAR, pick__number VARCHAR) | SELECT cfl_team FROM table_15817998_5 WHERE pick__number = 36 |
What type of transfer window is winter in Ita? | CREATE TABLE table_name_8 (type VARCHAR, transfer_window VARCHAR, nat VARCHAR) | SELECT type FROM table_name_8 WHERE transfer_window = "winter" AND nat = "ita" |
Which record has Katsuomi Inagaki as an opponent? | CREATE TABLE table_name_51 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_51 WHERE opponent = "katsuomi inagaki" |
What is the date the successor was seated for the georgia 6th district? | CREATE TABLE table_1446600_4 (date_successor_seated VARCHAR, district VARCHAR) | SELECT date_successor_seated FROM table_1446600_4 WHERE district = "Georgia 6th" |
What's the animals name when the genus/species is rattus norvegicus? | CREATE TABLE table_15417439_1 (common_name VARCHAR, genus_species VARCHAR) | SELECT common_name FROM table_15417439_1 WHERE genus_species = "Rattus norvegicus" |
How far did the pilot go when averaging 124.1km/h? | CREATE TABLE table_name_44 (distance VARCHAR, speed VARCHAR) | SELECT distance FROM table_name_44 WHERE speed = "124.1km/h" |
during which period did albert baning play? | CREATE TABLE table_24565004_3 (period VARCHAR, name VARCHAR) | SELECT period FROM table_24565004_3 WHERE name = "Albert Baning" |
Show all allergy types and the number of allergies in each type. | CREATE TABLE Allergy_type (allergytype VARCHAR) | SELECT allergytype, COUNT(*) FROM Allergy_type GROUP BY allergytype |
Which builder has the the kanji of 曙? | CREATE TABLE table_name_98 (builder VARCHAR, kanji VARCHAR) | SELECT builder FROM table_name_98 WHERE kanji = "曙" |
who made high assists on february 4 | CREATE TABLE table_17311759_7 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_17311759_7 WHERE date = "February 4" |
What is the name with a release date of December 1966, and a Location of UK? | CREATE TABLE table_name_42 (name VARCHAR, release_date VARCHAR, location VARCHAR) | SELECT name FROM table_name_42 WHERE release_date = "december 1966" AND location = "uk" |
Which school is a primary school with DCSF number 2045? | CREATE TABLE table_name_62 (name VARCHAR, type VARCHAR, dcsf_number VARCHAR) | SELECT name FROM table_name_62 WHERE type = "primary" AND dcsf_number = 2045 |
What is the geo id for Logan county? | CREATE TABLE table_18600760_10 (geo_id INTEGER, county VARCHAR) | SELECT MAX(geo_id) FROM table_18600760_10 WHERE county = "Logan" |
What were the rounds on the Engine † of the Ferrari 048? | CREATE TABLE table_name_33 (rounds VARCHAR, engine_† VARCHAR) | SELECT rounds FROM table_name_33 WHERE engine_† = "ferrari 048" |
What is the manufacturer, found under the Built column, that made locomotives with a Fuel/Trans of diesel-electric? | CREATE TABLE table_name_22 (built VARCHAR, fuel__trans VARCHAR) | SELECT built FROM table_name_22 WHERE fuel__trans = "diesel-electric" |
How many measures had a yes vote of 216545? | CREATE TABLE table_256286_39 (passed VARCHAR, yes_votes VARCHAR) | SELECT COUNT(passed) FROM table_256286_39 WHERE yes_votes = 216545 |
Which player is from England? | CREATE TABLE table_name_16 (player VARCHAR, country VARCHAR) | SELECT player FROM table_name_16 WHERE country = "england" |
Which To par has a Money ($) larger than 5,500? | CREATE TABLE table_name_48 (to_par VARCHAR, money___$__ INTEGER) | SELECT to_par FROM table_name_48 WHERE money___$__ > 5 OFFSET 500 |
What is the Visitor with a Score with 4 – 3? | CREATE TABLE table_name_35 (visitor VARCHAR, score VARCHAR) | SELECT visitor FROM table_name_35 WHERE score = "4 – 3" |
What format has conference iii as the conference? | CREATE TABLE table_name_42 (format VARCHAR, conference VARCHAR) | SELECT format FROM table_name_42 WHERE conference = "conference iii" |
Which 2003 has a 2013 of 1r, and a 2007 of 2r? | CREATE TABLE table_name_99 (Id VARCHAR) | SELECT 2003 FROM table_name_99 WHERE 2013 = "1r" AND 2007 = "2r" |
Who is the winning drive of iv grand prix de caen? | CREATE TABLE table_name_51 (winning_driver VARCHAR, race_name VARCHAR) | SELECT winning_driver FROM table_name_51 WHERE race_name = "iv grand prix de caen" |
I want the cast for director of colbert clark and armand schaefer for burn 'em up barnes | CREATE TABLE table_name_75 (cast VARCHAR, director VARCHAR, serial_title VARCHAR) | SELECT cast FROM table_name_75 WHERE director = "colbert clark and armand schaefer" AND serial_title = "burn 'em up barnes" |
What is the total in the case where theere are 6 lecturers and fewer than 48 professors? | CREATE TABLE table_name_96 (total INTEGER, lecturers VARCHAR, professors VARCHAR) | SELECT AVG(total) FROM table_name_96 WHERE lecturers = 6 AND professors < 48 |
What is the lowest Draw when the Artist is Stine Findsen and the Points are larger than 42? | CREATE TABLE table_name_95 (draw INTEGER, artist VARCHAR, points VARCHAR) | SELECT MIN(draw) FROM table_name_95 WHERE artist = "stine findsen" AND points > 42 |
Name the to par for 20 feb 2005 | CREATE TABLE table_21469545_2 (to_par VARCHAR, date VARCHAR) | SELECT to_par FROM table_21469545_2 WHERE date = "20 Feb 2005" |
What is the Rank for Viktors Dobrecovs with less than 325 Matches? | CREATE TABLE table_name_34 (rank INTEGER, name VARCHAR, matches VARCHAR) | SELECT AVG(rank) FROM table_name_34 WHERE name = "viktors dobrecovs" AND matches < 325 |
What is the number of contestants who are aged exactly 18? | CREATE TABLE table_25461827_2 (contestant VARCHAR, age VARCHAR) | SELECT COUNT(contestant) FROM table_25461827_2 WHERE age = 18 |
List the name of teachers whose hometown is not `` Little Lever Urban District '' . | CREATE TABLE teacher (name VARCHAR, hometown VARCHAR) | SELECT name FROM teacher WHERE hometown <> "little lever urban district" |
What is the team nickname of university of wisconsin-platteville? | CREATE TABLE table_name_93 (nickname VARCHAR, institution VARCHAR) | SELECT nickname FROM table_name_93 WHERE institution = "university of wisconsin-platteville" |
Name the 2010 for 2011 of a and 2008 of 1r | CREATE TABLE table_name_61 (Id VARCHAR) | SELECT 2010 FROM table_name_61 WHERE 2011 = "a" AND 2008 = "1r" |
What is the Place of the Player with a Score of 67? | CREATE TABLE table_name_16 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_16 WHERE score = 67 |
what 2001 has 1991 of 4r? | CREATE TABLE table_name_42 (Id VARCHAR) | SELECT 2001 FROM table_name_42 WHERE 1991 = "4r" |
With an Area km 2 of less than 130.68, what is McAdam's Population? | CREATE TABLE table_name_54 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR) | SELECT SUM(population) FROM table_name_54 WHERE area_km_2 < 130.68 AND official_name = "mcadam" |
Which Year has a Purse of $83,925? | CREATE TABLE table_name_71 (year VARCHAR, purse VARCHAR) | SELECT year FROM table_name_71 WHERE purse = "$83,925" |
What was the result when incumbent gil gutknecht ran? | CREATE TABLE table_1341423_23 (results VARCHAR, incumbent VARCHAR) | SELECT results FROM table_1341423_23 WHERE incumbent = "Gil Gutknecht" |
Which is the lowest crop total with New South Wales at 42 kilotonnes and Victorian at less than 68 kilotonnes? | CREATE TABLE table_name_26 (total INTEGER, new_south_wales VARCHAR, victoria VARCHAR) | SELECT MIN(total) FROM table_name_26 WHERE new_south_wales = 42 AND victoria < 68 |
Return the apartment number and the number of rooms for each apartment. | CREATE TABLE Apartments (apt_number VARCHAR, room_count VARCHAR) | SELECT apt_number, room_count FROM Apartments |
Who had the high rebounds for game 12? | CREATE TABLE table_name_55 (high_rebounds VARCHAR, game VARCHAR) | SELECT high_rebounds FROM table_name_55 WHERE game = 12 |
What years was the jersey number(s) smaller than 3? | CREATE TABLE table_name_1 (years VARCHAR, jersey_number_s_ INTEGER) | SELECT years FROM table_name_1 WHERE jersey_number_s_ < 3 |
how many guest stars did the episode that was broadcasted 11september2012 have | CREATE TABLE table_29135051_3 (guest_s_ VARCHAR, broadcast_date VARCHAR) | SELECT COUNT(guest_s_) FROM table_29135051_3 WHERE broadcast_date = "11September2012" |
What is the date that has yani tseng as the runner (s)-up? | CREATE TABLE table_name_97 (date VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_97 WHERE runner_s__up = "yani tseng" |
Who was the opponent, during the game at the location of keyarena at seattle center? | CREATE TABLE table_name_50 (opponent VARCHAR, location_attendance VARCHAR) | SELECT opponent FROM table_name_50 WHERE location_attendance = "keyarena at seattle center" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.