question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Play-by-play of sean grande, and a Flagship Station of wrko, and a Year of 2005-06 had what studio host?
CREATE TABLE table_name_1 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR)
SELECT studio_host FROM table_name_1 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" AND year = "2005-06"
what is the surface when the championship is rome and the opponent is sergi bruguera?
CREATE TABLE table_name_23 (surface VARCHAR, championship VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_23 WHERE championship = "rome" AND opponent = "sergi bruguera"
On 10 November 2007, what was the venue?
CREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_60 WHERE date = "10 november 2007"
What was the away team when the score was 3:1?
CREATE TABLE table_name_93 (away VARCHAR, score VARCHAR)
SELECT away FROM table_name_93 WHERE score = "3:1"
Show the names of members and the location of the performances they attended.
CREATE TABLE performance (Location VARCHAR, Performance_ID VARCHAR); CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VARCHAR)
SELECT T2.Name, T3.Location FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID
What is the lowest Muslim (% of Total population) of a year after 2011?
CREATE TABLE table_name_37 (muslim___percentage_of_total_population_ INTEGER, census_year INTEGER)
SELECT MIN(muslim___percentage_of_total_population_) FROM table_name_37 WHERE census_year > 2011
When was incumbent Leo E. Allen first elected?
CREATE TABLE table_1342315_12 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_1342315_12 WHERE incumbent = "Leo E. Allen"
Which film was translated from portuguese?
CREATE TABLE table_name_44 (original_name VARCHAR, language VARCHAR)
SELECT original_name FROM table_name_44 WHERE language = "portuguese"
Bhiwani district have what constituency number?
CREATE TABLE table_name_37 (constituency_number VARCHAR, district VARCHAR)
SELECT constituency_number FROM table_name_37 WHERE district = "bhiwani"
If the just cents is 84.46, what is the just ratio?
CREATE TABLE table_18955077_1 (just_ratio VARCHAR, just__cents_ VARCHAR)
SELECT just_ratio FROM table_18955077_1 WHERE just__cents_ = "84.46"
What was the score of Johnny Miller (7)?
CREATE TABLE table_name_80 (score VARCHAR, winner VARCHAR)
SELECT score FROM table_name_80 WHERE winner = "johnny miller (7)"
Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event?
CREATE TABLE table_name_86 (method VARCHAR, event VARCHAR, round VARCHAR, res VARCHAR)
SELECT method FROM table_name_86 WHERE round = "3" AND res = "loss" AND event = "juiz de fora - fight 1"
Which Visitor has a Home of bulls?
CREATE TABLE table_name_64 (visitor VARCHAR, home VARCHAR)
SELECT visitor FROM table_name_64 WHERE home = "bulls"
What is the Torque of the Model 320td (diesel)?
CREATE TABLE table_name_27 (torque VARCHAR, model VARCHAR)
SELECT torque FROM table_name_27 WHERE model = "320td (diesel)"
Name the total number of votes for 3rd voted out day 9
CREATE TABLE table_24233848_2 (vote VARCHAR, finish VARCHAR)
SELECT COUNT(vote) FROM table_24233848_2 WHERE finish = "3rd voted Out Day 9"
What is the number of wounded figures associated with a complement of 22 off 637 men?
CREATE TABLE table_2596811_12 (wounded VARCHAR, complement VARCHAR)
SELECT COUNT(wounded) FROM table_2596811_12 WHERE complement = "22 off 637 men"
Which Percentage has a Draw of 6?
CREATE TABLE table_name_9 (percentage VARCHAR, draw VARCHAR)
SELECT percentage FROM table_name_9 WHERE draw = 6
What rank had less than 200 laps with a finish of 26?
CREATE TABLE table_name_84 (rank VARCHAR, laps VARCHAR, finish VARCHAR)
SELECT rank FROM table_name_84 WHERE laps < 200 AND finish = "26"
Who is the writer with the ratings 14.8?
CREATE TABLE table_26591434_1 (writer VARCHAR, ratings__kanto_ VARCHAR)
SELECT writer FROM table_26591434_1 WHERE ratings__kanto_ = "14.8"
What is Pick, when Round is greater than 1, and when School/Club Team is South Carolina?
CREATE TABLE table_name_95 (pick VARCHAR, round VARCHAR, school_club_team VARCHAR)
SELECT pick FROM table_name_95 WHERE round > 1 AND school_club_team = "south carolina"
What is the 2012 that has tournament played as the tournament?
CREATE TABLE table_name_4 (tournament VARCHAR)
SELECT 2012 FROM table_name_4 WHERE tournament = "tournament played"
What is the final score when they played Frankfurt Galaxy?
CREATE TABLE table_24882796_2 (final_score VARCHAR, opponent VARCHAR)
SELECT final_score FROM table_24882796_2 WHERE opponent = "Frankfurt Galaxy"
Which game did New Jersey Devils played in?
CREATE TABLE table_name_54 (game VARCHAR, opponent VARCHAR)
SELECT game FROM table_name_54 WHERE opponent = "new jersey devils"
Does Venezuela admit only boys, only girls, or both?
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, country VARCHAR)
SELECT admits_boys_girls FROM table_104858_1 WHERE country = "Venezuela"
What Player had a Score of 70-71=141?
CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_80 WHERE score = 70 - 71 = 141
What is the round of player brad winton with a draft before 1983 and a pick less than 132?
CREATE TABLE table_name_48 (round VARCHAR, player VARCHAR, draft VARCHAR, pick VARCHAR)
SELECT round FROM table_name_48 WHERE draft < 1983 AND pick < 132 AND player = "brad winton"
What round pick was pick number 101 who plays defensive back?
CREATE TABLE table_name_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR)
SELECT round FROM table_name_92 WHERE position = "defensive back" AND pick__number = "101"
how many total with county being rooks county, kansas
CREATE TABLE table_13606924_1 (total VARCHAR, county VARCHAR)
SELECT COUNT(total) FROM table_13606924_1 WHERE county = "Rooks county, Kansas"
How many values of attendance occur when ave. on previous season is +645?
CREATE TABLE table_2970978_1 (ave_attendance VARCHAR, ___ave_on_prev_season VARCHAR)
SELECT COUNT(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "+645"
Name the most late 1943 with late 194 in slovenia
CREATE TABLE table_1115992_1 (late_1943 INTEGER, _late_1941 VARCHAR)
SELECT MAX(late_1943) FROM table_1115992_1 WHERE NOT _late_1941 = "Slovenia"
Which gender has a Name of rangitoto school?
CREATE TABLE table_name_6 (gender VARCHAR, name VARCHAR)
SELECT gender FROM table_name_6 WHERE name = "rangitoto school"
What is Date, when Away Team is "Minehead"?
CREATE TABLE table_name_13 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_13 WHERE away_team = "minehead"
What is the score when the set 3 is 26–28?
CREATE TABLE table_name_5 (score VARCHAR, set_3 VARCHAR)
SELECT score FROM table_name_5 WHERE set_3 = "26–28"
For the area which was 9.1 in October 2010, what is the figure for October 2012?
CREATE TABLE table_21531764_1 (october_2012 VARCHAR, october_2010 VARCHAR)
SELECT october_2012 FROM table_21531764_1 WHERE october_2010 = "9.1"
What kind of hand guards are associated with a rear sight of A1 and stock of A2?
CREATE TABLE table_12834315_8 (hand_guards VARCHAR, rear_sight VARCHAR, stock VARCHAR)
SELECT hand_guards FROM table_12834315_8 WHERE rear_sight = "A1" AND stock = "A2"
Which nation has a rank of 7?
CREATE TABLE table_name_52 (nation VARCHAR, rank VARCHAR)
SELECT nation FROM table_name_52 WHERE rank = "7"
Who had the fastest lap at the German Grand Prix?
CREATE TABLE table_name_87 (fastest_lap VARCHAR, race VARCHAR)
SELECT fastest_lap FROM table_name_87 WHERE race = "german grand prix"
What is the lowest week that has Minnesota Vikings as the opponent?
CREATE TABLE table_name_75 (week INTEGER, opponent VARCHAR)
SELECT MIN(week) FROM table_name_75 WHERE opponent = "minnesota vikings"
What place has Wales as a country?
CREATE TABLE table_name_16 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_16 WHERE country = "wales"
What was the date of the game when the record was 46-31?
CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_9 WHERE record = "46-31"
What is the Total of the Player with a Year(s) won of 1982?
CREATE TABLE table_name_77 (total INTEGER, year_s__won VARCHAR)
SELECT MIN(total) FROM table_name_77 WHERE year_s__won = "1982"
What party was re-elected as an incumbent of robert p. Kennedy?
CREATE TABLE table_name_69 (party VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT party FROM table_name_69 WHERE result = "re-elected" AND incumbent = "robert p. kennedy"
What are the details of all sales and purchases?
CREATE TABLE purchases (sales_details VARCHAR, purchase_details VARCHAR); CREATE TABLE sales (sales_details VARCHAR, purchase_details VARCHAR)
SELECT sales_details FROM sales UNION SELECT purchase_details FROM purchases
Can you tell me the average Conference Finals that has Finals smaller than 5?
CREATE TABLE table_name_32 (conference_finals INTEGER, finals INTEGER)
SELECT AVG(conference_finals) FROM table_name_32 WHERE finals < 5
What is the 2011 when the Tournament was the grand slam tournaments?
CREATE TABLE table_name_63 (tournament VARCHAR)
SELECT 2011 FROM table_name_63 WHERE tournament = "grand slam tournaments"
What was the highest attendance when the Atlanta Falcons played for a week smaller than 10?
CREATE TABLE table_name_19 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
SELECT MAX(attendance) FROM table_name_19 WHERE opponent = "atlanta falcons" AND week < 10
how many times what the position 6th, the competition was super league xvii and played was larger than 27?
CREATE TABLE table_name_22 (drawn VARCHAR, played VARCHAR, position VARCHAR, competition VARCHAR)
SELECT COUNT(drawn) FROM table_name_22 WHERE position = "6th" AND competition = "super league xvii" AND played > 27
In what Games did Patrick Etolu compete?
CREATE TABLE table_name_60 (games VARCHAR, name VARCHAR)
SELECT games FROM table_name_60 WHERE name = "patrick etolu"
On what grounds did the away team of the Toronto Rebels play?
CREATE TABLE table_name_5 (ground VARCHAR, away VARCHAR)
SELECT ground FROM table_name_5 WHERE away = "toronto rebels"
Name the title for us viewers being 18.29
CREATE TABLE table_19501664_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_19501664_1 WHERE us_viewers__millions_ = "18.29"
How many episodes in the season had production code of 175255?
CREATE TABLE table_27755040_1 (no_in_season VARCHAR, production_code VARCHAR)
SELECT COUNT(no_in_season) FROM table_27755040_1 WHERE production_code = 175255
What country does Gary Koch play for?
CREATE TABLE table_name_15 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_15 WHERE player = "gary koch"
Which Music has a Score of 30 (10, 10, 10), and a Style of cha-cha-cha?
CREATE TABLE table_name_22 (music VARCHAR, score VARCHAR, style VARCHAR)
SELECT music FROM table_name_22 WHERE score = "30 (10, 10, 10)" AND style = "cha-cha-cha"
If the longitude is 158.091° e, what is the depth?
CREATE TABLE table_25675509_1 (depth VARCHAR, longitude VARCHAR)
SELECT depth FROM table_25675509_1 WHERE longitude = "158.091° E"
What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
CREATE TABLE department (creation VARCHAR, department_id VARCHAR); CREATE TABLE management (department_id VARCHAR, head_id VARCHAR); CREATE TABLE head (head_id VARCHAR, born_state VARCHAR)
SELECT DISTINCT T1.creation FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id JOIN head AS T3 ON T2.head_id = T3.head_id WHERE T3.born_state = 'Alabama'
What Round has the Track Winton?
CREATE TABLE table_name_30 (round VARCHAR, track VARCHAR)
SELECT round FROM table_name_30 WHERE track = "winton"
What is the highest amount of money a player with a score of 69-71-71-73=284 has?
CREATE TABLE table_name_76 (money___ INTEGER, score VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_76 WHERE score = 69 - 71 - 71 - 73 = 284
Name the premiere for 8 episodes
CREATE TABLE table_22951646_1 (premiere VARCHAR, number_of_episodes VARCHAR)
SELECT premiere FROM table_22951646_1 WHERE number_of_episodes = 8
What was the average attendance when the opponent was at Philadelphia Eagles and the week was later than week 6?
CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_34 WHERE week > 6 AND opponent = "at philadelphia eagles"
what is the nation when the gold is 1 and bronze is larger than 0?
CREATE TABLE table_name_77 (nation VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_77 WHERE gold = 1 AND bronze > 0
what was written by alex carter?
CREATE TABLE table_26561498_1 (written_by VARCHAR, patient_portrayer VARCHAR)
SELECT written_by FROM table_26561498_1 WHERE patient_portrayer = "Alex Carter"
What is the club from Vila Do Conde?
CREATE TABLE table_name_61 (club VARCHAR, city VARCHAR)
SELECT club FROM table_name_61 WHERE city = "vila do conde"
What is the Date of attack of the ship with iron ore sunk by u-101 *?
CREATE TABLE table_name_39 (date_of_attack VARCHAR, fate VARCHAR, cargo VARCHAR)
SELECT date_of_attack FROM table_name_39 WHERE fate = "sunk by u-101 *" AND cargo = "iron ore"
Who is no.3 when Claudio Sylvie is no.1?
CREATE TABLE table_name_62 (no3 VARCHAR, no1 VARCHAR)
SELECT no3 FROM table_name_62 WHERE no1 = "claudio sylvie"
What was Dick Rathmann's Finish the year he Qualed at 130.928?
CREATE TABLE table_name_35 (finish VARCHAR, qual VARCHAR)
SELECT finish FROM table_name_35 WHERE qual = "130.928"
Name the artist of 2 draw
CREATE TABLE table_14977252_2 (artist VARCHAR, draw VARCHAR)
SELECT artist FROM table_14977252_2 WHERE draw = 2
What current club does the player born in 1984 play for?
CREATE TABLE table_12962773_12 (current_club VARCHAR, year_born VARCHAR)
SELECT current_club FROM table_12962773_12 WHERE year_born = 1984
When vince carter (24) has the highest points how many teams are there?
CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR)
SELECT COUNT(team) FROM table_23249053_11 WHERE high_points = "Vince Carter (24)"
What was the record of the game that went 3-5?
CREATE TABLE table_name_88 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_88 WHERE score = "3-5"
What week has a Record of 12-2?
CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR)
SELECT week FROM table_name_99 WHERE record = "12-2"
What country has a rank smaller than 6, a time of 6:32.32 and notes of FB?
CREATE TABLE table_name_45 (country VARCHAR, time VARCHAR, rank VARCHAR, notes VARCHAR)
SELECT country FROM table_name_45 WHERE rank < 6 AND notes = "fb" AND time = "6:32.32"
Moving from Nancy after 2005, what is listed as the lowest rank?
CREATE TABLE table_name_37 (rank INTEGER, year VARCHAR, moving_from VARCHAR)
SELECT MIN(rank) FROM table_name_37 WHERE year > 2005 AND moving_from = "nancy"
Which tv had the date december 7, 1986?
CREATE TABLE table_11449590_2 (tv VARCHAR, date VARCHAR)
SELECT tv FROM table_11449590_2 WHERE date = "December 7, 1986"
WHAT IS THE AVERAGE POLES WITH POINTS N/A?
CREATE TABLE table_name_71 (poles INTEGER, points VARCHAR)
SELECT AVG(poles) FROM table_name_71 WHERE points = "n/a"
Find the student ID and login name of the student with the most course enrollments
CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (login_name VARCHAR, student_id VARCHAR)
SELECT T1.student_id, T2.login_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1
What are the network(s) for tv1?
CREATE TABLE table_1601792_4 (network VARCHAR, television_station VARCHAR)
SELECT network FROM table_1601792_4 WHERE television_station = "TV1"
What is Country, when To Par is "–2", and when Player is "Tsuneyuki Nakajima"?
CREATE TABLE table_name_48 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_48 WHERE to_par = "–2" AND player = "tsuneyuki nakajima"
What is the total of wins where the top 25 is 6, top 10 is more than 2, and the event number is less than 19?
CREATE TABLE table_name_55 (wins INTEGER, events VARCHAR, top_25 VARCHAR, top_10 VARCHAR)
SELECT SUM(wins) FROM table_name_55 WHERE top_25 = 6 AND top_10 > 2 AND events < 19
What shooter has wc munich as the event, and 8 as the rank points?
CREATE TABLE table_name_43 (shooter VARCHAR, event VARCHAR, rank_points VARCHAR)
SELECT shooter FROM table_name_43 WHERE event = "wc munich" AND rank_points = "8"
What position was Parsons in for 1992?
CREATE TABLE table_2597876_1 (position VARCHAR, year VARCHAR)
SELECT position FROM table_2597876_1 WHERE year = 1992
How many Golds did the country with a Rank better than 5 and more Bronze than 1 receive?
CREATE TABLE table_name_76 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT SUM(gold) FROM table_name_76 WHERE rank < 5 AND bronze > 1
What's the HR number when the LMS number is 14758?
CREATE TABLE table_name_36 (hr_no VARCHAR, lms_no VARCHAR)
SELECT hr_no FROM table_name_36 WHERE lms_no = 14758
What is the oldest year with a main span feet of 1,640 in South Korea?
CREATE TABLE table_name_52 (year_opened INTEGER, main_span_feet VARCHAR, country VARCHAR)
SELECT MIN(year_opened) FROM table_name_52 WHERE main_span_feet = "1,640" AND country = "south korea"
WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279?
CREATE TABLE table_name_62 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_62 WHERE score = 76 - 69 - 64 - 70 = 279
What number episode in the season was watched by 0.49 million U.S. viewers?
CREATE TABLE table_26914076_4 (_number INTEGER, us_viewers__millions_ VARCHAR)
SELECT MAX(_number) FROM table_26914076_4 WHERE us_viewers__millions_ = "0.49"
Name the series for game 5
CREATE TABLE table_name_12 (series VARCHAR, game VARCHAR)
SELECT series FROM table_name_12 WHERE game = "game 5"
What is Record, when High Rebounds is "Marcus Camby (15)", and when High Assists is "Baron Davis (7)"?
CREATE TABLE table_name_86 (record VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR)
SELECT record FROM table_name_86 WHERE high_rebounds = "marcus camby (15)" AND high_assists = "baron davis (7)"
How many matches were played when there was 1 draw and 1 win?
CREATE TABLE table_name_92 (matches VARCHAR, draws VARCHAR, wins VARCHAR)
SELECT matches FROM table_name_92 WHERE draws = "1" AND wins = "1"
Round 3 with a round 4 of 50?
CREATE TABLE table_name_39 (round_3 VARCHAR, round_4 VARCHAR)
SELECT round_3 FROM table_name_39 WHERE round_4 = "50"
What is every value for % 40-59 if % 60-74 is 12,42%?
CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)
SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,42%"
What is the Judaism percentage associated with Buddhism at 0.01% and Other at 0.13%?
CREATE TABLE table_name_15 (judaism VARCHAR, other VARCHAR, buddhism VARCHAR)
SELECT judaism FROM table_name_15 WHERE other = "0.13%" AND buddhism = "0.01%"
which year was the original title გაღმა ნაპირი
CREATE TABLE table_18069789_1 (year_ VARCHAR, e_ VARCHAR, original_title VARCHAR)
SELECT year_[e_] AS __ceremony_ FROM table_18069789_1 WHERE original_title = "გაღმა ნაპირი"
What can you say is the word from of sam sep?
CREATE TABLE table_name_30 (word_form VARCHAR, other VARCHAR)
SELECT word_form FROM table_name_30 WHERE other = "sam sep"
What were the results against the game against Skoplje?
CREATE TABLE table_name_61 (results¹ VARCHAR, city VARCHAR)
SELECT results¹ FROM table_name_61 WHERE city = "skoplje"
What is the average Laps that shows spun off for time?
CREATE TABLE table_name_56 (laps INTEGER, time VARCHAR)
SELECT AVG(laps) FROM table_name_56 WHERE time = "spun off"
What is the Austin record of Kansas State?
CREATE TABLE table_name_21 (at_austin VARCHAR, texas_vs VARCHAR)
SELECT at_austin FROM table_name_21 WHERE texas_vs = "kansas state"
Where is the home venue of Bengaluru FC?
CREATE TABLE table_name_95 (home_venue VARCHAR, team VARCHAR)
SELECT home_venue FROM table_name_95 WHERE team = "bengaluru fc"
What is the score of the home game for the Cavaliers where Lebron James (46) was the lead scorer?
CREATE TABLE table_name_60 (score VARCHAR, home VARCHAR, leading_scorer VARCHAR)
SELECT score FROM table_name_60 WHERE home = "cavaliers" AND leading_scorer = "lebron james (46)"
Who was the opponent with a 32-25 record?
CREATE TABLE table_name_50 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_50 WHERE record = "32-25"
Which Total has a Name of eoin jess category:articles with hcards, and a Scottish Cup larger than 23?
CREATE TABLE table_name_47 (total INTEGER, name VARCHAR, scottish_cup VARCHAR)
SELECT MIN(total) FROM table_name_47 WHERE name = "eoin jess category:articles with hcards" AND scottish_cup > 23