question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
WHAT IS THE SCORE WITH A TIE NUMBER OF 13? | CREATE TABLE table_name_86 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_86 WHERE tie_no = "13" |
Name the sum of points for 1991 | CREATE TABLE table_name_79 (points INTEGER, year VARCHAR) | SELECT SUM(points) FROM table_name_79 WHERE year = 1991 |
How many different writers have written the episode with series number 8? | CREATE TABLE table_23958944_2 (written_by VARCHAR, no_by_series VARCHAR) | SELECT COUNT(written_by) FROM table_23958944_2 WHERE no_by_series = 8 |
What's the population of durham parish? | CREATE TABLE table_name_73 (population VARCHAR, official_name VARCHAR) | SELECT COUNT(population) FROM table_name_73 WHERE official_name = "durham" |
Name the height for the player born 1989 and height 2.11 | CREATE TABLE table_23670057_6 (height__f_ VARCHAR, year_born VARCHAR, height__m_ VARCHAR) | SELECT height__f_ FROM table_23670057_6 WHERE year_born = 1989 AND height__m_ = "2.11" |
What place goes with the score of 70-66-65=201? | CREATE TABLE table_name_90 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_90 WHERE score = 70 - 66 - 65 = 201 |
What rank is 愛のバカ on the Japanese singles chart? | CREATE TABLE table_10979230_4 (oricon VARCHAR, japanese_title VARCHAR) | SELECT COUNT(oricon) FROM table_10979230_4 WHERE japanese_title = "愛のバカ" |
What Name has a Winning constructor of ansaldo? | CREATE TABLE table_name_56 (name VARCHAR, winning_constructor VARCHAR) | SELECT name FROM table_name_56 WHERE winning_constructor = "ansaldo" |
Which Year has a Winning score of –4 (69-72-70-69=280)? | CREATE TABLE table_name_42 (year INTEGER, winning_score VARCHAR) | SELECT MIN(year) FROM table_name_42 WHERE winning_score = –4(69 - 72 - 70 - 69 = 280) |
Name the broadcast for 7:00pm and mississippi state | CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR) | SELECT broadcast FROM table_26842217_18 WHERE time = "7:00pm" AND home_team = "Mississippi State" |
What is the number of the model with three parallel printer ports? | CREATE TABLE table_1300080_1 (model_number VARCHAR, printer_ports VARCHAR) | SELECT model_number FROM table_1300080_1 WHERE printer_ports = "Three Parallel" |
Which Catalog has a Country of Japan? | CREATE TABLE table_name_71 (catalog VARCHAR, country VARCHAR) | SELECT catalog FROM table_name_71 WHERE country = "japan" |
How many courses are offered? | CREATE TABLE CLASS (crs_code VARCHAR) | SELECT COUNT(DISTINCT crs_code) FROM CLASS |
Which country has a Col (m) of 1374? | CREATE TABLE table_name_33 (country VARCHAR, col__m_ VARCHAR) | SELECT country FROM table_name_33 WHERE col__m_ = 1374 |
What city houses the Ciro Vigorito stadium? | CREATE TABLE table_name_86 (city VARCHAR, stadium VARCHAR) | SELECT city FROM table_name_86 WHERE stadium = "ciro vigorito" |
What county is the team with the mascot of the Tigers in? | CREATE TABLE table_name_89 (county VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_89 WHERE mascot = "tigers" |
Who is the elector that has the cardinalatial title of Deacon of SS. Cosma e Damiano? | CREATE TABLE table_name_86 (elector VARCHAR, cardinalatial_title VARCHAR) | SELECT elector FROM table_name_86 WHERE cardinalatial_title = "deacon of ss. cosma e damiano" |
What is the average position for a driver with less than 54 points and husaberg-bsu as equipment? | CREATE TABLE table_name_69 (position INTEGER, points VARCHAR, equipment VARCHAR) | SELECT AVG(position) FROM table_name_69 WHERE points < 54 AND equipment = "husaberg-bsu" |
What is the total number of losses against the Rajasthan Royals with more than 0 ties? | CREATE TABLE table_name_57 (lost VARCHAR, opposition VARCHAR, tied VARCHAR) | SELECT COUNT(lost) FROM table_name_57 WHERE opposition = "rajasthan royals" AND tied > 0 |
Which Year Introduced has a Memory (GB) of 0.125–2? | CREATE TABLE table_name_26 (year_introduced INTEGER, memory__gb_ VARCHAR) | SELECT MAX(year_introduced) FROM table_name_26 WHERE memory__gb_ = "0.125–2" |
When did the technical knockout against Fatu Tuimanono happen? | CREATE TABLE table_name_24 (date VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_24 WHERE method = "technical knockout" AND opponent = "fatu tuimanono" |
What was the position of terry jones whose pick number was after 256? | CREATE TABLE table_name_59 (position VARCHAR, pick VARCHAR, player VARCHAR) | SELECT position FROM table_name_59 WHERE pick > 256 AND player = "terry jones" |
What is every value for Italian when the part is English? | CREATE TABLE table_25401_15 (italian VARCHAR, english VARCHAR) | SELECT italian FROM table_25401_15 WHERE english = "part" |
What is the position number when there were 29 points, and less than 2 is lost? | CREATE TABLE table_name_86 (position VARCHAR, points VARCHAR, lost VARCHAR) | SELECT COUNT(position) FROM table_name_86 WHERE points = 29 AND lost < 2 |
What Trainer had Jockey William Jenkins in a race with Time of 1:44.80? | CREATE TABLE table_name_54 (trainer VARCHAR, time VARCHAR, jockey VARCHAR) | SELECT trainer FROM table_name_54 WHERE time = "1:44.80" AND jockey = "william jenkins" |
What is the sum of complement commander Valkenburg received? | CREATE TABLE table_name_28 (complement VARCHAR, commander VARCHAR) | SELECT COUNT(complement) FROM table_name_28 WHERE commander = "valkenburg" |
What is the highest Points, when Position is less than 4, when Equipment is Zabel - VMC, and when Bike No is less than 1? | CREATE TABLE table_name_19 (points INTEGER, bike_no VARCHAR, position VARCHAR, equipment VARCHAR) | SELECT MAX(points) FROM table_name_19 WHERE position < 4 AND equipment = "zabel - vmc" AND bike_no < 1 |
what is the position when the year [A} is after 2011 and the pick is 28? | CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR) | SELECT position FROM table_name_67 WHERE year_[a_] > 2011 AND pick = "28" |
How many different numbers of B shares does Handelsbanken fonder have? | CREATE TABLE table_206359_1 (b_shares VARCHAR, shareholder_name VARCHAR) | SELECT COUNT(b_shares) FROM table_206359_1 WHERE shareholder_name = "Handelsbanken fonder" |
Find the first names of students studying in room 108. | CREATE TABLE list (firstname VARCHAR, classroom VARCHAR) | SELECT firstname FROM list WHERE classroom = 108 |
What circuit was the British Grand Prix? | CREATE TABLE table_name_92 (circuit VARCHAR, race VARCHAR) | SELECT circuit FROM table_name_92 WHERE race = "british grand prix" |
Name the least age for the 1st dose for 3 doses of 2-3 drops | CREATE TABLE table_name_28 (minimum_age_at_1st_dose VARCHAR, number_of_doses VARCHAR, dose VARCHAR) | SELECT minimum_age_at_1st_dose FROM table_name_28 WHERE number_of_doses = "3 doses" AND dose = "2-3 drops" |
What country has a finish of 59? | CREATE TABLE table_name_34 (country VARCHAR, finish VARCHAR) | SELECT country FROM table_name_34 WHERE finish = "59" |
how many times is the building type residential and the locale yashodham? | CREATE TABLE table_name_22 (sr_no VARCHAR, building_type VARCHAR, locale VARCHAR) | SELECT COUNT(sr_no) FROM table_name_22 WHERE building_type = "residential" AND locale = "yashodham" |
When did the Houston Rockets play Home? | CREATE TABLE table_name_48 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_48 WHERE home = "houston rockets" |
What was the Rampage's result in the playoffs in the year that their regular season resulted in 4th, central? | CREATE TABLE table_name_38 (playoffs VARCHAR, reg_season VARCHAR) | SELECT playoffs FROM table_name_38 WHERE reg_season = "4th, central" |
Name the average goals conceded with draw bigger than 7 and goals scored more than 24 | CREATE TABLE table_name_26 (goals_conceded INTEGER, draw VARCHAR, goals_scored VARCHAR) | SELECT AVG(goals_conceded) FROM table_name_26 WHERE draw > 7 AND goals_scored > 24 |
Which sport has a time over 49? | CREATE TABLE table_name_53 (sport VARCHAR, time__sec_ INTEGER) | SELECT sport FROM table_name_53 WHERE time__sec_ > 49 |
What is the Tournament when the winning score was 65-67-68-67=267? | CREATE TABLE table_name_70 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_70 WHERE winning_score = 65 - 67 - 68 - 67 = 267 |
What player has defensive back as the position, with a round less than 2? | CREATE TABLE table_name_19 (player VARCHAR, position VARCHAR, round VARCHAR) | SELECT player FROM table_name_19 WHERE position = "defensive back" AND round < 2 |
Why did Robert L. Bacon (r) vacate? | CREATE TABLE table_2159547_3 (reason_for_change VARCHAR, vacator VARCHAR) | SELECT reason_for_change FROM table_2159547_3 WHERE vacator = "Robert L. Bacon (R)" |
What solvent has a boiling point of 100–103 °c? | CREATE TABLE table_name_55 (solvent VARCHAR, boiling_point VARCHAR) | SELECT solvent FROM table_name_55 WHERE boiling_point = "100–103 °c" |
What is the total number of golds having a total of 1, bronzes of 0, and from West Germany? | CREATE TABLE table_name_61 (gold VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_61 WHERE total = 1 AND bronze < 1 AND nation = "west germany" |
In which place is Emmet French? | CREATE TABLE table_name_2 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_2 WHERE player = "emmet french" |
What is the average Silver with rank 30 and a Bronze greater than 0 | CREATE TABLE table_name_42 (silver INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT AVG(silver) FROM table_name_42 WHERE rank = "30" AND bronze > 0 |
What is Surface, when Opponents, when Final is "Gigi Fernández Robin White"? | CREATE TABLE table_name_81 (surface VARCHAR, opponents_in_final VARCHAR) | SELECT surface FROM table_name_81 WHERE opponents_in_final = "gigi fernández robin white" |
what is the stream(s) and / or lake(s) when the date founded is 1959? | CREATE TABLE table_name_42 (stream_s__and___or_lake_s_ VARCHAR, date_founded VARCHAR) | SELECT stream_s__and___or_lake_s_ FROM table_name_42 WHERE date_founded = 1959 |
what is the rank of adam gilchrist | CREATE TABLE table_19870086_24 (rank VARCHAR, player VARCHAR) | SELECT COUNT(rank) FROM table_19870086_24 WHERE player = "Adam Gilchrist" |
What is the second year class following pag-unawa? | CREATE TABLE table_12148147_2 (second_year VARCHAR, first_year VARCHAR) | SELECT second_year FROM table_12148147_2 WHERE first_year = "Pag-unawa" |
Where was game 78 held? | CREATE TABLE table_name_62 (location VARCHAR, game VARCHAR) | SELECT location FROM table_name_62 WHERE game = 78 |
Which airport has an IATA of TYN? | CREATE TABLE table_name_52 (airport VARCHAR, iata VARCHAR) | SELECT airport FROM table_name_52 WHERE iata = "tyn" |
What is the sum for the int yards that has an assts more than 3, and player Jay Alford? | CREATE TABLE table_name_81 (int_yards INTEGER, assts VARCHAR, player VARCHAR) | SELECT SUM(int_yards) FROM table_name_81 WHERE assts > 3 AND player = "jay alford" |
Who is the Home Team for Match No. 23? | CREATE TABLE table_name_42 (home_team VARCHAR, match_no VARCHAR) | SELECT home_team FROM table_name_42 WHERE match_no = "23" |
How many 1st leg have team 1 ofk belgrade? | CREATE TABLE table_19294812_2 (team_1 VARCHAR) | SELECT COUNT(1 AS st_leg) FROM table_19294812_2 WHERE team_1 = "OFK Belgrade" |
How many points does an entrant of Martini Racing, the engine of an Alfa Romeo flat-12 a chassis of brabham bt45, and the year 1976 have? | CREATE TABLE table_name_43 (points VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR, engine VARCHAR) | SELECT COUNT(points) FROM table_name_43 WHERE entrant = "martini racing" AND engine = "alfa romeo flat-12" AND chassis = "brabham bt45" AND year = 1976 |
What is the figure for Santo Domingo, Dominican for the world record in the clean & jerk? | CREATE TABLE table_name_79 (santo_domingo_ VARCHAR, _dominican VARCHAR, world_record VARCHAR) | SELECT santo_domingo_, _dominican FROM table_name_79 WHERE world_record = "clean & jerk" |
List the height and weight of people in descending order of height. | CREATE TABLE people (Height VARCHAR, Weight VARCHAR) | SELECT Height, Weight FROM people ORDER BY Height DESC |
What is the rank associated with a Height feet / m of 427 / 130? | CREATE TABLE table_name_76 (rank VARCHAR, height_feet___m VARCHAR) | SELECT rank FROM table_name_76 WHERE height_feet___m = "427 / 130" |
Name the english name for 福鼎市 | CREATE TABLE table_2013618_1 (english_name VARCHAR, traditional VARCHAR) | SELECT english_name FROM table_2013618_1 WHERE traditional = "福鼎市" |
What countries are visited in the episode presented by Brian B. Thompson? | CREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR) | SELECT countries_visited FROM table_15211468_1 WHERE presenter = "Brian B. Thompson" |
When did Montreal visit and have a score of 1-4? | CREATE TABLE table_name_47 (date VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT date FROM table_name_47 WHERE visitor = "montreal" AND score = "1-4" |
Which opponent has the score of 0-3? | CREATE TABLE table_name_55 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_55 WHERE score = "0-3" |
What Chroma Format that has both Picture Coding Types of i, p, b, and the Name of main profile? | CREATE TABLE table_name_69 (chroma_format VARCHAR, picture_coding_types VARCHAR, name VARCHAR) | SELECT chroma_format FROM table_name_69 WHERE picture_coding_types = "i, p, b" AND name = "main profile" |
is γолемата вода nominated for anything? | CREATE TABLE table_14928423_1 (result VARCHAR, original_title VARCHAR) | SELECT result FROM table_14928423_1 WHERE original_title = "Γолемата Вода" |
The EPT German Open took place in what city? | CREATE TABLE table_name_25 (city VARCHAR, event VARCHAR) | SELECT city FROM table_name_25 WHERE event = "ept german open" |
What is the Match score when the FootyTAB winner was norths? | CREATE TABLE table_name_81 (match_score VARCHAR, footytab_winner VARCHAR) | SELECT match_score FROM table_name_81 WHERE footytab_winner = "norths" |
Which country made Le Portefeuille? | CREATE TABLE table_name_98 (country VARCHAR, film VARCHAR) | SELECT country FROM table_name_98 WHERE film = "le portefeuille" |
How many dollars is the revenue when the net profit is 55.4 million dollars? | CREATE TABLE table_18077713_1 (revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR) | SELECT revenue__us_$million_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "55.4" |
What season had a 14th position? | CREATE TABLE table_name_47 (season VARCHAR, position VARCHAR) | SELECT season FROM table_name_47 WHERE position = "14th" |
What was the score of the BCS National Championship game? | CREATE TABLE table_name_66 (score VARCHAR, bowl_game VARCHAR) | SELECT score FROM table_name_66 WHERE bowl_game = "bcs national championship" |
what's the party with candidates jerry weller (r) 51.77% clem balanoff (d) 48.23% | CREATE TABLE table_1341472_15 (party VARCHAR, candidates VARCHAR) | SELECT party FROM table_1341472_15 WHERE candidates = "Jerry Weller (R) 51.77% Clem Balanoff (D) 48.23%" |
What was South Melbourne's score as the home team? | CREATE TABLE table_name_19 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_19 WHERE home_team = "south melbourne" |
How much Silver has a Bronze larger than 1, and a Gold of 0, and a Rank smaller than 4? | CREATE TABLE table_name_95 (silver VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT COUNT(silver) FROM table_name_95 WHERE bronze > 1 AND gold = 0 AND rank < 4 |
What is the average Gold, when Total is 2, when Silver is less than 1, and when Rank is greater than 5? | CREATE TABLE table_name_95 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR) | SELECT AVG(gold) FROM table_name_95 WHERE total = 2 AND silver < 1 AND rank > 5 |
Find the number of students who are older than 18 and do not have allergy to either food or animal. | CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Has_allergy (Allergy VARCHAR); CREATE TABLE Student (age VARCHAR, StuID VARCHAR) | SELECT COUNT(*) FROM Student WHERE age > 18 AND NOT StuID IN (SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = "food" OR T2.allergytype = "animal") |
In the issue in which the Interview subject was Jesse Jackson, who were there Pictorials of? | CREATE TABLE table_name_84 (pictorials VARCHAR, interview_subject VARCHAR) | SELECT pictorials FROM table_name_84 WHERE interview_subject = "jesse jackson" |
What percent of others did ogm/news count when MARTIN had 9%? | CREATE TABLE table_name_33 (others VARCHAR, martin VARCHAR, source VARCHAR) | SELECT others FROM table_name_33 WHERE martin = "9%" AND source = "ogm/news" |
What is Championship, when Year is greater than 2002, and when Surface is Hard? | CREATE TABLE table_name_50 (championship VARCHAR, year VARCHAR, surface VARCHAR) | SELECT championship FROM table_name_50 WHERE year > 2002 AND surface = "hard" |
Show different citizenship of singers and the number of singers of each citizenship. | CREATE TABLE singer (Citizenship VARCHAR) | SELECT Citizenship, COUNT(*) FROM singer GROUP BY Citizenship |
What state had an elected/assumed office in 2013? | CREATE TABLE table_name_98 (state VARCHAR, elected_assumed_office VARCHAR) | SELECT state FROM table_name_98 WHERE elected_assumed_office = 2013 |
What's the latest original air date with more than 10 episodes and a DVD Region 2 release date of 23 april 2012? | CREATE TABLE table_name_17 (original_air_date INTEGER, dvd_region_2_release_date VARCHAR, number_of_episodes VARCHAR) | SELECT MAX(original_air_date) FROM table_name_17 WHERE dvd_region_2_release_date = "23 april 2012" AND number_of_episodes > 10 |
Which Draws have a Position of 16, and less than 58 Goals against? | CREATE TABLE table_name_63 (draws INTEGER, position VARCHAR, goals_against VARCHAR) | SELECT MIN(draws) FROM table_name_63 WHERE position = 16 AND goals_against < 58 |
List the names of states that have more than 2 parks. | CREATE TABLE park (state VARCHAR) | SELECT state FROM park GROUP BY state HAVING COUNT(*) > 2 |
Name the most pos for west bromwich albion club | CREATE TABLE table_226619_12 (pos INTEGER, club VARCHAR) | SELECT MAX(pos) FROM table_226619_12 WHERE club = "West Bromwich Albion" |
What's the year of the first election of the district whose incumbent is Edwin E. Willis? | CREATE TABLE table_1341843_19 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1341843_19 WHERE incumbent = "Edwin E. Willis" |
What date was the score 3–0, and set 1 was 25–22? | CREATE TABLE table_name_88 (date VARCHAR, score VARCHAR, set_1 VARCHAR) | SELECT date FROM table_name_88 WHERE score = "3–0" AND set_1 = "25–22" |
What is the drawn by the club with 542 points against? | CREATE TABLE table_name_79 (drawn VARCHAR, points_against VARCHAR) | SELECT drawn FROM table_name_79 WHERE points_against = "542" |
Who is moving during winter from wal? | CREATE TABLE table_name_28 (moving_from VARCHAR, transfer_window VARCHAR, country VARCHAR) | SELECT moving_from FROM table_name_28 WHERE transfer_window = "winter" AND country = "wal" |
What was the model's DirectX if it has a Core of 700 700 mhz? | CREATE TABLE table_26860595_2 (directx VARCHAR, core___mhz__ VARCHAR) | SELECT directx FROM table_26860595_2 WHERE core___mhz__ = "700 700" |
What is the total number of laps with a 128.260 qual? | CREATE TABLE table_name_29 (laps VARCHAR, qual VARCHAR) | SELECT COUNT(laps) FROM table_name_29 WHERE qual = "128.260" |
What is the Main use of emley moor tower (mk.3)? | CREATE TABLE table_name_54 (main_use VARCHAR, name VARCHAR) | SELECT main_use FROM table_name_54 WHERE name = "emley moor tower (mk.3)" |
Name the period for appearances being 380 | CREATE TABLE table_24565004_2 (period VARCHAR, appearances¹ VARCHAR) | SELECT period FROM table_24565004_2 WHERE appearances¹ = 380 |
Name all the candidates vying for Albert Bustamante's seat. | CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341586_44 WHERE incumbent = "Albert Bustamante" |
What is the date of the match with arnaud di pasquale as the opponent in the final? | CREATE TABLE table_name_69 (date VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_69 WHERE opponent_in_the_final = "arnaud di pasquale" |
Which source shows Blackberry at 2.9%? | CREATE TABLE table_11381701_3 (source VARCHAR, blackberry VARCHAR) | SELECT source FROM table_11381701_3 WHERE blackberry = "2.9%" |
What was the total when the first was November 1966? | CREATE TABLE table_name_42 (total INTEGER, first VARCHAR) | SELECT SUM(total) FROM table_name_42 WHERE first = "november 1966" |
Tell me the result for 3 goals | CREATE TABLE table_name_46 (result VARCHAR, goal VARCHAR) | SELECT result FROM table_name_46 WHERE goal = 3 |
What number in the season was episode 52 in the series? | CREATE TABLE table_22904707_1 (_number INTEGER, no VARCHAR) | SELECT MIN(_number) FROM table_22904707_1 WHERE no = 52 |
What is the Date with a Score that is 46-77? | CREATE TABLE table_name_65 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_65 WHERE score = "46-77" |
Where was the location with Muirfield in Scotland? | CREATE TABLE table_name_4 (location VARCHAR, country VARCHAR, name VARCHAR) | SELECT location FROM table_name_4 WHERE country = "scotland" AND name = "muirfield" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.