question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is Location, when Opponent is "Mario Rinaldi"? | CREATE TABLE table_name_86 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_86 WHERE opponent = "mario rinaldi" |
What title was directed by Raoul Walsh later than 1945? | CREATE TABLE table_name_66 (title VARCHAR, director VARCHAR, year VARCHAR) | SELECT title FROM table_name_66 WHERE director = "raoul walsh" AND year > 1945 |
What is the race class with most number of races. | CREATE TABLE race (CLASS VARCHAR) | SELECT CLASS FROM race GROUP BY CLASS ORDER BY COUNT(*) DESC LIMIT 1 |
What is the assembled date of the parliament dissolved on 9 February 1611 and elected in 1606? | CREATE TABLE table_name_60 (assembled VARCHAR, dissolved VARCHAR, elected VARCHAR) | SELECT assembled FROM table_name_60 WHERE dissolved = "9 february 1611" AND elected = "1606" |
Which Result has a First elected of 1876, and a District of south carolina 3? | CREATE TABLE table_name_6 (result VARCHAR, first_elected VARCHAR, district VARCHAR) | SELECT result FROM table_name_6 WHERE first_elected = 1876 AND district = "south carolina 3" |
WHAT IS THE HIGHEST ROUND FOR MIKE TAYLOR, WITH PICK HIGHER THAN 55? | CREATE TABLE table_name_86 (round INTEGER, player VARCHAR, pick VARCHAR) | SELECT MAX(round) FROM table_name_86 WHERE player = "mike taylor" AND pick > 55 |
What type of surface did they play on 21 July 1997 | CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_14 WHERE date = "21 july 1997" |
What was the score on March 5 at Vancouver? | CREATE TABLE table_name_42 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_42 WHERE date = "march 5" |
What is the sum for the Scottish cup that has player Damon Gray, and more than 1 league? | CREATE TABLE table_name_74 (scottish_cup INTEGER, player VARCHAR, league VARCHAR) | SELECT SUM(scottish_cup) FROM table_name_74 WHERE player = "damon gray" AND league > 1 |
What was the score of game 35? | CREATE TABLE table_17102076_7 (score VARCHAR, game VARCHAR) | SELECT score FROM table_17102076_7 WHERE game = 35 |
What is the average number of working horses of farms with more than 5000 total number of horses? | CREATE TABLE farm (Working_Horses INTEGER, Total_Horses INTEGER) | SELECT AVG(Working_Horses) FROM farm WHERE Total_Horses > 5000 |
What number of party had a candidate resigned when appointed judge democratic hold? | CREATE TABLE table_1342013_31 (party VARCHAR, result VARCHAR) | SELECT COUNT(party) FROM table_1342013_31 WHERE result = "Resigned when appointed judge Democratic hold" |
How many golds were there when there was more than 11 bronze and 29 in total? | CREATE TABLE table_name_92 (gold VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT COUNT(gold) FROM table_name_92 WHERE bronze > 11 AND total = 29 |
What event did Rastislav Turecek participate in? | CREATE TABLE table_name_88 (event VARCHAR, name VARCHAR) | SELECT event FROM table_name_88 WHERE name = "rastislav turecek" |
What is the 35mm EFL and the equivalent aperture of the lens(es) with a maximum aperture of f /2.5? | CREATE TABLE table_name_67 (max_aperture VARCHAR) | SELECT 35 AS mm_efl_and_equivalent_aperture FROM table_name_67 WHERE max_aperture = "f /2.5" |
How many production codes are there for episode 10 in the season? | CREATE TABLE table_24425976_2 (production_code VARCHAR, season VARCHAR) | SELECT COUNT(production_code) FROM table_24425976_2 WHERE season = "10" |
What is the lowest number of against of NTFA Div 2 Fingal Valley? | CREATE TABLE table_name_38 (against INTEGER, ntfa_div_2 VARCHAR) | SELECT MIN(against) FROM table_name_38 WHERE ntfa_div_2 = "fingal valley" |
What director ranked higher than 1 from Universal Studios and grossed $201,957,688? | CREATE TABLE table_name_17 (director VARCHAR, gross VARCHAR, rank VARCHAR, studio VARCHAR) | SELECT director FROM table_name_17 WHERE rank > 1 AND studio = "universal" AND gross = "$201,957,688" |
With a Col (m) larger than 2012, what is Mount Kazbek's Prominence (m)? | CREATE TABLE table_name_88 (prominence__m_ VARCHAR, col__m_ VARCHAR, peak VARCHAR) | SELECT prominence__m_ FROM table_name_88 WHERE col__m_ > 2012 AND peak = "mount kazbek" |
what is the grid when the time/retired is +9 laps and the laps is larger than 91? | CREATE TABLE table_name_18 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) | SELECT COUNT(grid) FROM table_name_18 WHERE time_retired = "+9 laps" AND laps > 91 |
What was the original air date of the episode directed by gloria muzio? | CREATE TABLE table_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Gloria Muzio" |
What player has t3 as the place, with england united states as the country? | CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR) | SELECT player FROM table_name_57 WHERE place = "t3" AND country = "england united states" |
When a team wins 4, how much is the Maximum amount of points? | CREATE TABLE table_14889048_2 (points INTEGER, wins VARCHAR) | SELECT MAX(points) FROM table_14889048_2 WHERE wins = 4 |
Where did St Kilda play as the away team? | CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_50 WHERE away_team = "st kilda" |
What is the population for the area that has a Hanzi of 延寿县? | CREATE TABLE table_name_30 (population__2010_11_01_ VARCHAR, hanzi VARCHAR) | SELECT population__2010_11_01_ FROM table_name_30 WHERE hanzi = "延寿县" |
What is the candidate status of macedonia? | CREATE TABLE table_name_46 (candidate_status VARCHAR, state VARCHAR) | SELECT candidate_status FROM table_name_46 WHERE state = "macedonia" |
What is the score of Nick Taylor (a)? | CREATE TABLE table_name_64 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_64 WHERE player = "nick taylor (a)" |
Which Delegate has a Placement in Miss Universe of fourth runner-up, and a Hometown of makati , rizal? | CREATE TABLE table_name_96 (delegate VARCHAR, placement_in_miss_universe VARCHAR, hometown VARCHAR) | SELECT delegate FROM table_name_96 WHERE placement_in_miss_universe = "fourth runner-up" AND hometown = "makati , rizal" |
What are the gender and occupation of players? | CREATE TABLE player (Gender VARCHAR, Occupation VARCHAR) | SELECT Gender, Occupation FROM player |
What episode had sumo ball for event 3 and the wall for event 4? | CREATE TABLE table_name_45 (episode_number INTEGER, event_4 VARCHAR, event_3 VARCHAR) | SELECT AVG(episode_number) FROM table_name_45 WHERE event_4 = "the wall" AND event_3 = "sumo ball" |
if Against is 20 how much is Won? | CREATE TABLE table_15352382_1 (won VARCHAR, against VARCHAR) | SELECT won FROM table_15352382_1 WHERE against = 20 |
what's the minimum total with crop (kilotonnes) being s lupin | CREATE TABLE table_1057262_2 (total INTEGER, crop__kilotonnes_ VARCHAR) | SELECT MIN(total) FROM table_1057262_2 WHERE crop__kilotonnes_ = "s Lupin" |
I want to know the highest heat rank for overall rank of t63 and time less than 25.47 | CREATE TABLE table_name_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR) | SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = "t63" AND time < 25.47 |
What is the local mission that has ambassador as the local position, and a mission of suriname? | CREATE TABLE table_name_13 (Local VARCHAR, local_position VARCHAR, mission VARCHAR) | SELECT Local AS mission FROM table_name_13 WHERE local_position = "ambassador" AND mission = "suriname" |
Who won the race on 24 August? | CREATE TABLE table_name_99 (winning_driver VARCHAR, date VARCHAR) | SELECT winning_driver FROM table_name_99 WHERE date = "24 august" |
What is the Country of the T2 Place Player with a Score of 69-69-69=207? | CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_2 WHERE place = "t2" AND score = 69 - 69 - 69 = 207 |
WHAT IS THE PLAYER WITH A TO PAR OF E, AND SCORE OF 68-72=140? | CREATE TABLE table_name_2 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_2 WHERE to_par = "e" AND score = 68 - 72 = 140 |
What was the record in the game against Eskimos? | CREATE TABLE table_23685152_2 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_23685152_2 WHERE opponent = "Eskimos" |
How many orders when the species is Pavo Cristatus? | CREATE TABLE table_1818471_1 (order VARCHAR, species VARCHAR) | SELECT COUNT(order) FROM table_1818471_1 WHERE species = "Pavo cristatus" |
What is the date of the zolder circuit, which had a.z.k./roc-compétition a.z.k./roc-compétition as the winning team? | CREATE TABLE table_name_53 (date VARCHAR, winning_team VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_53 WHERE winning_team = "a.z.k./roc-compétition a.z.k./roc-compétition" AND circuit = "zolder" |
Who is the owner/operator of the line from Kambalda to Esperance? | CREATE TABLE table_name_18 (owner_operator VARCHAR, from_to VARCHAR) | SELECT owner_operator FROM table_name_18 WHERE from_to = "kambalda to esperance" |
Name the state for lake county | CREATE TABLE table_1762887_1 (state VARCHAR, county VARCHAR) | SELECT state FROM table_1762887_1 WHERE county = "Lake county" |
How many products are there in the records? | CREATE TABLE catalog_contents (Id VARCHAR) | SELECT COUNT(*) FROM catalog_contents |
When the surface was Hard (i), what was the score? | CREATE TABLE table_2516282_3 (score VARCHAR, surface VARCHAR) | SELECT score FROM table_2516282_3 WHERE surface = "Hard (i)" |
What is the largest capacity for the stadium for Treviso club? | CREATE TABLE table_name_44 (capacity INTEGER, club VARCHAR) | SELECT MAX(capacity) FROM table_name_44 WHERE club = "treviso" |
Which opponent has an Outcome of winner, and a Date of 5 november 2011? | CREATE TABLE table_name_26 (opponent VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_26 WHERE outcome = "winner" AND date = "5 november 2011" |
When it is season 10 who are the writers? | CREATE TABLE table_20967430_3 (written_by VARCHAR, season VARCHAR) | SELECT written_by FROM table_20967430_3 WHERE season = 10 |
For the item with a Prince XML value of 'font', what is the WebKit value? | CREATE TABLE table_name_71 (webkit VARCHAR, prince_xml VARCHAR) | SELECT webkit FROM table_name_71 WHERE prince_xml = "font" |
What is the title of Episode #2 | CREATE TABLE table_165732_2 (title VARCHAR, episode__number VARCHAR) | SELECT title FROM table_165732_2 WHERE episode__number = 2 |
What Career has a Parallel of –, a Combined of –, and a Giant Slalom of 5? | CREATE TABLE table_name_6 (career VARCHAR, giant_slalom VARCHAR, parallel VARCHAR, combined VARCHAR) | SELECT career FROM table_name_6 WHERE parallel = "–" AND combined = "–" AND giant_slalom = "5" |
What was the score when set 3 was 26-28? | CREATE TABLE table_name_78 (score VARCHAR, set_3 VARCHAR) | SELECT score FROM table_name_78 WHERE set_3 = "26-28" |
How many international tourist arrivals were in Senegal in 2011? | CREATE TABLE table_14752049_2 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR) | SELECT international_tourist_arrivals__2011_ FROM table_14752049_2 WHERE country = "Senegal" |
Name the US Hot 100 for album of I like you | CREATE TABLE table_name_81 (us_hot_100 VARCHAR, album VARCHAR) | SELECT us_hot_100 FROM table_name_81 WHERE album = "i like you" |
How many people were in attendance when the Washington Nationals had a score of 7-3 and a loss of Worrell (0-1)? | CREATE TABLE table_name_54 (attendance VARCHAR, score VARCHAR, loss VARCHAR) | SELECT COUNT(attendance) FROM table_name_54 WHERE score = "7-3" AND loss = "worrell (0-1)" |
How many Games for Rank 2 Terrell McIntyre? | CREATE TABLE table_name_8 (games INTEGER, name VARCHAR, rank VARCHAR) | SELECT MIN(games) FROM table_name_8 WHERE name = "terrell mcintyre" AND rank > 2 |
What is the total number of delegate that have 4 counties carries and more than 1,903 state delegates? | CREATE TABLE table_name_22 (delegates INTEGER, counties_carries VARCHAR, state_delegate VARCHAR) | SELECT SUM(delegates) FROM table_name_22 WHERE counties_carries = 4 AND state_delegate > 1 OFFSET 903 |
Name the total number of points for the right end | CREATE TABLE table_14342592_4 (points VARCHAR, position VARCHAR) | SELECT COUNT(points) FROM table_14342592_4 WHERE position = "Right end" |
Who had the high points in game is 81? | CREATE TABLE table_27703902_9 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_27703902_9 WHERE game = 81 |
What is the country that has a place of T6, a socre of 69-69=138, and where Niclas Fasth played? | CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_17 WHERE place = "t6" AND score = 69 - 69 = 138 AND player = "niclas fasth" |
What yacht had LOA Metres of 13.34? | CREATE TABLE table_25594271_2 (yacht VARCHAR, loa__metres_ VARCHAR) | SELECT yacht FROM table_25594271_2 WHERE loa__metres_ = "13.34" |
What religious groups made up 0.72% of the Indian population in 2001? | CREATE TABLE table_10710364_1 (religious_group VARCHAR, population__percentage_2001 VARCHAR) | SELECT religious_group FROM table_10710364_1 WHERE population__percentage_2001 = "0.72%" |
When was Kalin Olson listed as the centerfold model? | CREATE TABLE table_1566850_8 (date VARCHAR, centerfold_model VARCHAR) | SELECT date FROM table_1566850_8 WHERE centerfold_model = "Kalin Olson" |
Which week's game had an attendance of 90,138? | CREATE TABLE table_name_37 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_37 WHERE attendance = "90,138" |
Investment income of 2%, and an other income sources of 3%, and an employment (salaries & wages) of 71% involves which self employed? | CREATE TABLE table_name_15 (self_employed VARCHAR, investment_income VARCHAR, other_income_sources VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR) | SELECT self_employed FROM table_name_15 WHERE investment_income = "2%" AND other_income_sources = "3%" AND employment___salaries_ & _wages_ = "71%" |
Can you tell me the Opponent that has the Date of sun, sept 9? | CREATE TABLE table_name_89 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_89 WHERE date = "sun, sept 9" |
WHAT YEAR WAS ROBERT COOMBES CHAMPION ON MAY 7? | CREATE TABLE table_name_97 (year VARCHAR, champion VARCHAR, date VARCHAR) | SELECT COUNT(year) FROM table_name_97 WHERE champion = "robert coombes" AND date = "may 7" |
What is the lowest capacity for 1903? | CREATE TABLE table_name_75 (capacity INTEGER, year_opened VARCHAR) | SELECT MIN(capacity) FROM table_name_75 WHERE year_opened = "1903" |
Which decile has an Area of welcome bay, and an Authority of state? | CREATE TABLE table_name_62 (decile VARCHAR, area VARCHAR, authority VARCHAR) | SELECT decile FROM table_name_62 WHERE area = "welcome bay" AND authority = "state" |
Album of les mots had what lowest year? | CREATE TABLE table_name_18 (year INTEGER, album VARCHAR) | SELECT MIN(year) FROM table_name_18 WHERE album = "les mots" |
what is the most free when the total is 81.167 and the rank is higher than 23? | CREATE TABLE table_name_87 (free INTEGER, total VARCHAR, rank VARCHAR) | SELECT MAX(free) FROM table_name_87 WHERE total = 81.167 AND rank > 23 |
What person was the runner-up skip when Julie Reddick was the winning skip? | CREATE TABLE table_name_61 (runner_up_skip VARCHAR, winning_skip VARCHAR) | SELECT runner_up_skip FROM table_name_61 WHERE winning_skip = "julie reddick" |
Name the place with building of victoria hall | CREATE TABLE table_name_93 (place VARCHAR, building VARCHAR) | SELECT place FROM table_name_93 WHERE building = "victoria hall" |
What is the average week with St. Louis Cardinals with less than 80,010 attendance? | CREATE TABLE table_name_99 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | SELECT AVG(week) FROM table_name_99 WHERE opponent = "st. louis cardinals" AND attendance < 80 OFFSET 010 |
Name the highest year with points more than 0 | CREATE TABLE table_name_90 (year INTEGER, points INTEGER) | SELECT MAX(year) FROM table_name_90 WHERE points > 0 |
Which weightlifter, who had a bodyweight of less than 136.16 and a clean and jerk larger than 135, had the highest Total? | CREATE TABLE table_name_43 (total__kg_ INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR) | SELECT MAX(total__kg_) FROM table_name_43 WHERE bodyweight < 136.16 AND clean_ & _jerk > 135 |
Which Zero Fighter has a count of 10? | CREATE TABLE table_name_1 (id_code_of_his_zero_fighter VARCHAR, count VARCHAR) | SELECT id_code_of_his_zero_fighter FROM table_name_1 WHERE count = "10" |
What is the highest region of Saint-Flavien with an area larger than 67.56? | CREATE TABLE table_name_43 (region INTEGER, name VARCHAR, area__km_2__ VARCHAR) | SELECT MAX(region) FROM table_name_43 WHERE name = "saint-flavien" AND area__km_2__ > 67.56 |
what is the united fc where pifa colaba is sporting options? | CREATE TABLE table_28759261_5 (united_fc VARCHAR, pifa_colaba_fc_u_17 VARCHAR) | SELECT united_fc FROM table_28759261_5 WHERE pifa_colaba_fc_u_17 = "Sporting Options" |
What are the names and ages of editors? | CREATE TABLE editor (Name VARCHAR, Age VARCHAR) | SELECT Name, Age FROM editor |
Name the song for points less than 16 and draw less than 3 | CREATE TABLE table_name_99 (song VARCHAR, points VARCHAR, draw VARCHAR) | SELECT song FROM table_name_99 WHERE points < 16 AND draw < 3 |
Which Non- stop has an Aspirated stop of ㅎ? | CREATE TABLE table_name_60 (non__stop VARCHAR, aspirated_stop VARCHAR) | SELECT non__stop FROM table_name_60 WHERE aspirated_stop = "ㅎ" |
What channel number is Gladiators on | CREATE TABLE table_13549921_18 (new_channel_s_ VARCHAR, programme VARCHAR) | SELECT new_channel_s_ FROM table_13549921_18 WHERE programme = "Gladiators" |
What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107? | CREATE TABLE table_name_4 (Id VARCHAR) | SELECT MAX(1995) FROM table_name_4 WHERE 1990 > 36 AND 1987 < 1987 AND 2007 > 107 |
Name the total apps for league apps being 4 | CREATE TABLE table_27086613_5 (total_apps VARCHAR, league_apps VARCHAR) | SELECT total_apps FROM table_27086613_5 WHERE league_apps = 4 |
What is the USD price for Tealeaf? | CREATE TABLE table_name_79 (price_in_usd VARCHAR, company VARCHAR) | SELECT price_in_usd FROM table_name_79 WHERE company = "tealeaf" |
In 1946, what is the Runner(s)-up of the Women's Western Open Championship? | CREATE TABLE table_name_60 (runner_s__up VARCHAR, championship VARCHAR, year VARCHAR) | SELECT runner_s__up FROM table_name_60 WHERE championship = "women's western open" AND year = 1946 |
What's the hometown of the player who is 6-4? | CREATE TABLE table_name_45 (hometown VARCHAR, height VARCHAR) | SELECT hometown FROM table_name_45 WHERE height = "6-4" |
How many lanes have a Time of 53.61, and a Rank larger than 3? | CREATE TABLE table_name_32 (lane INTEGER, time VARCHAR, rank VARCHAR) | SELECT SUM(lane) FROM table_name_32 WHERE time = 53.61 AND rank > 3 |
What is the away team's score when the away team is geelong? | CREATE TABLE table_name_16 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_16 WHERE away_team = "geelong" |
List the names and emails of customers who payed by Visa card. | CREATE TABLE customers (customer_email VARCHAR, customer_name VARCHAR, payment_method VARCHAR) | SELECT customer_email, customer_name FROM customers WHERE payment_method = 'Visa' |
When was the delegate who has previous experience as a commissioner of health born? | CREATE TABLE table_name_36 (born_in VARCHAR, former_experience VARCHAR) | SELECT born_in FROM table_name_36 WHERE former_experience = "commissioner of health" |
what's the imperial that contains a jyutping of cin4? | CREATE TABLE table_name_51 (imperial_value VARCHAR, jyutping VARCHAR) | SELECT imperial_value FROM table_name_51 WHERE jyutping = "cin4" |
Who was sixth place when Hugo Salazar was fifth place? | CREATE TABLE table_name_19 (sixth_place VARCHAR, fifth_place VARCHAR) | SELECT sixth_place FROM table_name_19 WHERE fifth_place = "hugo salazar" |
What is the location when the opposition is mid canterbury? | CREATE TABLE table_26847237_3 (location VARCHAR, opposition VARCHAR) | SELECT location FROM table_26847237_3 WHERE opposition = "Mid Canterbury" |
Which loss has a Record of 67-51? | CREATE TABLE table_name_37 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_37 WHERE record = "67-51" |
When the Fowler is 16, what is the number of cylinders? | CREATE TABLE table_20142629_2 (_3_cylinder VARCHAR, stanier VARCHAR, fowler VARCHAR) | SELECT COUNT(stanier), _3_cylinder FROM table_20142629_2 WHERE fowler = 16 |
Who owns the station on channel 33.3? | CREATE TABLE table_1404984_1 (station_ownership VARCHAR, virtual_channel VARCHAR) | SELECT station_ownership FROM table_1404984_1 WHERE virtual_channel = "33.3" |
Name the falcons points for record of 3-2 | CREATE TABLE table_16710829_2 (falcons_points VARCHAR, record VARCHAR) | SELECT falcons_points FROM table_16710829_2 WHERE record = "3-2" |
What was the original title of the film directed by Lene Grønlykke and Sven Grønlykke? | CREATE TABLE table_name_72 (original_title VARCHAR, director VARCHAR) | SELECT original_title FROM table_name_72 WHERE director = "lene grønlykke and sven grønlykke" |
What team has draft picks from Mississippi? | CREATE TABLE table_16729063_1 (nfl_team VARCHAR, college VARCHAR) | SELECT nfl_team FROM table_16729063_1 WHERE college = "Mississippi" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.