question
stringlengths
17
201
answer
stringlengths
21
400
context
stringlengths
32
286
Who constructed the car with a grid over 19 that retired due to suspension?
SELECT constructor FROM table_name_49 WHERE grid > 19 AND time_retired = "suspension"
CREATE TABLE table_name_49 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
Name the population for 2011 for српска црња
SELECT population__2011_ FROM table_2562572_37 WHERE cyrillic_name_other_names = "Српска Црња"
CREATE TABLE table_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)
What is the hometown for tre madden?
SELECT hometown FROM table_name_68 WHERE player = "tre madden"
CREATE TABLE table_name_68 (hometown VARCHAR, player VARCHAR)
Which Attendance has a Result of w 24-14, and a Week smaller than 7?
SELECT SUM(attendance) FROM table_name_2 WHERE result = "w 24-14" AND week < 7
CREATE TABLE table_name_2 (attendance INTEGER, result VARCHAR, week VARCHAR)
Which class's call sign is wokg?
SELECT class FROM table_name_44 WHERE call_sign = "wokg"
CREATE TABLE table_name_44 (class VARCHAR, call_sign VARCHAR)
Name the owners for prairie public
SELECT COUNT(owner) FROM table_14623167_1 WHERE branding = "Prairie Public"
CREATE TABLE table_14623167_1 (owner VARCHAR, branding VARCHAR)
What round was the match at Westpac Stadium that had the Newcastle Jets as the away team?
SELECT round FROM table_name_24 WHERE venue = "westpac stadium" AND away = "newcastle jets"
CREATE TABLE table_name_24 (round VARCHAR, venue VARCHAR, away VARCHAR)
What is the name of the home team with a round of 2nd and Vitória da Conquista as the way team?
SELECT home_team FROM table_name_57 WHERE round = "2nd" AND away_team = "vitória da conquista"
CREATE TABLE table_name_57 (home_team VARCHAR, round VARCHAR, away_team VARCHAR)
What team visited the Jacksonville Municipal Stadium?
SELECT visiting_team FROM table_name_10 WHERE stadium = "jacksonville municipal stadium"
CREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR)
When divisional finals are the playoffs what is the regular season?
SELECT regular_season FROM table_1986692_1 WHERE playoffs = "divisional Finals"
CREATE TABLE table_1986692_1 (regular_season VARCHAR, playoffs VARCHAR)
For the game whose developer was Ailive, is it a Move-only release?
SELECT move_only FROM table_26538035_1 WHERE developer = "AiLive"
CREATE TABLE table_26538035_1 (move_only VARCHAR, developer VARCHAR)
What is Team, when Game is 77?
SELECT team FROM table_name_90 WHERE game = 77
CREATE TABLE table_name_90 (team VARCHAR, game VARCHAR)
Which Played has a Points difference of +261?
SELECT played FROM table_name_50 WHERE points_difference = "+261"
CREATE TABLE table_name_50 (played VARCHAR, points_difference VARCHAR)
What was the date of the record of 43-28?
SELECT date FROM table_name_69 WHERE record = "43-28"
CREATE TABLE table_name_69 (date VARCHAR, record VARCHAR)
WHich October has a Record of 1–0–0?
SELECT MIN(october) FROM table_name_50 WHERE record = "1–0–0"
CREATE TABLE table_name_50 (october INTEGER, record VARCHAR)
Which episode number visited India?
SELECT episode_no FROM table_name_56 WHERE countries_visited = "india"
CREATE TABLE table_name_56 (episode_no VARCHAR, countries_visited VARCHAR)
What year is the 2004 shake don't stir?
SELECT year FROM table_name_67 WHERE 2004 = "shake don't stir"
CREATE TABLE table_name_67 (year VARCHAR)
Name the largest ethnic group for kosančić
SELECT largest_ethnic_group__2002_ FROM table_2562572_20 WHERE settlement = "Kosančić"
CREATE TABLE table_2562572_20 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR)
Which team has a midfielder of konrad warzycha?
SELECT mls_team FROM table_29626583_3 WHERE position = "Midfielder" AND player = "Konrad Warzycha"
CREATE TABLE table_29626583_3 (mls_team VARCHAR, position VARCHAR, player VARCHAR)
What's the mascot in Anderson for the Independent previous conference?
SELECT mascot FROM table_name_74 WHERE previous_conference = "independent" AND location = "anderson"
CREATE TABLE table_name_74 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR)
On what date is Footscray the away team?
SELECT date FROM table_name_59 WHERE away_team = "footscray"
CREATE TABLE table_name_59 (date VARCHAR, away_team VARCHAR)
When did Motherwell win?
SELECT date FROM table_name_15 WHERE winners = "motherwell"
CREATE TABLE table_name_15 (date VARCHAR, winners VARCHAR)
Name the date for w 31-28
SELECT date FROM table_name_60 WHERE result = "w 31-28"
CREATE TABLE table_name_60 (date VARCHAR, result VARCHAR)
Who was the away captain at Waca Ground?
SELECT away_captain FROM table_name_60 WHERE venue = "waca ground"
CREATE TABLE table_name_60 (away_captain VARCHAR, venue VARCHAR)
What was the score for a match before 13, and a home game on April 21, 2008?
SELECT score FROM table_name_11 WHERE match < 13 AND home_away = "home" AND date = "april 21, 2008"
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR, match VARCHAR, home_away VARCHAR)
When the Ground was Optus Oval, what is the Home team score?
SELECT home_team AS score FROM table_name_28 WHERE ground = "optus oval"
CREATE TABLE table_name_28 (home_team VARCHAR, ground VARCHAR)
What is the home team score when st kilda is the away team?
SELECT home_team AS score FROM table_name_51 WHERE away_team = "st kilda"
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
What is the title of the episode directed by Charles Beeson?
SELECT title FROM table_24649082_1 WHERE directed_by = "Charles Beeson"
CREATE TABLE table_24649082_1 (title VARCHAR, directed_by VARCHAR)
Who was the winning team for circuit zolder?
SELECT winning_team FROM table_name_46 WHERE circuit = "circuit zolder"
CREATE TABLE table_name_46 (winning_team VARCHAR, circuit VARCHAR)
what is the winter olympics year when the fis nordic world ski championships is 1976?
SELECT winter_olympics FROM table_name_45 WHERE fis_nordic_world_ski_championships = "1976"
CREATE TABLE table_name_45 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR)
What was the nominated work, nominated for the drama league award before 2007?
SELECT nominated_work FROM table_name_29 WHERE result = "nominated" AND award = "drama league award" AND year < 2007
CREATE TABLE table_name_29 (nominated_work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR)
Name the scoreboard for total being 23.5
SELECT scoreboard FROM table_21234111_6 WHERE total = "23.5"
CREATE TABLE table_21234111_6 (scoreboard VARCHAR, total VARCHAR)
What was the highest game number when the opponent was the Miami Heat?
SELECT MAX(game) FROM table_name_5 WHERE opponent = "miami heat"
CREATE TABLE table_name_5 (game INTEGER, opponent VARCHAR)
What was the 2011 Wimbledon result?
SELECT 2011 FROM table_name_22 WHERE tournament = "wimbledon"
CREATE TABLE table_name_22 (tournament VARCHAR)
What percentage of wins has 48 losses?
SELECT win__percentage FROM table_name_4 WHERE losses = "48"
CREATE TABLE table_name_4 (win__percentage VARCHAR, losses VARCHAR)
Name the total with one hand clean and jerk is 87.5 and snatch is 87.5
SELECT total FROM table_16779068_5 WHERE one_hand_clean_ & _jerk = "87.5" AND snatch = "87.5"
CREATE TABLE table_16779068_5 (total VARCHAR, snatch VARCHAR, one_hand_clean_ VARCHAR, _jerk VARCHAR)
Who was the athlete in the 56kg event having a did not advance in the finals?
SELECT athlete FROM table_name_65 WHERE finals = "did not advance" AND event = "56kg"
CREATE TABLE table_name_65 (athlete VARCHAR, finals VARCHAR, event VARCHAR)
What is the lowest round that Adam Wiesel was picked?
SELECT MIN(round) FROM table_name_9 WHERE player = "adam wiesel"
CREATE TABLE table_name_9 (round INTEGER, player VARCHAR)
What is the lowest game number when the team is Houston?
SELECT MIN(game) FROM table_17326036_7 WHERE team = "Houston"
CREATE TABLE table_17326036_7 (game INTEGER, team VARCHAR)
Tell me the score on 1978-12-16
SELECT score FROM table_name_91 WHERE date = "1978-12-16"
CREATE TABLE table_name_91 (score VARCHAR, date VARCHAR)
What is the brand name associated with a model name e4xxx?
SELECT brand_name FROM table_24099628_1 WHERE model__list_ = "E4xxx"
CREATE TABLE table_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR)
Total points with 114 played and average of 0.982?
SELECT SUM(points) FROM table_name_57 WHERE played = 114 AND average = 0.982
CREATE TABLE table_name_57 (points INTEGER, played VARCHAR, average VARCHAR)
Name the poles for 25th position
SELECT poles FROM table_1708050_1 WHERE position = "25th"
CREATE TABLE table_1708050_1 (poles VARCHAR, position VARCHAR)
What visiting team played on October 18?
SELECT visiting_team FROM table_name_36 WHERE date = "october 18"
CREATE TABLE table_name_36 (visiting_team VARCHAR, date VARCHAR)
Find the id and first name of the student that has the most number of assessment notes?
SELECT T1.student_id, T2.first_name FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE Students (first_name VARCHAR, student_id VARCHAR); CREATE TABLE Assessment_Notes (student_id VARCHAR)
Show the names and genders of players with a coach starting after 2011.
SELECT T3.Player_name, T3.gender FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID WHERE T1.Starting_year > 2011
CREATE TABLE player (Player_name VARCHAR, gender VARCHAR, Player_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR, Starting_year INTEGER); CREATE TABLE coach (Coach_ID VARCHAR)
Show the names of conductors that have conducted more than one orchestras.
SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1
CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)
What is the Sub-Parish called that has a church located in Fresvik?
SELECT sub_parish__sokn_ FROM table_name_39 WHERE location_of_the_church = "fresvik"
CREATE TABLE table_name_39 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR)
Which role had thulasidas direction?
SELECT role FROM table_name_55 WHERE direction = "thulasidas"
CREATE TABLE table_name_55 (role VARCHAR, direction VARCHAR)
Name the team for june 20
SELECT team FROM table_2139390_2 WHERE date = "June 20"
CREATE TABLE table_2139390_2 (team VARCHAR, date VARCHAR)
What was the away score when the home team was Melbourne?
SELECT away_team AS score FROM table_name_84 WHERE home_team = "melbourne"
CREATE TABLE table_name_84 (away_team VARCHAR, home_team VARCHAR)
what is the result for 11 august 2010?
SELECT result FROM table_name_94 WHERE date = "11 august 2010"
CREATE TABLE table_name_94 (result VARCHAR, date VARCHAR)
Which sport had the club of the Montgomery Biscuits?
SELECT sport FROM table_name_22 WHERE club = "montgomery biscuits"
CREATE TABLE table_name_22 (sport VARCHAR, club VARCHAR)
How old was the conservative party member that left the house in 2001?
SELECT age_on_leaving FROM table_name_43 WHERE political_party = "conservative" AND left_house = "2001"
CREATE TABLE table_name_43 (age_on_leaving VARCHAR, political_party VARCHAR, left_house VARCHAR)
What comments are made in 1875?
SELECT comments FROM table_name_64 WHERE year_made = "1875"
CREATE TABLE table_name_64 (comments VARCHAR, year_made VARCHAR)
What is the Score with a Winning team that is san antonio spurs?
SELECT score FROM table_name_48 WHERE winning_team = "san antonio spurs"
CREATE TABLE table_name_48 (score VARCHAR, winning_team VARCHAR)
What is Lee Ka Man's Time?
SELECT time FROM table_name_95 WHERE rower = "lee ka man"
CREATE TABLE table_name_95 (time VARCHAR, rower VARCHAR)
find the highest support percentage, lowest consider rate and oppose rate of all candidates.
SELECT MAX(support_rate), MIN(consider_rate), MIN(oppose_rate) FROM candidate
CREATE TABLE candidate (support_rate INTEGER, consider_rate INTEGER, oppose_rate INTEGER)
What is the lowest Rank for a Guam Player?
SELECT MIN(rank) FROM table_name_77 WHERE country = "guam"
CREATE TABLE table_name_77 (rank INTEGER, country VARCHAR)
What is the position in table when the date of vacancy was 4 january 2011?
SELECT position_in_table FROM table_26914854_3 WHERE date_of_vacancy = "4 January 2011"
CREATE TABLE table_26914854_3 (position_in_table VARCHAR, date_of_vacancy VARCHAR)
What is the lowest minutes a goalkeeper with 13 games played has?
SELECT MIN(minutes) FROM table_name_25 WHERE games_played = 13
CREATE TABLE table_name_25 (minutes INTEGER, games_played VARCHAR)
what is the province when the rank is higher than 24 and the name is laforge-2?
SELECT province FROM table_name_42 WHERE rank > 24 AND name = "laforge-2"
CREATE TABLE table_name_42 (province VARCHAR, rank VARCHAR, name VARCHAR)
In the club of Real Oviedo, what were the points of the competitor with a goal difference less than 38, and 12 wins?
SELECT points FROM table_name_39 WHERE goal_difference < 38 AND wins = 12 AND club = "real oviedo"
CREATE TABLE table_name_39 (points VARCHAR, club VARCHAR, goal_difference VARCHAR, wins VARCHAR)
What is the record in the 2 round fight that ended by submission (injury)?
SELECT record FROM table_name_70 WHERE round = "2" AND method = "submission (injury)"
CREATE TABLE table_name_70 (record VARCHAR, round VARCHAR, method VARCHAR)
Who has a birth of 16 august 1401?
SELECT name FROM table_name_21 WHERE birth = "16 august 1401"
CREATE TABLE table_name_21 (name VARCHAR, birth VARCHAR)
Which Position has a Round larger than 10, and a Name of shawn mccarthy?
SELECT position FROM table_name_36 WHERE round > 10 AND name = "shawn mccarthy"
CREATE TABLE table_name_36 (position VARCHAR, round VARCHAR, name VARCHAR)
What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less?
SELECT college FROM table_name_65 WHERE pick < 3 AND pba_team = "alaska milkmen"
CREATE TABLE table_name_65 (college VARCHAR, pick VARCHAR, pba_team VARCHAR)
Which date did the oakland raiders play as the opponent when the Bills first downs were under 28?
SELECT date FROM table_name_76 WHERE bills_first_downs < 28 AND opponent = "oakland raiders"
CREATE TABLE table_name_76 (date VARCHAR, bills_first_downs VARCHAR, opponent VARCHAR)
What's the name of train number 15647/48?
SELECT train_name FROM table_12095519_1 WHERE train_no = "15647/48"
CREATE TABLE table_12095519_1 (train_name VARCHAR, train_no VARCHAR)
Who had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap?
SELECT pole_position FROM table_25773116_2 WHERE fastest_lap = "Victor Carbone" AND location = "Braselton, Georgia"
CREATE TABLE table_25773116_2 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR)
What is Doucet when Lawrance is 36?
SELECT doucet FROM table_11447995_2 WHERE lawrance = "36"
CREATE TABLE table_11447995_2 (doucet VARCHAR, lawrance VARCHAR)
How many starts are there?
SELECT MIN(starts) FROM table_23239946_3
CREATE TABLE table_23239946_3 (starts INTEGER)
What's the Time for the Competition of european cup and has a Venue of Moscow?
SELECT time FROM table_name_87 WHERE competition = "european cup" AND venue = "moscow"
CREATE TABLE table_name_87 (time VARCHAR, competition VARCHAR, venue VARCHAR)
How many points have a difference of 23, with a drawn less than 5?
SELECT COUNT(points) FROM table_name_62 WHERE difference = "23" AND drawn < 5
CREATE TABLE table_name_62 (points VARCHAR, difference VARCHAR, drawn VARCHAR)
What is the highest number of goals for robbie findley ranked above 10?
SELECT MAX(goals) FROM table_name_37 WHERE player = "robbie findley" AND rank < 10
CREATE TABLE table_name_37 (goals INTEGER, player VARCHAR, rank VARCHAR)
How many points have 88 laps and a grid of 14?
SELECT points FROM table_name_99 WHERE laps = "88" AND grid = "14"
CREATE TABLE table_name_99 (points VARCHAR, laps VARCHAR, grid VARCHAR)
What team did Russ Wiechnik, on the centre position, come from?
SELECT college_junior_club_team FROM table_1965650_11 WHERE position = "Centre" AND player = "Russ Wiechnik"
CREATE TABLE table_1965650_11 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR)
What's the average round for the OT position from tulane college with an overall over 38?
SELECT AVG(round) FROM table_name_41 WHERE position = "ot" AND college = "tulane" AND overall > 38
CREATE TABLE table_name_41 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)
What time was achieved on Saturday 29th August by the rider who recorded 23' 18.82 97.102mph on Tuesday 25th August?
SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "23' 18.82 97.102mph"
CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR)
Find the name and partition id for users who tweeted less than twice.
SELECT T1.name, T1.partitionid FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid HAVING COUNT(*) < 2
CREATE TABLE user_profiles (name VARCHAR, partitionid VARCHAR, uid VARCHAR); CREATE TABLE tweets (uid VARCHAR)
List all the candidates for the seat where the incumbent is Sam Gibbons?
SELECT candidates FROM table_1341472_11 WHERE incumbent = "Sam Gibbons"
CREATE TABLE table_1341472_11 (candidates VARCHAR, incumbent VARCHAR)
What is the township at longitude -100.680772?
SELECT township FROM table_18600760_18 WHERE longitude = "-100.680772"
CREATE TABLE table_18600760_18 (township VARCHAR, longitude VARCHAR)
What is the latest founded year?
SELECT MAX(founded) FROM table_1973729_2
CREATE TABLE table_1973729_2 (founded INTEGER)
what is the record when the opponent is jeff williams?
SELECT record FROM table_name_37 WHERE opponent = "jeff williams"
CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)
Name the venue for 27th position
SELECT venue FROM table_name_1 WHERE position = "27th"
CREATE TABLE table_name_1 (venue VARCHAR, position VARCHAR)
Which college has 41 picks?
SELECT college FROM table_name_86 WHERE pick__number = 41
CREATE TABLE table_name_86 (college VARCHAR, pick__number VARCHAR)
What is the latest year of the album with the release title death valley?
SELECT MAX(year_of_release) FROM table_name_98 WHERE title = "death valley"
CREATE TABLE table_name_98 (year_of_release INTEGER, title VARCHAR)
How many games did Palmeiras win?
SELECT MAX(won) FROM table_15318779_1 WHERE team = "Palmeiras"
CREATE TABLE table_15318779_1 (won INTEGER, team VARCHAR)
What round was Steve Stonebreaker drafted?
SELECT MAX(round) FROM table_10360656_1 WHERE player_name = "Steve Stonebreaker"
CREATE TABLE table_10360656_1 (round INTEGER, player_name VARCHAR)
What is the launched date of the destroyer completed 25 February 1936?
SELECT launched FROM table_name_13 WHERE completed = "25 february 1936"
CREATE TABLE table_name_13 (launched VARCHAR, completed VARCHAR)
What is every current club for the player Artūrs Štālbergs?
SELECT current_club FROM table_23670057_7 WHERE player = "Artūrs Štālbergs"
CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR)
What is the status of the character keel (keele) zeibel?
SELECT status FROM table_28178595_2 WHERE character = "Keel (Keele) Zeibel"
CREATE TABLE table_28178595_2 (status VARCHAR, character VARCHAR)
What was the High points when date was February 11?
SELECT high_points FROM table_name_55 WHERE date = "february 11"
CREATE TABLE table_name_55 (high_points VARCHAR, date VARCHAR)
What is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement?
SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = "1968cc" AND engine_name = "2.0 tdi"
CREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR)
How did michelle do in archery?
SELECT AVG(michelle) FROM table_name_39 WHERE discipline = "archery"
CREATE TABLE table_name_39 (michelle INTEGER, discipline VARCHAR)
How many United Airlines flights go to City 'Aberdeen'?
SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = "Aberdeen" AND T3.Airline = "United Airlines"
CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR); CREATE TABLE FLIGHTS (DestAirport VARCHAR, Airline VARCHAR)
What is the result of the 2005 (78th) year ceremony?
SELECT result FROM table_22073745_1 WHERE year__ceremony_ = "2005 (78th)"
CREATE TABLE table_22073745_1 (result VARCHAR, year__ceremony_ VARCHAR)
Who was the offensive award winner the week when Bob Watson was given the overall award?
SELECT offensive FROM table_14132239_3 WHERE overall = "Bob Watson"
CREATE TABLE table_14132239_3 (offensive VARCHAR, overall VARCHAR)
What is the population density of bandung regency?
SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE administrative_division = "Bandung Regency"
CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, administrative_division VARCHAR)
What round has 3-4 as the record?
SELECT round FROM table_name_49 WHERE record = "3-4"
CREATE TABLE table_name_49 (round VARCHAR, record VARCHAR)