question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What college did john sullivan attend?
CREATE TABLE table_name_28 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_28 WHERE player = "john sullivan"
What is the method of the match with chris ade as the opponent?
CREATE TABLE table_name_70 (method VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_70 WHERE opponent = "chris ade"
What is the sum of Year, when Title is "Mnet Director's Cut"?
CREATE TABLE table_name_53 (year INTEGER, title VARCHAR)
SELECT SUM(year) FROM table_name_53 WHERE title = "mnet director's cut"
state the status of pick # 32
CREATE TABLE table_20898602_1 (status VARCHAR, pick__number VARCHAR)
SELECT status FROM table_20898602_1 WHERE pick__number = 32
Who was the opposing team in the 3rd round?
CREATE TABLE table_name_69 (opposition VARCHAR, round VARCHAR)
SELECT opposition FROM table_name_69 WHERE round = "3rd"
How many people attended the game with a final score of 75-90?
CREATE TABLE table_name_29 (attendance VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_29 WHERE score = "75-90"
What Nationality is the Colorado State team?
CREATE TABLE table_name_16 (nationality VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_name_16 WHERE school_club_team = "colorado"
Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?
CREATE TABLE table_name_67 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR)
SELECT crystal_structure FROM table_name_67 WHERE no_of_cu_o_planes_in_unit_cell = 3 AND t_c__k_ = 110
What shows for 2013 when the 2008 is 1r?
CREATE TABLE table_name_77 (Id VARCHAR)
SELECT 2013 FROM table_name_77 WHERE 2008 = "1r"
When the Ground was Optus Oval, what is the Home team score?
CREATE TABLE table_name_28 (home_team VARCHAR, ground VARCHAR)
SELECT home_team AS score FROM table_name_28 WHERE ground = "optus oval"
What School/Club Team has a Player named Juan Dixon and a Position of guard?
CREATE TABLE table_name_58 (school_club_team VARCHAR, position VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_58 WHERE position = "guard" AND player = "juan dixon"
How many losses were there with 208 points?
CREATE TABLE table_name_26 (lost VARCHAR, points_for VARCHAR)
SELECT lost FROM table_name_26 WHERE points_for = "208"
ERP W that has a Class of d, and a Call sign of k299ar is what total number?
CREATE TABLE table_name_84 (erp_w VARCHAR, class VARCHAR, call_sign VARCHAR)
SELECT COUNT(erp_w) FROM table_name_84 WHERE class = "d" AND call_sign = "k299ar"
How many points did Carlin have when they had 3 wins?
CREATE TABLE table_name_90 (points VARCHAR, wins VARCHAR, team VARCHAR)
SELECT points FROM table_name_90 WHERE wins = "3" AND team = "carlin"
What is Position in Table, when Team is "Morelia"?
CREATE TABLE table_name_64 (position_in_table VARCHAR, team VARCHAR)
SELECT position_in_table FROM table_name_64 WHERE team = "morelia"
What is the name of department where has the smallest number of professors?
CREATE TABLE professor (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)
SELECT T2.dept_name FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) LIMIT 1
how many afghan in banglash is hungarian
CREATE TABLE table_24807774_1 (afghan VARCHAR, bangladeshi VARCHAR)
SELECT afghan FROM table_24807774_1 WHERE bangladeshi = "Hungarian"
What game allow the 1980s to be exportable?
CREATE TABLE table_14160327_4 (exportable VARCHAR, decade VARCHAR)
SELECT exportable FROM table_14160327_4 WHERE decade = "1980s"
Name the mens singles when womens singles is wang lin and mixed doubles is joachim fischer nielsen christinna pedersen
CREATE TABLE table_14496232_2 (mens_singles VARCHAR, womens_singles VARCHAR, mixed_doubles VARCHAR)
SELECT mens_singles FROM table_14496232_2 WHERE womens_singles = "Wang Lin" AND mixed_doubles = "Joachim Fischer Nielsen Christinna Pedersen"
What Call sign has a City of license of higgston, ga?
CREATE TABLE table_name_95 (call_sign VARCHAR, city_of_license VARCHAR)
SELECT call_sign FROM table_name_95 WHERE city_of_license = "higgston, ga"
What season has 6 races and the team is Australia?
CREATE TABLE table_name_90 (season VARCHAR, races VARCHAR, team VARCHAR)
SELECT season FROM table_name_90 WHERE races = 6 AND team = "australia"
Name the nation when bronze is less than 4 and the total is more than 4
CREATE TABLE table_name_46 (nation VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_46 WHERE total > 4 AND bronze < 4
How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?
CREATE TABLE table_name_3 (cores VARCHAR, part_number_s_ VARCHAR, release_date VARCHAR, release_price___usd__ VARCHAR)
SELECT cores FROM table_name_3 WHERE release_date = "april 2012" AND release_price___usd__ = "$393" AND part_number_s_ = "av8063801117503"
what is the sum of the losses when the goals against is less than 34 and the games played is less than 8?
CREATE TABLE table_name_80 (losses INTEGER, goals_against VARCHAR, games_played VARCHAR)
SELECT SUM(losses) FROM table_name_80 WHERE goals_against < 34 AND games_played < 8
Who is the 2nd round opponent when Team 2 is Red Star (D1)?
CREATE TABLE table_name_91 (team_2 VARCHAR)
SELECT 2 AS nd_round FROM table_name_91 WHERE team_2 = "red star (d1)"
Find the dates of assessment notes for students with first name "Fanny".
CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR); CREATE TABLE Assessment_Notes (date_of_notes VARCHAR, student_id VARCHAR)
SELECT T1.date_of_notes FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.first_name = "Fanny"
What is the date of the away venue with an opponent of wightlink raiders with an attendance larger than 375?
CREATE TABLE table_name_8 (date INTEGER, attendance VARCHAR, venue VARCHAR, opponent VARCHAR)
SELECT SUM(date) FROM table_name_8 WHERE venue = "away" AND opponent = "wightlink raiders" AND attendance > 375
How many times did the team achieve an overrall record of mu, 21-19?
CREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR)
SELECT COUNT(last_5_meetings) FROM table_16201038_4 WHERE overall_record = "MU, 21-19"
How many manhunt beauty contets have been held in france?
CREATE TABLE table_30018460_1 (manhunt_international VARCHAR, country_territory VARCHAR)
SELECT manhunt_international FROM table_30018460_1 WHERE country_territory = "France"
What was the date for Ron Paul as republican and a sample sized less than 472?
CREATE TABLE table_name_20 (date VARCHAR, sample_size VARCHAR, republican VARCHAR)
SELECT date FROM table_name_20 WHERE sample_size < 472 AND republican = "ron paul"
If the scoring average is 72.46, what is the best finish?
CREATE TABLE table_22838521_3 (best_finish VARCHAR, scoring_average VARCHAR)
SELECT best_finish FROM table_22838521_3 WHERE scoring_average = "72.46"
What Nationality has a Position of right wing, with a #20 pick?
CREATE TABLE table_name_79 (nationality VARCHAR, position VARCHAR, pick__number VARCHAR)
SELECT nationality FROM table_name_79 WHERE position = "right wing" AND pick__number = "20"
Which type has a color of Dark Blue?
CREATE TABLE table_name_91 (type VARCHAR, colour VARCHAR)
SELECT type FROM table_name_91 WHERE colour = "dark blue"
What was the score for the golfer from the country of fiji?
CREATE TABLE table_name_88 (score VARCHAR, country VARCHAR)
SELECT COUNT(score) FROM table_name_88 WHERE country = "fiji"
Who was the road team on May 2?
CREATE TABLE table_name_3 (road_team VARCHAR, date VARCHAR)
SELECT road_team FROM table_name_3 WHERE date = "may 2"
What is the sum of the positions for the player who had less than 25 losses, a goal difference of +20, 10 draws, and played less than 42?
CREATE TABLE table_name_36 (position INTEGER, played VARCHAR, goal_difference VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT SUM(position) FROM table_name_36 WHERE drawn = 10 AND lost < 25 AND goal_difference = "+20" AND played < 42
List top 10 employee work longest in the company. List employee's first and last name.
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR)
SELECT first_name, last_name FROM employees ORDER BY hire_date LIMIT 10
What number is the player that played 1998-2001
CREATE TABLE table_10015132_21 (no INTEGER, years_in_toronto VARCHAR)
SELECT MIN(no) FROM table_10015132_21 WHERE years_in_toronto = "1998-2001"
What was the score for the away team at Collingwood?
CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_75 WHERE away_team = "collingwood"
Who was the runner up for the Nagapattinam constituency?
CREATE TABLE table_22756549_1 (runner_up_a VARCHAR, constituency VARCHAR)
SELECT runner_up_a FROM table_22756549_1 WHERE constituency = "Nagapattinam"
What is the average number of points for an Offenhauser L4 engine with a Trevis chassis?
CREATE TABLE table_name_93 (points INTEGER, engine VARCHAR, chassis VARCHAR)
SELECT AVG(points) FROM table_name_93 WHERE engine = "offenhauser l4" AND chassis = "trevis"
What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?
CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT COUNT(attendance) FROM table_name_2 WHERE opponent = "middlesbrough" AND result = "3-1"
What is the result of proteus mirabilis tested with indole?
CREATE TABLE table_16083989_1 (indole VARCHAR, species VARCHAR)
SELECT indole FROM table_16083989_1 WHERE species = "Proteus mirabilis"
How many points when John Vopni won a season before 1977?
CREATE TABLE table_name_58 (points VARCHAR, season VARCHAR, winner VARCHAR)
SELECT points FROM table_name_58 WHERE season < 1977 AND winner = "john vopni"
Which Title has Others of amstrad cpc, and a Genre of arcade?
CREATE TABLE table_name_22 (title VARCHAR, others VARCHAR, genre VARCHAR)
SELECT title FROM table_name_22 WHERE others = "amstrad cpc" AND genre = "arcade"
Who wrote the episode with e4515 as the production code?
CREATE TABLE table_25750635_2 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_25750635_2 WHERE production_code = "E4515"
Result of l 10-23 occurred in what week?
CREATE TABLE table_name_43 (week VARCHAR, result VARCHAR)
SELECT week FROM table_name_43 WHERE result = "l 10-23"
Name the L2 Cache which has a Clock Speed of 1.5 ghz?
CREATE TABLE table_name_10 (l2_cache VARCHAR, clock_speed VARCHAR)
SELECT l2_cache FROM table_name_10 WHERE clock_speed = "1.5 ghz"
Which Result has a District of pennsylvania 13?
CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR)
SELECT result FROM table_name_5 WHERE district = "pennsylvania 13"
What is the capacity of 3500v volts?
CREATE TABLE table_name_4 (capacity VARCHAR, volts VARCHAR)
SELECT capacity FROM table_name_4 WHERE volts = "3500v"
What season number did production code 2wab12?
CREATE TABLE table_20726262_3 (no_in_season VARCHAR, production_code VARCHAR)
SELECT no_in_season FROM table_20726262_3 WHERE production_code = "2WAB12"
Which team won on the day when attendance was 42,308?
CREATE TABLE table_name_27 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_27 WHERE attendance = "42,308"
Which company has a market value of 147.4?
CREATE TABLE table_1682026_2 (company VARCHAR, market_value__billion_$_ VARCHAR)
SELECT company FROM table_1682026_2 WHERE market_value__billion_$_ = "147.4"
What is the engine for the bmw motorsport entrant with 123 points before 2004?
CREATE TABLE table_name_57 (engine VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR)
SELECT engine FROM table_name_57 WHERE year < 2004 AND entrant = "bmw motorsport" AND points = 123
What is Shahar Pe'er's record?
CREATE TABLE table_name_57 (record VARCHAR, player VARCHAR)
SELECT record FROM table_name_57 WHERE player = "shahar pe'er"
What character does Italian voice actor Emanuela Damasio play?
CREATE TABLE table_name_48 (character VARCHAR, italian_voice_actor VARCHAR)
SELECT character FROM table_name_48 WHERE italian_voice_actor = "emanuela damasio"
Where was the starting position when there were 182 laps?
CREATE TABLE table_name_84 (start VARCHAR, laps VARCHAR)
SELECT start FROM table_name_84 WHERE laps = 182
What was the title of the episode viewed by 5.03 million viewers?
CREATE TABLE table_27987623_1 (title VARCHAR, us_viewers__in_million_ VARCHAR)
SELECT title FROM table_27987623_1 WHERE us_viewers__in_million_ = "5.03"
Daily Empress Indy Silverstone took place on which round?
CREATE TABLE table_22673956_1 (rnd INTEGER, race_name VARCHAR)
SELECT MAX(rnd) FROM table_22673956_1 WHERE race_name = "Daily Empress Indy Silverstone"
Who is the entrant with a cooper t43 chassis before 1958?
CREATE TABLE table_name_47 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_47 WHERE year < 1958 AND chassis = "cooper t43"
What is the highest pick for a year after 2010 and a round larger than 1?
CREATE TABLE table_name_41 (pick INTEGER, year VARCHAR, round VARCHAR)
SELECT MAX(pick) FROM table_name_41 WHERE year > 2010 AND round > 1
Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled?
CREATE TABLE table_name_61 (area VARCHAR, roll VARCHAR, gender VARCHAR, authority VARCHAR, decile VARCHAR)
SELECT area FROM table_name_61 WHERE authority = "state" AND decile > 6 AND gender = "coed" AND roll = 26
What was the attendance during the november 16, 1975 game?
CREATE TABLE table_name_18 (attendance INTEGER, date VARCHAR)
SELECT MAX(attendance) FROM table_name_18 WHERE date = "november 16, 1975"
When 3 is the rank what is the time for Saturday August 29th?
CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rank VARCHAR)
SELECT sat_29_aug FROM table_23465864_3 WHERE rank = 3
When is Part 1, when Part 4 is on February 10, 2008?
CREATE TABLE table_name_88 (part_1 VARCHAR, part_4 VARCHAR)
SELECT part_1 FROM table_name_88 WHERE part_4 = "february 10, 2008"
What's the highest amount of losses of Camperdown when the against was less than 945?
CREATE TABLE table_name_81 (losses INTEGER, club VARCHAR, against VARCHAR)
SELECT MAX(losses) FROM table_name_81 WHERE club = "camperdown" AND against < 945
College of idaho, and an Overall smaller than 141 is what average round?
CREATE TABLE table_name_60 (round INTEGER, college VARCHAR, overall VARCHAR)
SELECT AVG(round) FROM table_name_60 WHERE college = "idaho" AND overall < 141
Who was the director when the writer(s) was John W. Bloch?
CREATE TABLE table_21146729_6 (director VARCHAR, writer_s_ VARCHAR)
SELECT director FROM table_21146729_6 WHERE writer_s_ = "John W. Bloch"
What is the league of player ian schultz?
CREATE TABLE table_name_7 (league VARCHAR, player VARCHAR)
SELECT league FROM table_name_7 WHERE player = "ian schultz"
How many rebounds have a Player of herb estes?
CREATE TABLE table_name_51 (total_rebounds VARCHAR, player VARCHAR)
SELECT COUNT(total_rebounds) FROM table_name_51 WHERE player = "herb estes"
What competition did Parramatta Eels join after 1982?
CREATE TABLE table_name_54 (competition VARCHAR, year VARCHAR, opponent VARCHAR)
SELECT competition FROM table_name_54 WHERE year > 1982 AND opponent = "parramatta eels"
Name the number of date for dallas
CREATE TABLE table_22893781_6 (date VARCHAR, team VARCHAR)
SELECT COUNT(date) FROM table_22893781_6 WHERE team = "Dallas"
What score is the team of charlotte?
CREATE TABLE table_name_48 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_48 WHERE team = "charlotte"
How many wins have a Top-25 of 1, Less than 2 cuts, and fewer than 5 events?
CREATE TABLE table_name_97 (wins VARCHAR, events VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)
SELECT COUNT(wins) FROM table_name_97 WHERE top_25 = 1 AND cuts_made < 2 AND events < 5
What is smallest Khmer valued less than 90 have a kau sip ALA-LC?
CREATE TABLE table_name_9 (khmer INTEGER, ala_lc VARCHAR, value VARCHAR)
SELECT MIN(khmer) FROM table_name_9 WHERE ala_lc = "kau sip" AND value < 90
What kind of No Result has a % Win of 100.00% and a Played larger than 4 in 2012?
CREATE TABLE table_name_50 (no_result INTEGER, year VARCHAR, _percentage_win VARCHAR, played VARCHAR)
SELECT MIN(no_result) FROM table_name_50 WHERE _percentage_win = "100.00%" AND played > 4 AND year = "2012"
Who was the leader in Steals when Travis Watson (9) was the leader in Rebounds?
CREATE TABLE table_name_87 (steals VARCHAR, rebounds VARCHAR)
SELECT steals FROM table_name_87 WHERE rebounds = "travis watson (9)"
When did Episode 29 (7) originally air?
CREATE TABLE table_name_65 (original_airdate VARCHAR, episode__number VARCHAR)
SELECT original_airdate FROM table_name_65 WHERE episode__number = "29 (7)"
Who was the Home team in Tie #23?
CREATE TABLE table_name_80 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_80 WHERE tie_no = 23
What is the 1st leg of bp. honvéd team #2?
CREATE TABLE table_name_62 (team__number2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_62 WHERE team__number2 = "bp. honvéd"
Which Year is the lowest one that has Wins smaller than 0?
CREATE TABLE table_name_47 (year INTEGER, wins INTEGER)
SELECT MIN(year) FROM table_name_47 WHERE wins < 0
What Score has a Record of 35-28-6?
CREATE TABLE table_name_65 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_65 WHERE record = "35-28-6"
What is every equivalent for the example of asy28?
CREATE TABLE table_30011_2 (equivalent VARCHAR, example VARCHAR)
SELECT equivalent FROM table_30011_2 WHERE example = "ASY28"
What was the result of the game played on 17 July 2008?
CREATE TABLE table_name_42 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_42 WHERE date = "17 july 2008"
What are the results of those matches where the championship is French Open?
CREATE TABLE table_29163303_2 (score VARCHAR, championship VARCHAR)
SELECT score FROM table_29163303_2 WHERE championship = "French Open"
what tornament had the scores 6–7, 6–2, 6–4?
CREATE TABLE table_name_22 (tournament VARCHAR, score_in_the_final VARCHAR)
SELECT tournament FROM table_name_22 WHERE score_in_the_final = "6–7, 6–2, 6–4"
Who was the home team that has a tie no of 1?
CREATE TABLE table_name_29 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_29 WHERE tie_no = "1"
What is the number of titles written by Charleen Easton?
CREATE TABLE table_2623498_5 (title VARCHAR, written_by VARCHAR)
SELECT COUNT(title) FROM table_2623498_5 WHERE written_by = "Charleen Easton"
What year was The Walking Dead?
CREATE TABLE table_name_95 (year VARCHAR, game VARCHAR)
SELECT COUNT(year) FROM table_name_95 WHERE game = "the walking dead"
Which Method has a Round of 1, and a Record of 4–2?
CREATE TABLE table_name_37 (method VARCHAR, round VARCHAR, record VARCHAR)
SELECT method FROM table_name_37 WHERE round = 1 AND record = "4–2"
Who was the away team when the Tie no was 34?
CREATE TABLE table_name_29 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_29 WHERE tie_no = "34"
Which class has a Team of kouros racing team?
CREATE TABLE table_name_34 (class VARCHAR, team VARCHAR)
SELECT class FROM table_name_34 WHERE team = "kouros racing team"
What are the earnings for jim colbert with under 4 wins?
CREATE TABLE table_name_33 (earnings___ VARCHAR, player VARCHAR, wins VARCHAR)
SELECT COUNT(earnings___) AS $__ FROM table_name_33 WHERE player = "jim colbert" AND wins < 4
What is the highest episode number written by Harry Winkler?
CREATE TABLE table_2342078_4 (episode__number INTEGER, written_by VARCHAR)
SELECT MAX(episode__number) FROM table_2342078_4 WHERE written_by = "Harry Winkler"
Can you tell me the Name that has the DCSF number of 2117?
CREATE TABLE table_name_11 (name VARCHAR, dcsf_number VARCHAR)
SELECT name FROM table_name_11 WHERE dcsf_number = 2117
Name the year for points less than 20 and chassis of dallara 3087
CREATE TABLE table_name_62 (year VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT year FROM table_name_62 WHERE points < 20 AND chassis = "dallara 3087"
At what location was the March 17 race held?
CREATE TABLE table_29285076_2 (location VARCHAR, date VARCHAR)
SELECT location FROM table_29285076_2 WHERE date = "March 17"
Name the least lost with points more than 6 and games less than 5
CREATE TABLE table_name_4 (lost INTEGER, points VARCHAR, games VARCHAR)
SELECT MIN(lost) FROM table_name_4 WHERE points > 6 AND games < 5
What was the production code of the episode written by Brendan Cowell?
CREATE TABLE table_25390694_2 (production_code VARCHAR, writer VARCHAR)
SELECT production_code FROM table_25390694_2 WHERE writer = "Brendan Cowell"
Which title did richard kolner play?
CREATE TABLE table_name_33 (title VARCHAR, role VARCHAR)
SELECT title FROM table_name_33 WHERE role = "richard kolner"