answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT venue FROM table_name_61 WHERE score = "8 – 1"
CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR)
Name the Venue which has a Score of 8 – 1?
SELECT 2 AS nd_leg FROM table_name_97 WHERE team_1 = "h"
CREATE TABLE table_name_97 (team_1 VARCHAR)
What is 2nd Leg, when Team 1 is "H"?
SELECT batsmen FROM table_name_98 WHERE year = "2002"
CREATE TABLE table_name_98 (batsmen VARCHAR, year VARCHAR)
Who are the Batsmen from the year 2002?
SELECT score FROM table_name_21 WHERE year = "1948"
CREATE TABLE table_name_21 (score VARCHAR, year VARCHAR)
What score did the year 1948 have?
SELECT batsmen FROM table_name_83 WHERE year = "1982"
CREATE TABLE table_name_83 (batsmen VARCHAR, year VARCHAR)
Who is the Batsman from the year 1982?
SELECT score FROM table_name_46 WHERE year = "1929"
CREATE TABLE table_name_46 (score VARCHAR, year VARCHAR)
What is the score in 1929?
SELECT batsmen FROM table_name_76 WHERE location = "the brit oval"
CREATE TABLE table_name_76 (batsmen VARCHAR, location VARCHAR)
Who was the batsmen at the Brit Oval location?
SELECT built FROM table_name_63 WHERE county = "kent"
CREATE TABLE table_name_63 (built VARCHAR, county VARCHAR)
What year was the bridge in Kent built?
SELECT county FROM table_name_55 WHERE location = "east providence"
CREATE TABLE table_name_55 (county VARCHAR, location VARCHAR)
In which county is East Providence?
SELECT county FROM table_name_37 WHERE built = "1884"
CREATE TABLE table_name_37 (county VARCHAR, built VARCHAR)
What county had a bridge biult in 1884?
SELECT place FROM table_name_13 WHERE score = 68 - 73 - 66 - 74 = 281
CREATE TABLE table_name_13 (place VARCHAR, score VARCHAR)
What is the Place of the Player with a Score of 68-73-66-74=281?
SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 71 = 281
CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR)
What Country's Player scored 71-69-70-71=281?
SELECT to_par FROM table_name_60 WHERE place = "t5" AND player = "vijay singh"
CREATE TABLE table_name_60 (to_par VARCHAR, place VARCHAR, player VARCHAR)
What is T5 Place Vijay Singh's To par?
SELECT score FROM table_name_9 WHERE player = "bob murphy"
CREATE TABLE table_name_9 (score VARCHAR, player VARCHAR)
What is Score, when Player is "Bob Murphy"?
SELECT player FROM table_name_32 WHERE to_par = "+1" AND country = "united states" AND score = 71 - 70 = 141
CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, country VARCHAR, score VARCHAR)
What is Player, when To Par is "+1", when Country is "United States", and when Score is "71-70=141"?
SELECT score FROM table_name_40 WHERE place = "t8" AND player = "orville moody"
CREATE TABLE table_name_40 (score VARCHAR, place VARCHAR, player VARCHAR)
What is Score, when Place is "T8", and when Player is "Orville Moody"?
SELECT score FROM table_name_20 WHERE player = "deane beman"
CREATE TABLE table_name_20 (score VARCHAR, player VARCHAR)
What is Score, when Player is "Deane Beman"?
SELECT country FROM table_name_56 WHERE player = "jack nicklaus"
CREATE TABLE table_name_56 (country VARCHAR, player VARCHAR)
What is Country, when Player is "Jack Nicklaus"?
SELECT country FROM table_name_46 WHERE place = "1"
CREATE TABLE table_name_46 (country VARCHAR, place VARCHAR)
What is the Country, when Place is "1"?
SELECT result FROM table_name_1 WHERE category = "best urban/alternative performance" AND year > 2003
CREATE TABLE table_name_1 (result VARCHAR, category VARCHAR, year VARCHAR)
WHAT IS THE RESULT FOR best urban/alternative performance, IN 2003 OR GREATER?
SELECT title FROM table_name_95 WHERE category = "best r&b song"
CREATE TABLE table_name_95 (title VARCHAR, category VARCHAR)
WHAT IS THE TITLE WITH CATEGORY OF best r&b song?
SELECT result FROM table_name_79 WHERE year = 2003 AND category = "best urban/alternative performance"
CREATE TABLE table_name_79 (result VARCHAR, year VARCHAR, category VARCHAR)
WHAT IS THE RESULT FOR 2003, IN best urban/alternative performance?
SELECT SUM(year) FROM table_name_5 WHERE title = "floetic"
CREATE TABLE table_name_5 (year INTEGER, title VARCHAR)
WHAT IS THE YEAR OF FLOETIC?
SELECT high_assists FROM table_name_64 WHERE record = "2-4"
CREATE TABLE table_name_64 (high_assists VARCHAR, record VARCHAR)
Who had the highest assists when the nuggets record was 2-4?
SELECT high_assists FROM table_name_92 WHERE game = 3
CREATE TABLE table_name_92 (high_assists VARCHAR, game VARCHAR)
Who had the highest assists in game 3?
SELECT time FROM table_name_69 WHERE ground = "waverley park" AND away_team = "footscray"
CREATE TABLE table_name_69 (time VARCHAR, ground VARCHAR, away_team VARCHAR)
What is Time, when Ground is Waverley Park, and when Away Team is Footscray?
SELECT ground FROM table_name_73 WHERE away_team = "sydney"
CREATE TABLE table_name_73 (ground VARCHAR, away_team VARCHAR)
What is Ground, when Away Team is Sydney?
SELECT date FROM table_name_65 WHERE home_team = "richmond"
CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR)
What is Date, when Home Team is Richmond?
SELECT home_team AS score FROM table_name_39 WHERE time = "12:00 pm" AND ground = "waverley park"
CREATE TABLE table_name_39 (home_team VARCHAR, time VARCHAR, ground VARCHAR)
What is Home Team Score, when Time is 12:00 PM, and when Ground is Waverley Park?
SELECT MAX(year) FROM table_name_4 WHERE championship = "us open"
CREATE TABLE table_name_4 (year INTEGER, championship VARCHAR)
What is the highest year for the US Open?
SELECT result FROM table_name_72 WHERE week = 16
CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR)
What is Result, when Week is 16?
SELECT record FROM table_name_84 WHERE attendance = "30,110"
CREATE TABLE table_name_84 (record VARCHAR, attendance VARCHAR)
What is Record, when Attendance is 30,110?
SELECT date FROM table_name_13 WHERE opponent = "at saskatchewan roughriders"
CREATE TABLE table_name_13 (date VARCHAR, opponent VARCHAR)
What is Date, when Opponent is At Saskatchewan Roughriders?
SELECT school_name FROM table_name_64 WHERE students < 389 AND grades = "10-12"
CREATE TABLE table_name_64 (school_name VARCHAR, students VARCHAR, grades VARCHAR)
Which School name has students smaller than 389, and grades of 10-12?
SELECT score FROM table_name_85 WHERE home_team = "cairns taipans"
CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR)
What was the score of the game where the home team was the cairns taipans?
SELECT score FROM table_name_39 WHERE home_team = "adelaide 36ers"
CREATE TABLE table_name_39 (score VARCHAR, home_team VARCHAR)
What was the score of the game where the adelaide 36ers were the home team?
SELECT score FROM table_name_54 WHERE venue = "cairns convention centre"
CREATE TABLE table_name_54 (score VARCHAR, venue VARCHAR)
What was the score of the game where the venue was cairns convention centre?
SELECT away_team FROM table_name_36 WHERE home_team = "new zealand breakers"
CREATE TABLE table_name_36 (away_team VARCHAR, home_team VARCHAR)
Who was the away team during the game when the home team was the new zealand breakers?
SELECT score FROM table_name_16 WHERE away_team = "gold coast blaze" AND home_team = "adelaide 36ers"
CREATE TABLE table_name_16 (score VARCHAR, away_team VARCHAR, home_team VARCHAR)
What was the score of the game which featured the gold coast blaze as the away team and the adelaide 36ers as the home team?
SELECT COUNT(rank) FROM table_name_92 WHERE assets__billion_$_ < 248.44 AND industry = "oil and gas" AND headquarters = "france" AND market_value__billion_$_ > 152.62
CREATE TABLE table_name_92 (rank VARCHAR, market_value__billion_$_ VARCHAR, headquarters VARCHAR, assets__billion_$_ VARCHAR, industry VARCHAR)
What is the total rank of the company with less than 248.44 billion in assets, an industry of oil and gas, headquarters in France, and a market value greater than 152.62 billions?
SELECT company FROM table_name_62 WHERE sales__billion_$_ > 195.34 AND rank > 7 AND profits__billion_$_ > 11.29 AND market_value__billion_$_ > 198.14
CREATE TABLE table_name_62 (company VARCHAR, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR, sales__billion_$_ VARCHAR, rank VARCHAR)
What company has more than 195.34 billion in sales, ranked greater than 7, more than 11.29 billion in profits, and a market value greater than 198.14 billion?
SELECT AVG(rank) FROM table_name_97 WHERE sales__billion_$_ > 146.56 AND profits__billion_$_ = 11.68
CREATE TABLE table_name_97 (rank INTEGER, sales__billion_$_ VARCHAR, profits__billion_$_ VARCHAR)
What is the average rank of the company with more than 146.56 billion in sales and profits of 11.68 billions?
SELECT position FROM table_name_23 WHERE round > 5 AND college = "nevada"
CREATE TABLE table_name_23 (position VARCHAR, round VARCHAR, college VARCHAR)
What was the position of the player from the college of Nevada with a round over 5?
SELECT college FROM table_name_6 WHERE round < 7 AND overall < 186 AND pick = 13
CREATE TABLE table_name_6 (college VARCHAR, pick VARCHAR, round VARCHAR, overall VARCHAR)
Which college had a pick in a round under 7, with a pick number 13 and overall was under 186?
SELECT MIN(parishes) FROM table_name_62 WHERE pastoral_region = "merrimack" AND cemeteries < 4
CREATE TABLE table_name_62 (parishes INTEGER, pastoral_region VARCHAR, cemeteries VARCHAR)
How many Parishes in Merrimack which has 4 Cemeteries?
SELECT pastoral_region FROM table_name_57 WHERE cemeteries = 3
CREATE TABLE table_name_57 (pastoral_region VARCHAR, cemeteries VARCHAR)
What Pastoral Region has 3 Cemeteries?
SELECT SUM(high_schools) FROM table_name_38 WHERE cemeteries = 8
CREATE TABLE table_name_38 (high_schools INTEGER, cemeteries VARCHAR)
How many High schools in the Region with 8 Cemeteries?
SELECT pastoral_region FROM table_name_81 WHERE episcopal_vicar = "robert francis hennessey"
CREATE TABLE table_name_81 (pastoral_region VARCHAR, episcopal_vicar VARCHAR)
What Pastoral Region has Episcopal Vicar Robert Francis Hennessey?
SELECT name FROM table_name_69 WHERE games > 299 AND period = "1995–07"
CREATE TABLE table_name_69 (name VARCHAR, games VARCHAR, period VARCHAR)
What is the name of the person with more than 299 games during the 1995–07 period?
SELECT COUNT(games) FROM table_name_75 WHERE name = "shlomi avrahami"
CREATE TABLE table_name_75 (games VARCHAR, name VARCHAR)
What is the number of games for Shlomi Avrahami?
SELECT SUM(rank) FROM table_name_7 WHERE period = "1973–89" AND games < 423
CREATE TABLE table_name_7 (rank INTEGER, period VARCHAR, games VARCHAR)
What is the rank for the period of 1973–89, with less than 423 games.
SELECT team_1 FROM table_name_98 WHERE team_2 = "ulisses"
CREATE TABLE table_name_98 (team_1 VARCHAR, team_2 VARCHAR)
What is the team 1 when Ulisses is team 2?
SELECT 2009 FROM table_name_31 WHERE year = "highest mean annual temperature"
CREATE TABLE table_name_31 (year VARCHAR)
What is 2009, when Year is "Highest Mean Annual Temperature"?
SELECT COUNT(gold) FROM table_name_75 WHERE total > 30 AND sport = "swimming" AND bronze > 35
CREATE TABLE table_name_75 (gold VARCHAR, bronze VARCHAR, total VARCHAR, sport VARCHAR)
How many gold values have totals over 30, bronzes over 35, and are in Swimming?
SELECT MAX(bronze) FROM table_name_58 WHERE silver > 2 AND sport = "cycling" AND gold < 16
CREATE TABLE table_name_58 (bronze INTEGER, gold VARCHAR, silver VARCHAR, sport VARCHAR)
What is the highest bronze value with silvers over 2, golds under 16, and in Cycling?
SELECT total FROM table_name_15 WHERE bronze > 35
CREATE TABLE table_name_15 (total VARCHAR, bronze INTEGER)
What is the total associated with Bronzes over 35?
SELECT MIN(bronze) FROM table_name_63 WHERE gold > 0 AND total = 36 AND silver > 11
CREATE TABLE table_name_63 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)
What is the smallest bronze value associated with golds over 0, silvers over 11, and totals of 36?
SELECT AVG(gold) FROM table_name_66 WHERE sport = "athletics" AND silver > 42
CREATE TABLE table_name_66 (gold INTEGER, sport VARCHAR, silver VARCHAR)
What is the average number of golds in athletics associated with over 42 silvers?
SELECT MIN(silver) FROM table_name_90 WHERE bronze < 20 AND total = 1 AND sport = "water polo" AND gold < 0
CREATE TABLE table_name_90 (silver INTEGER, gold VARCHAR, sport VARCHAR, bronze VARCHAR, total VARCHAR)
What is the smallest number of silvers associated with bronzes under 20, totals of 1, golds of 0, and in Water Polo?
SELECT MIN(pick__number) FROM table_name_69 WHERE player = "marc pilon"
CREATE TABLE table_name_69 (pick__number INTEGER, player VARCHAR)
What was the lowest pick number for Marc Pilon?
SELECT player FROM table_name_23 WHERE college = "british columbia"
CREATE TABLE table_name_23 (player VARCHAR, college VARCHAR)
What player was from the British Columbia college?
SELECT MAX(pick__number) FROM table_name_13 WHERE cfl_team = "hamilton tiger-cats"
CREATE TABLE table_name_13 (pick__number INTEGER, cfl_team VARCHAR)
What was the highest pick number for the Hamilton tiger-cats?
SELECT pick__number FROM table_name_59 WHERE position = "wr"
CREATE TABLE table_name_59 (pick__number VARCHAR, position VARCHAR)
What was the pick number for the WR position?
SELECT goal FROM table_name_84 WHERE result = "2-0"
CREATE TABLE table_name_84 (goal VARCHAR, result VARCHAR)
Can you tell me the Goal that has the Result of 2-0?
SELECT place FROM table_name_32 WHERE prize = "$381.030"
CREATE TABLE table_name_32 (place VARCHAR, prize VARCHAR)
What is Place, when Prize is "$381.030"?
SELECT rank FROM table_name_65 WHERE event = "lapt3 punta del este"
CREATE TABLE table_name_65 (rank VARCHAR, event VARCHAR)
What is Rank, when Event is "LAPT3 Punta Del Este"?
SELECT name FROM table_name_64 WHERE prize = "$279.330"
CREATE TABLE table_name_64 (name VARCHAR, prize VARCHAR)
What is Name, when Prize is "$279.330"?
SELECT prize FROM table_name_2 WHERE rank = "2nd"
CREATE TABLE table_name_2 (prize VARCHAR, rank VARCHAR)
What is Prize, when Rank is "2nd"?
SELECT rank FROM table_name_66 WHERE event = "lapt4 são paulo"
CREATE TABLE table_name_66 (rank VARCHAR, event VARCHAR)
What is Rank, when Event is "LAPT4 São Paulo"?
SELECT prize FROM table_name_58 WHERE name = "valdemar kwaysser"
CREATE TABLE table_name_58 (prize VARCHAR, name VARCHAR)
What is Prize, when Name is "Valdemar Kwaysser"?
SELECT bus_power FROM table_name_5 WHERE fieldbus = "controlnet"
CREATE TABLE table_name_5 (bus_power VARCHAR, fieldbus VARCHAR)
What is the bus power for the Controlnet Fieldbus?
SELECT sub_millisecond_cycle FROM table_name_28 WHERE "fieldbus" = "fieldbus"
CREATE TABLE table_name_28 (sub_millisecond_cycle VARCHAR)
What is the millisecond cycle for the Fieldbus?
SELECT synchronisation FROM table_name_70 WHERE fieldbus = "controlnet"
CREATE TABLE table_name_70 (synchronisation VARCHAR, fieldbus VARCHAR)
What is the synchronisation for the controlnet fieldbus?
SELECT position FROM table_name_31 WHERE college = "colorado"
CREATE TABLE table_name_31 (position VARCHAR, college VARCHAR)
Which Position has a College of colorado?
SELECT college FROM table_name_7 WHERE overall > 211 AND position = "db" AND name = "carl charon"
CREATE TABLE table_name_7 (college VARCHAR, name VARCHAR, overall VARCHAR, position VARCHAR)
Which College has an Overall larger than 211, a Position of db, and a Name of carl charon?
SELECT SUM(overall) FROM table_name_46 WHERE college = "michigan state" AND position = "fb" AND round > 8
CREATE TABLE table_name_46 (overall INTEGER, round VARCHAR, college VARCHAR, position VARCHAR)
Which Overall has a College of michigan state, a Position of fb, and a Round larger than 8?
SELECT MIN(round) FROM table_name_26 WHERE college = "arizona"
CREATE TABLE table_name_26 (round INTEGER, college VARCHAR)
Which Round has a College of arizona?
SELECT MIN(overall) FROM table_name_99 WHERE round = 7
CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR)
Which Overall has a Round of 7?
SELECT SUM(round) FROM table_name_4 WHERE pick > 1
CREATE TABLE table_name_4 (round INTEGER, pick INTEGER)
Which Round has a Pick larger than 1?
SELECT MIN(ends_won) FROM table_name_45 WHERE stolen_ends = 10 AND locale = "italy" AND blank_ends < 14
CREATE TABLE table_name_45 (ends_won INTEGER, blank_ends VARCHAR, stolen_ends VARCHAR, locale VARCHAR)
In italy, when the stolen ends were 10 and blank ends were under 14, what's the lowest ends won?
SELECT MAX(blank_ends) FROM table_name_53 WHERE stolen_ends > 14 AND ends_won < 57
CREATE TABLE table_name_53 (blank_ends INTEGER, stolen_ends VARCHAR, ends_won VARCHAR)
When ends won were below 57 but stolen ends are more than 14, what's the highest blank ends found?
SELECT attendance FROM table_name_17 WHERE home_team = "leicester city"
CREATE TABLE table_name_17 (attendance VARCHAR, home_team VARCHAR)
What was the attendance record for Leicester City?
SELECT attendance FROM table_name_11 WHERE home_team = "arsenal"
CREATE TABLE table_name_11 (attendance VARCHAR, home_team VARCHAR)
What was the attendance for Arsenal?
SELECT home_team FROM table_name_13 WHERE away_team = "bolton wanderers"
CREATE TABLE table_name_13 (home_team VARCHAR, away_team VARCHAR)
Who was the home team against the Bolton Wanderers?
SELECT opponent FROM table_name_63 WHERE round = 2 AND location = "south dakota, united states"
CREATE TABLE table_name_63 (opponent VARCHAR, round VARCHAR, location VARCHAR)
Who was the opponent of the match in South Dakota, United States which has 2 rounds?
SELECT COUNT(total_atms) FROM table_name_32 WHERE off_site_atms > 3672 AND number_of_branches < 1685
CREATE TABLE table_name_32 (total_atms VARCHAR, off_site_atms VARCHAR, number_of_branches VARCHAR)
What is the total ATMs with off-site ATMs greater than 3672, and less than 1685 as the number of branches?
SELECT SUM(number_of_branches) FROM table_name_84 WHERE on_site_atms = 1548 AND off_site_atms > 3672
CREATE TABLE table_name_84 (number_of_branches INTEGER, on_site_atms VARCHAR, off_site_atms VARCHAR)
What is the total number of branches when the on-site ATMS is 1548, and the off-site ATMs is bigger than 3672?
SELECT MIN(total_atms) FROM table_name_42 WHERE bank_type = "new private sector banks" AND on_site_atms > 1883
CREATE TABLE table_name_42 (total_atms INTEGER, bank_type VARCHAR, on_site_atms VARCHAR)
What is the minimum total ATMs with new private sector banks as the bank type, and the on-site ATMs are greater than 1883?
SELECT AVG(on_site_atms) FROM table_name_20 WHERE off_site_atms = 1567 AND total_atms < 4772
CREATE TABLE table_name_20 (on_site_atms INTEGER, off_site_atms VARCHAR, total_atms VARCHAR)
What is the mean on-site ATMS that have off-site ATMs of 1567, and the total number of ATMs less than 4772?
SELECT AVG(off_site_atms) FROM table_name_66 WHERE bank_type = "foreign banks" AND on_site_atms < 218
CREATE TABLE table_name_66 (off_site_atms INTEGER, bank_type VARCHAR, on_site_atms VARCHAR)
With foreign banks as the bank type, and on-site ATMS less than 218, what is the average off-site ATMs?
SELECT effect FROM table_name_53 WHERE weapon = "35mm/small arms fire"
CREATE TABLE table_name_53 (effect VARCHAR, weapon VARCHAR)
What is Effect, when Weapon is "35mm/Small arms fire"?
SELECT date FROM table_name_82 WHERE effect = "shot down" AND place = "south of stanley airport"
CREATE TABLE table_name_82 (date VARCHAR, effect VARCHAR, place VARCHAR)
What is Date, when Effect is "Shot Down", and when Place is "South of Stanley Airport"?
SELECT place FROM table_name_15 WHERE weapon = "35mm fire" AND date = "27 may 1982"
CREATE TABLE table_name_15 (place VARCHAR, weapon VARCHAR, date VARCHAR)
What is Place, when Weapon is "35mm fire", and when Date is "27 May 1982"?
SELECT pilot FROM table_name_8 WHERE place = "goose green" AND date = "27 may 1982"
CREATE TABLE table_name_8 (pilot VARCHAR, place VARCHAR, date VARCHAR)
What is Pilot, when Place is "Goose Green", and when Date is "27 May 1982"?
SELECT place FROM table_name_6 WHERE weapon = "35mm/small arms fire"
CREATE TABLE table_name_6 (place VARCHAR, weapon VARCHAR)
What is Place, when Weapon is "35mm/Small arms fire"?
SELECT pilot FROM table_name_48 WHERE weapon = "35mm fire" AND date = "4 may 1982"
CREATE TABLE table_name_48 (pilot VARCHAR, weapon VARCHAR, date VARCHAR)
What is Pilot, when Weapon is "35mm fire", and when Date is "4 May 1982"?
SELECT player FROM table_name_22 WHERE jersey_number_s_ > 30
CREATE TABLE table_name_22 (player VARCHAR, jersey_number_s_ INTEGER)
Who is the player with a Jersey Number(s) greater than 30?
SELECT years FROM table_name_73 WHERE jersey_number_s_ = 44
CREATE TABLE table_name_73 (years VARCHAR, jersey_number_s_ VARCHAR)
What is the Years of the player with Jersey Number(s) of 44?
SELECT population__2010_ FROM table_name_63 WHERE province = "north jeolla"
CREATE TABLE table_name_63 (population__2010_ VARCHAR, province VARCHAR)
What was the population in North Jeolla?
SELECT korean FROM table_name_46 WHERE hanja = "南楊州"
CREATE TABLE table_name_46 (korean VARCHAR, hanja VARCHAR)
What's Korean for 南楊州 Hanja?