question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Which Wrestler has an Elimination of 5? | CREATE TABLE table_name_63 (wrestler VARCHAR, elimination VARCHAR) | SELECT wrestler FROM table_name_63 WHERE elimination = "5" |
What was the outcome when the oppenent was serena williams venus williams and had a hard surface? | CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR, surface VARCHAR) | SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "serena williams venus williams" AND surface = "hard" |
What is the Score in the final with an Outcome with runner-up, and a Date with 1970? | CREATE TABLE table_name_95 (score_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_95 WHERE outcome = "runner-up" AND date = 1970 |
What is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans attended? | CREATE TABLE table_name_20 (week INTEGER, date VARCHAR, attendance VARCHAR) | SELECT SUM(week) FROM table_name_20 WHERE date = "october 21, 1974" AND attendance < 50 OFFSET 623 |
What is the Opponent at the Honda Center on March 29? | CREATE TABLE table_name_66 (opponent VARCHAR, arena VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_66 WHERE arena = "honda center" AND date = "march 29" |
What is the Date of the Event in Panama City? | CREATE TABLE table_name_37 (date VARCHAR, city VARCHAR) | SELECT date FROM table_name_37 WHERE city = "panama city" |
How many cover models were on the edition that featured Jennifer Pershing as the centerfold? | CREATE TABLE table_1566852_10 (cover_model VARCHAR, centerfold_model VARCHAR) | SELECT COUNT(cover_model) FROM table_1566852_10 WHERE centerfold_model = "Jennifer Pershing" |
What was the score for the game against Houston? | CREATE TABLE table_23285761_10 (score VARCHAR, team VARCHAR) | SELECT score FROM table_23285761_10 WHERE team = "Houston" |
Who was the opponent on December 2, 1962? | CREATE TABLE table_name_8 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_8 WHERE date = "december 2, 1962" |
What is position of the player with a pick number greater than 315 and a round of 30? | CREATE TABLE table_name_51 (position VARCHAR, pick VARCHAR, round VARCHAR) | SELECT position FROM table_name_51 WHERE pick > 315 AND round = 30 |
Who has the most rebounds for game 42? | CREATE TABLE table_23285805_6 (high_rebounds VARCHAR, game VARCHAR) | SELECT high_rebounds FROM table_23285805_6 WHERE game = 42 |
How much Drawn has a Lost of 2, and Played smaller than 14? | CREATE TABLE table_name_46 (drawn INTEGER, lost VARCHAR, played VARCHAR) | SELECT SUM(drawn) FROM table_name_46 WHERE lost = 2 AND played < 14 |
What is the highest geohash length when the lat error is ±0.00068, and the lat bits larger than 17? | CREATE TABLE table_name_99 (geohash_length INTEGER, lat_error VARCHAR, lat_bits VARCHAR) | SELECT MAX(geohash_length) FROM table_name_99 WHERE lat_error = "±0.00068" AND lat_bits > 17 |
How many different titles does the episode originally aired on September 27, 1984 have? | CREATE TABLE table_2818164_2 (title VARCHAR, original_air_date VARCHAR) | SELECT COUNT(title) FROM table_2818164_2 WHERE original_air_date = "September 27, 1984" |
Which Events has Earnings of $113,259, and an Average larger than 229.5? | CREATE TABLE table_name_22 (events INTEGER, earnings VARCHAR, average VARCHAR) | SELECT MAX(events) FROM table_name_22 WHERE earnings = "$113,259" AND average > 229.5 |
What circuit was the race named international trophy raced at by the winning driver eliseo salazar? | CREATE TABLE table_name_63 (circuit VARCHAR, winning_driver VARCHAR, name VARCHAR) | SELECT circuit FROM table_name_63 WHERE winning_driver = "eliseo salazar" AND name = "international trophy" |
What is the number of pole position with a round of 15? | CREATE TABLE table_1137707_2 (pole_position VARCHAR, round VARCHAR) | SELECT COUNT(pole_position) FROM table_1137707_2 WHERE round = 15 |
What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008? | CREATE TABLE table_23680576_2 (nov_2008 VARCHAR, aug_2008 VARCHAR) | SELECT nov_2008 FROM table_23680576_2 WHERE aug_2008 = "1.7%" |
How many picks have charley sanders as the name, with a round greater than 22? | CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR) | SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 22 |
What was the surface on 23 October 2011? | CREATE TABLE table_name_97 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_97 WHERE date = "23 october 2011" |
What is the segment A name, having a Netflix of s01e12? | CREATE TABLE table_name_18 (segment_a VARCHAR, netflix VARCHAR) | SELECT segment_a FROM table_name_18 WHERE netflix = "s01e12" |
How many totals have 1 for the gold, 12 for the rank, and a sliver greater than 0? | CREATE TABLE table_name_60 (total VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT COUNT(total) FROM table_name_60 WHERE gold = 1 AND rank = "12" AND silver > 0 |
What is the sum of the Billboard 200 Peak scores after the Year 1971? | CREATE TABLE table_name_38 (billboard_200_peak INTEGER, year INTEGER) | SELECT SUM(billboard_200_peak) FROM table_name_38 WHERE year > 1971 |
What is the sum of Year opened when the span feet is more than 1247, and the spam metres is 384? | CREATE TABLE table_name_13 (year_opened INTEGER, span_feet VARCHAR, span_metres VARCHAR) | SELECT SUM(year_opened) FROM table_name_13 WHERE span_feet > 1247 AND span_metres = 384 |
Which gene has the subject number 21? | CREATE TABLE table_name_28 (gene VARCHAR, subject_number VARCHAR) | SELECT gene FROM table_name_28 WHERE subject_number = "21" |
What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is in love with you? | CREATE TABLE table_name_22 (place INTEGER, points VARCHAR, draw VARCHAR, english_translation VARCHAR) | SELECT SUM(place) FROM table_name_22 WHERE draw < 16 AND english_translation = "in love with you" AND points < 1 |
Show gas station id, location, and manager_name for all gas stations ordered by open year. | CREATE TABLE gas_station (station_id VARCHAR, LOCATION VARCHAR, manager_name VARCHAR, open_year VARCHAR) | SELECT station_id, LOCATION, manager_name FROM gas_station ORDER BY open_year |
What is the part 4 when part 1 is "lesan"? | CREATE TABLE table_1745843_8 (part_4 VARCHAR, part_1 VARCHAR) | SELECT part_4 FROM table_1745843_8 WHERE part_1 = "lesan" |
What is the fewest amount of races in any season? | CREATE TABLE table_25421463_1 (races INTEGER) | SELECT MIN(races) FROM table_25421463_1 |
What is the address for the school that has the coyotes mascot? | CREATE TABLE table_name_44 (address VARCHAR, mascot VARCHAR) | SELECT address FROM table_name_44 WHERE mascot = "coyotes" |
What was the attendance for the week before 10 with a result of L 12-15 | CREATE TABLE table_name_86 (attendance VARCHAR, week VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_86 WHERE week < 10 AND result = "l 12-15" |
What is the average Height for the Position of d, with a Birthplace of new hope, minnesota? | CREATE TABLE table_name_79 (height__cm_ INTEGER, position VARCHAR, birthplace VARCHAR) | SELECT AVG(height__cm_) FROM table_name_79 WHERE position = "d" AND birthplace = "new hope, minnesota" |
Name the number of administrative county for area 1961 and 176694 | CREATE TABLE table_14925084_1 (administrative_county VARCHAR, area_1961__statute_acres_ VARCHAR) | SELECT COUNT(administrative_county) FROM table_14925084_1 WHERE area_1961__statute_acres_ = 176694 |
What Aspect has a Programming of Saigon Network Television? | CREATE TABLE table_name_12 (aspect VARCHAR, programming VARCHAR) | SELECT aspect FROM table_name_12 WHERE programming = "saigon network television" |
Who was in third place in the 1980 season? | CREATE TABLE table_23647668_2 (third_place VARCHAR, season VARCHAR) | SELECT third_place FROM table_23647668_2 WHERE season = 1980 |
Which Vice President has a President of daniel masny, and a Treasurer of rebecca t. altmann? | CREATE TABLE table_name_29 (Vice VARCHAR, president VARCHAR, treasurer VARCHAR) | SELECT Vice AS president FROM table_name_29 WHERE president = "daniel masny" AND treasurer = "rebecca t. altmann" |
How many league goals did Dunne have in the season where he had 2 league apps? | CREATE TABLE table_2980024_1 (league_goals VARCHAR, league_apps VARCHAR) | SELECT league_goals FROM table_2980024_1 WHERE league_apps = 2 |
How many runs conceded for chaminda vaas? | CREATE TABLE table_15700367_6 (runs_conceded VARCHAR, name VARCHAR) | SELECT runs_conceded FROM table_15700367_6 WHERE name = "Chaminda Vaas" |
Name the drawn with lost of 3 and points of 88 | CREATE TABLE table_name_86 (drawn VARCHAR, lost VARCHAR, points VARCHAR) | SELECT drawn FROM table_name_86 WHERE lost = "3" AND points = "88" |
What's the total value of សាមសិប? | CREATE TABLE table_name_2 (value INTEGER, word_form VARCHAR) | SELECT SUM(value) FROM table_name_2 WHERE word_form = "សាមសិប" |
What is the rank of Israel? | CREATE TABLE table_name_97 (rank INTEGER, country VARCHAR) | SELECT MAX(rank) FROM table_name_97 WHERE country = "israel" |
What was the score when the visitor was toronto maple leafs on march 22? | CREATE TABLE table_name_53 (score VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT score FROM table_name_53 WHERE visitor = "toronto maple leafs" AND date = "march 22" |
Which player is from south africa? | CREATE TABLE table_name_93 (player VARCHAR, country VARCHAR) | SELECT player FROM table_name_93 WHERE country = "south africa" |
Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010? | CREATE TABLE table_name_37 (opponents_in_the_final VARCHAR, date VARCHAR, partnering VARCHAR, surface VARCHAR) | SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface = "clay" AND date = "august 1, 2010" |
Name the number of episodes for alan nourse | CREATE TABLE table_15739098_1 (episode VARCHAR, story VARCHAR) | SELECT COUNT(episode) FROM table_15739098_1 WHERE story = "Alan Nourse" |
What is the total administrative population of Shanghai? | CREATE TABLE table_16489766_2 (administrative_population__2010_ VARCHAR, city VARCHAR) | SELECT COUNT(administrative_population__2010_) FROM table_16489766_2 WHERE city = "Shanghai" |
What date was the match on a clay surface against Andrea Hlaváčková? | CREATE TABLE table_name_55 (date VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_55 WHERE surface = "clay" AND opponent = "andrea hlaváčková" |
Who was the home team where Trail Blazers were the visitor? | CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_70 WHERE visitor = "trail blazers" |
What is Score, when Away Team is "Thame United"? | CREATE TABLE table_name_67 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_67 WHERE away_team = "thame united" |
Which language has the percentage of 2.54? | CREATE TABLE table_name_8 (language VARCHAR, percentage___percentage_ VARCHAR) | SELECT language FROM table_name_8 WHERE percentage___percentage_ = "2.54" |
Name the first aired with money requested more than 85,000 | CREATE TABLE table_name_86 (first_aired VARCHAR, money_requested__£_ INTEGER) | SELECT first_aired FROM table_name_86 WHERE money_requested__£_ > 85 OFFSET 000 |
What was the lowest number of 2008 total bearers with a rank less than 13 and the Surname Jansson? | CREATE TABLE table_name_13 (number_of_bearers_2008 INTEGER, surname VARCHAR, rank VARCHAR) | SELECT MIN(number_of_bearers_2008) FROM table_name_13 WHERE surname = "jansson" AND rank < 13 |
Which Week has a Result of l 21-19? | CREATE TABLE table_name_4 (week VARCHAR, result VARCHAR) | SELECT COUNT(week) FROM table_name_4 WHERE result = "l 21-19" |
What is the rear sight in the Cole model no. 735? | CREATE TABLE table_12834315_1 (rear_sight VARCHAR, colt_model_no VARCHAR) | SELECT rear_sight FROM table_12834315_1 WHERE colt_model_no = "735" |
Which Attendance has a Home of djurgårdens if, and a Round of 53? | CREATE TABLE table_name_54 (attendance INTEGER, home VARCHAR, round VARCHAR) | SELECT MAX(attendance) FROM table_name_54 WHERE home = "djurgårdens if" AND round = 53 |
Which Score has Points of 88, and a Record of 38–22–12? | CREATE TABLE table_name_84 (score VARCHAR, points VARCHAR, record VARCHAR) | SELECT score FROM table_name_84 WHERE points = 88 AND record = "38–22–12" |
Which Top-10 has a Top-25 smaller than 18, and a Top-5 of 6, and a Cuts made smaller than 20? | CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, top_5 VARCHAR) | SELECT MAX(top_10) FROM table_name_57 WHERE top_25 < 18 AND top_5 = 6 AND cuts_made < 20 |
How many people were surveyed in the poll from June 30, 2010? | CREATE TABLE table_name_84 (sample_size VARCHAR, date_s__administered VARCHAR) | SELECT sample_size FROM table_name_84 WHERE date_s__administered = "june 30, 2010" |
Name the tournament of beijing | CREATE TABLE table_name_71 (tournament VARCHAR) | SELECT 2011 FROM table_name_71 WHERE tournament = "beijing" |
When is the scheduled date for the farm having 17 turbines? | CREATE TABLE table_name_96 (scheduled VARCHAR, turbines VARCHAR) | SELECT scheduled FROM table_name_96 WHERE turbines = 17 |
For episode number 2-03, what are the names of the cast? | CREATE TABLE table_2570269_2 (cast VARCHAR, episode__number VARCHAR) | SELECT cast FROM table_2570269_2 WHERE episode__number = "2-03" |
On what Date is the Circuit at Sandown Raceway? | CREATE TABLE table_name_37 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_37 WHERE circuit = "sandown raceway" |
Which incumbent was in the 24th district? | CREATE TABLE table_name_60 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_name_60 WHERE district = "24th" |
Which Adelaide's Melbourne and Perth were yes when Auckland was no? | CREATE TABLE table_name_20 (adelaide VARCHAR, perth VARCHAR, melbourne VARCHAR, auckland VARCHAR) | SELECT adelaide FROM table_name_20 WHERE melbourne = "yes" AND auckland = "no" AND perth = "yes" |
What Rotterterrode has a Reimboldsh 80? | CREATE TABLE table_name_31 (rotterterode VARCHAR, reimboldsh VARCHAR) | SELECT rotterterode FROM table_name_31 WHERE reimboldsh = "80" |
Who was the opponent with a score of 30-12? | CREATE TABLE table_name_72 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_72 WHERE result = "30-12" |
Which engine has a chassis of dallara, is ranked 6th, and has 384 points? | CREATE TABLE table_name_99 (engine VARCHAR, points VARCHAR, chassis VARCHAR, rank VARCHAR) | SELECT engine FROM table_name_99 WHERE chassis = "dallara" AND rank = "6th" AND points = 384 |
Name the division for detroit diesel series 50egr allison wb-400r | CREATE TABLE table_24193494_3 (division VARCHAR, powertrain__engine_transmission_ VARCHAR) | SELECT division FROM table_24193494_3 WHERE powertrain__engine_transmission_ = "Detroit Diesel Series 50EGR Allison WB-400R" |
What is the name of the home team that played away team Footscray? | CREATE TABLE table_name_46 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_46 WHERE away_team = "footscray" |
How many captains are in each rank? | CREATE TABLE captain (rank VARCHAR) | SELECT COUNT(*), rank FROM captain GROUP BY rank |
List the original air date for week 5. | CREATE TABLE table_22904780_1 (original_air_date VARCHAR, rank__week_ VARCHAR) | SELECT original_air_date FROM table_22904780_1 WHERE rank__week_ = 5 |
What was the final rank of the Brewers when they achieved a win percentage of .585? | CREATE TABLE table_name_79 (finish VARCHAR, win__percentage VARCHAR) | SELECT finish FROM table_name_79 WHERE win__percentage = ".585" |
Find the average rank of winners in all matches. | CREATE TABLE matches (winner_rank INTEGER) | SELECT AVG(winner_rank) FROM matches |
What is the build date of the locomotives with a total produced less than 45 and a fb-2 model? | CREATE TABLE table_name_42 (build_date VARCHAR, total_produced VARCHAR, model VARCHAR) | SELECT build_date FROM table_name_42 WHERE total_produced < 45 AND model = "fb-2" |
Who sponsors Middlesbrough? | CREATE TABLE table_name_74 (shirt_sponsor VARCHAR, team VARCHAR) | SELECT shirt_sponsor FROM table_name_74 WHERE team = "middlesbrough" |
What is the Surface of the Court in Napoli? | CREATE TABLE table_name_26 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_26 WHERE tournament = "napoli" |
What is the max torque of the 1.2 mpi engine? | CREATE TABLE table_name_11 (max_torque_at_rpm VARCHAR, engine_name VARCHAR) | SELECT max_torque_at_rpm FROM table_name_11 WHERE engine_name = "1.2 mpi" |
What is slađana pejić's profession? | CREATE TABLE table_name_4 (profession VARCHAR, name VARCHAR) | SELECT profession FROM table_name_4 WHERE name = "slađana pejić" |
What is the document type name and the document type description and creation date for all the documents? | CREATE TABLE Ref_document_types (document_type_name VARCHAR, document_type_description VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (Document_date VARCHAR, document_type_code VARCHAR) | SELECT T1.document_type_name, T1.document_type_description, T2.Document_date FROM Ref_document_types AS T1 JOIN Documents AS T2 ON T1.document_type_code = T2.document_type_code |
What Utah Jazz Forward played for Southern Methodist? | CREATE TABLE table_name_74 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_74 WHERE position = "forward" AND school_club_team = "southern methodist" |
What is the location and attendance of game 70? | CREATE TABLE table_27733909_9 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_27733909_9 WHERE game = 70 |
Which supercharger gear ratio has a Octane rating of 68? | CREATE TABLE table_name_22 (supercharger_gear_ratio VARCHAR, octane_rating VARCHAR) | SELECT supercharger_gear_ratio FROM table_name_22 WHERE octane_rating = "68" |
What type of school would you see when visiting Missouri Western State University? | CREATE TABLE table_2076463_2 (control VARCHAR, school VARCHAR) | SELECT control FROM table_2076463_2 WHERE school = "Missouri Western State University" |
On how many different dates was event 1 Suspension Bridge? | CREATE TABLE table_17257687_1 (air_date VARCHAR, event_1 VARCHAR) | SELECT COUNT(air_date) FROM table_17257687_1 WHERE event_1 = "Suspension Bridge" |
What's Number & Name listed for the Date 1967? | CREATE TABLE table_name_61 (number_ VARCHAR, _name VARCHAR, date VARCHAR) | SELECT number_ & _name FROM table_name_61 WHERE date = 1967 |
What is the number of English names that have a Traditional Chinese name of 全椒縣? | CREATE TABLE table_1982739_2 (english_name VARCHAR, traditional_chinese VARCHAR) | SELECT COUNT(english_name) FROM table_1982739_2 WHERE traditional_chinese = "全椒縣" |
Which teams had a difference of 8 between goals scored and goals conceeded | CREATE TABLE table_15420044_1 (team VARCHAR, difference VARCHAR) | SELECT team FROM table_15420044_1 WHERE difference = "8" |
How many assists per game did he have when he had 6.8 points per game? | CREATE TABLE table_2761641_1 (assists_per_game VARCHAR, points_per_game VARCHAR) | SELECT assists_per_game FROM table_2761641_1 WHERE points_per_game = "6.8" |
Which the highest Bronze of czech republic with a Total smaller than 4? | CREATE TABLE table_name_63 (bronze INTEGER, nation VARCHAR, total VARCHAR) | SELECT MAX(bronze) FROM table_name_63 WHERE nation = "czech republic" AND total < 4 |
What is the minimum snatch score? | CREATE TABLE body_builder (snatch INTEGER) | SELECT MIN(snatch) FROM body_builder |
What is the Weight of the Senior Player with a Height of 6–10? | CREATE TABLE table_name_78 (weight INTEGER, year VARCHAR, height VARCHAR) | SELECT SUM(weight) FROM table_name_78 WHERE year = "senior" AND height = "6–10" |
What is the school of the player from Dallas, TX? | CREATE TABLE table_name_47 (school VARCHAR, hometown VARCHAR) | SELECT school FROM table_name_47 WHERE hometown = "dallas, tx" |
What is the position of player Tiffany Garofano (2)? | CREATE TABLE table_name_59 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_59 WHERE player = "tiffany garofano (2)" |
Who wrote the episode with production code 1ANJ01? | CREATE TABLE table_13426649_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_13426649_1 WHERE production_code = "1ANJ01" |
what category is for tom shankland, director? | CREATE TABLE table_name_56 (category VARCHAR, director_s_ VARCHAR) | SELECT category FROM table_name_56 WHERE director_s_ = "tom shankland" |
Who was the opponent for game 5? | CREATE TABLE table_name_29 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_29 WHERE game = 5 |
What class is associated with a W.A. of 0-8-0? | CREATE TABLE table_name_10 (class VARCHAR, wa VARCHAR) | SELECT class FROM table_name_10 WHERE wa = "0-8-0" |
What race is in the 5th position? | CREATE TABLE table_name_61 (race VARCHAR, position VARCHAR) | SELECT race FROM table_name_61 WHERE position = "5th" |
How many television service are in italian and n°is greater than 856.0? | CREATE TABLE table_15887683_15 (television_service VARCHAR, language VARCHAR, n° VARCHAR) | SELECT television_service FROM table_15887683_15 WHERE language = "Italian" AND n° > 856.0 |
Which party had a result of retired democratic hold and a first elected earlier than 1884 with an incumbent of samuel dibble? | CREATE TABLE table_name_32 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) | SELECT party FROM table_name_32 WHERE result = "retired democratic hold" AND first_elected < 1884 AND incumbent = "samuel dibble" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.