answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT original_title FROM table_10874596_1 WHERE film_title_used_in_nomination = "A Woman in Flames"
What was the original title of the film submitted with the title A Woman in Flames?
CREATE TABLE table_10874596_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT month FROM table_name_83 WHERE year < 1973 AND album = "united we stand"
What month before 1973 is listed for the album united we stand?
CREATE TABLE table_name_83 (month VARCHAR, year VARCHAR, album VARCHAR)
SELECT MIN(sno) FROM table_name_9 WHERE state = "jammu & kashmir" AND completion_schedule = "2016"
When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.?
CREATE TABLE table_name_9 (sno INTEGER, state VARCHAR, completion_schedule VARCHAR)
SELECT game_modes FROM table_1616608_2 WHERE pinyin = "Zhígǎn Yī Bǐ"
What game modes are there when the pinyin is zhígǎn yī bǐ ?
CREATE TABLE table_1616608_2 (game_modes VARCHAR, pinyin VARCHAR)
SELECT year FROM table_name_78 WHERE start = 32
Name the year when start was 32
CREATE TABLE table_name_78 (year VARCHAR, start VARCHAR)
SELECT SUM(Population), GovernmentForm FROM country GROUP BY GovernmentForm HAVING AVG(LifeExpectancy) > 72
Find the government form name and total population for each government form whose average life expectancy is longer than 72.
CREATE TABLE country (GovernmentForm VARCHAR, Population INTEGER, LifeExpectancy INTEGER)
SELECT years_in_orlando FROM table_name_11 WHERE position = "center"
Which years in Orlando are featured with the center position?
CREATE TABLE table_name_11 (years_in_orlando VARCHAR, position VARCHAR)
SELECT loss FROM table_name_3 WHERE record = "66-78"
with a record of 66-78 what was the loss?
CREATE TABLE table_name_3 (loss VARCHAR, record VARCHAR)
SELECT award FROM table_name_20 WHERE category = "best performance by a leading actor in a musical"
Which Award has best performance by a leading actor in a musical
CREATE TABLE table_name_20 (award VARCHAR, category VARCHAR)
SELECT lcd_screen_size, _pixels FROM table_name_93 WHERE model = "coolpix 5700"
What would the LCD screen size and pixels be for the coolpix 5700?
CREATE TABLE table_name_93 (lcd_screen_size VARCHAR, _pixels VARCHAR, model VARCHAR)
SELECT school_year FROM table_name_19 WHERE cross_country = "wooster"
What is School Year, when Cross Country is Wooster?
CREATE TABLE table_name_19 (school_year VARCHAR, cross_country VARCHAR)
SELECT affiliation FROM table_name_4 WHERE nickname = "bulldogs"
What is Affiliation, when Nickname is Bulldogs?
CREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR)
SELECT position FROM table_name_29 WHERE player = "farmar, jordan jordan farmar"
What position is played by farmar, jordan jordan farmar?
CREATE TABLE table_name_29 (position VARCHAR, player VARCHAR)
SELECT points FROM table_name_39 WHERE place < 2
Which points has place smaller than 2?
CREATE TABLE table_name_39 (points VARCHAR, place INTEGER)
SELECT locomotive_type FROM table_name_93 WHERE name = "winston churchill"
What kind of locomotive is Winston Churchill?
CREATE TABLE table_name_93 (locomotive_type VARCHAR, name VARCHAR)
SELECT MAX(october) FROM table_name_19 WHERE game < 1
Name the most october for game less than 1
CREATE TABLE table_name_19 (october INTEGER, game INTEGER)
SELECT home_team FROM table_name_10 WHERE venue = "junction oval"
What was the name of the home team playing at the Junction Oval venue?
CREATE TABLE table_name_10 (home_team VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_28 WHERE away_team = "st kilda"
Which Crowd has an Away team of st kilda?
CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR)
SELECT MIN(points) FROM table_name_91 WHERE year < 1958 AND class = "350cc"
What is the smallest point amount for years prior to 1958 when the class is 350cc?
CREATE TABLE table_name_91 (points INTEGER, year VARCHAR, class VARCHAR)
SELECT time FROM table_name_30 WHERE nation = "kenya" AND rank = "2"
What is the time of kenya, which is ranked 2?
CREATE TABLE table_name_30 (time VARCHAR, nation VARCHAR, rank VARCHAR)
SELECT game_time FROM table_name_96 WHERE record = "7-3"
What time was the game with a record of 7-3?
CREATE TABLE table_name_96 (game_time VARCHAR, record VARCHAR)
SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = "Aberdeen"
What are flight numbers of flights departing from City "Aberdeen "?
CREATE TABLE FLIGHTS (FlightNo VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)
SELECT MIN(beatified) FROM table_name_12 WHERE place = "korea" AND canonised < 1984
When was the first beatification in Korea that was canonised before 1984?
CREATE TABLE table_name_12 (beatified INTEGER, place VARCHAR, canonised VARCHAR)
SELECT SUM(hyndburn) FROM table_name_52 WHERE fylde > 3
How much Hyndburn has a Fylde larger than 3?
CREATE TABLE table_name_52 (hyndburn INTEGER, fylde INTEGER)
SELECT MIN(int_caps) FROM table_29743928_5
What is the lowest value for int. caps?
CREATE TABLE table_29743928_5 (int_caps INTEGER)
SELECT MAX(wins) FROM table_name_83 WHERE golden_rivers = "quambatook" AND against < 1129
What is the highest number of wins for Quambatook when Against is less than 1129?
CREATE TABLE table_name_83 (wins INTEGER, golden_rivers VARCHAR, against VARCHAR)
SELECT home_team FROM table_name_65 WHERE away_team = "carlton"
Who was Carlton's home team opponent?
CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR)
SELECT COUNT(elevation_ft) FROM table_27435931_1 WHERE country = "Tanzania"
what is elevation of tanzania?
CREATE TABLE table_27435931_1 (elevation_ft VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 = 211
What is the to par for the 69-70-72=211 score?
CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR)
SELECT date FROM table_name_37 WHERE venue = "vfl park"
On which date was the venue of vfl park used?
CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR)
SELECT COUNT(record) FROM table_27734577_8 WHERE date = "January 2"
How many records where in January 2?
CREATE TABLE table_27734577_8 (record VARCHAR, date VARCHAR)
SELECT result FROM table_name_87 WHERE recipients_and_nominees = "outstanding achievement in drama" AND year = 1995
Which result has a recipients and nominees of outstanding achievement in drama with 1995 as the year?
CREATE TABLE table_name_87 (result VARCHAR, recipients_and_nominees VARCHAR, year VARCHAR)
SELECT record FROM table_name_35 WHERE time = "1:44"
What was the record of the match that had a time of 1:44?
CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR)
SELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = "bath"
Which team had a year entering the league under 2009, located in Bath?
CREATE TABLE table_name_21 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR)
SELECT score FROM table_name_54 WHERE opponent = "golden state warriors"
What was the score for the game against the Golden State Warriors?
CREATE TABLE table_name_54 (score VARCHAR, opponent VARCHAR)
SELECT COUNT(crowd) FROM table_name_43 WHERE away_team = "carlton"
How many people were in the crowd when Carlton was the away team?
CREATE TABLE table_name_43 (crowd VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_15 WHERE date = "27 january 1996"
What was the score of the game on 27 January 1996?
CREATE TABLE table_name_15 (score VARCHAR, date VARCHAR)
SELECT COUNT(roll) FROM table_name_12 WHERE name = "te hapua school"
What is the total number of roll for Te Hapua school?
CREATE TABLE table_name_12 (roll VARCHAR, name VARCHAR)
SELECT metric_value FROM table_name_54 WHERE ratio = "1/20"
How big in metric terms is the unit that has a ratio of 1/20?
CREATE TABLE table_name_54 (metric_value VARCHAR, ratio VARCHAR)
SELECT COUNT(date) FROM table_16388230_1 WHERE home_team = "Hawthorn"
How many days did Hawthorn play as a home team?
CREATE TABLE table_16388230_1 (date VARCHAR, home_team VARCHAR)
SELECT gold FROM table_name_20 WHERE nation = "netherlands"
Tell me the gold for netherlands
CREATE TABLE table_name_20 (gold VARCHAR, nation VARCHAR)
SELECT date FROM table_name_42 WHERE road_team = "new york" AND result = "79-75"
Which Date has a Road Team of new york, and a Result of 79-75?
CREATE TABLE table_name_42 (date VARCHAR, road_team VARCHAR, result VARCHAR)
SELECT title FROM table_2468961_4 WHERE written_by = "Julia Newton" AND no_in_series = 48
What was the title of the episode written by Julia Newton in series 48?
CREATE TABLE table_2468961_4 (title VARCHAR, written_by VARCHAR, no_in_series VARCHAR)
SELECT MIN(field_goals) FROM table_14342480_7
What is the lowest amount of field goals on the chart?
CREATE TABLE table_14342480_7 (field_goals INTEGER)
SELECT group_position FROM table_name_55 WHERE date = "24 september 2002"
Date of 24 september 2002 is what group position?
CREATE TABLE table_name_55 (group_position VARCHAR, date VARCHAR)
SELECT mar_17 FROM table_name_96 WHERE april_21 = "10"
What is the rank for Mar 17 when the April 21 rank is 10?
CREATE TABLE table_name_96 (mar_17 VARCHAR, april_21 VARCHAR)
SELECT height_ft___m__ FROM table_name_93 WHERE floors = 36
Which height, in meters, has 36 floors?
CREATE TABLE table_name_93 (height_ft___m__ VARCHAR, floors VARCHAR)
SELECT T1.name, T3.balance + T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T3.balance < T2.balance
Find the name and total checking and savings balance of the accounts whose savings balance is lower than corresponding checking balance.
CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
SELECT MAX(total) FROM table_name_65 WHERE bronze < 1 AND gold > 0
What is the highest total when bronze is less than 1 and gold more than 0?
CREATE TABLE table_name_65 (total INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT surface FROM table_name_37 WHERE opponent = "sascha kloer"
What is the surface of the tournament with Sascha Kloer as the opponent?
CREATE TABLE table_name_37 (surface VARCHAR, opponent VARCHAR)
SELECT reward FROM table_24233848_2 WHERE eliminated = "Hilca"
Name the reward eliminated hilca
CREATE TABLE table_24233848_2 (reward VARCHAR, eliminated VARCHAR)
SELECT MAX(index) FROM table_25271777_1 WHERE forcible_rape = 1084
What was the largest index the year/s forcible rapes numbered 1084?
CREATE TABLE table_25271777_1 (index INTEGER, forcible_rape VARCHAR)
SELECT d_40 FROM table_name_17 WHERE d_44 = "d 15"
I want the D 40 with D 44 of d 15
CREATE TABLE table_name_17 (d_40 VARCHAR, d_44 VARCHAR)
SELECT score FROM table_name_91 WHERE opponent = "mariners" AND record = "24–25"
Which Score has Opponent of mariners and a Record of 24–25?
CREATE TABLE table_name_91 (score VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT date FROM table_name_10 WHERE opponent = "north carolina"
What was the date of the game against North Carolina?
CREATE TABLE table_name_10 (date VARCHAR, opponent VARCHAR)
SELECT place FROM table_name_20 WHERE score = 68 - 67 - 73 - 68 = 276
what is the place when the score is 68-67-73-68=276?
CREATE TABLE table_name_20 (place VARCHAR, score VARCHAR)
SELECT theme FROM table_name_85 WHERE original_artist = "carole king" AND week__number = "hollywood"
What is the Theme when the Original artist was carole king, and a Week # shows hollywood?
CREATE TABLE table_name_85 (theme VARCHAR, original_artist VARCHAR, week__number VARCHAR)
SELECT COUNT(field_goals) FROM table_14342480_5 WHERE position = "Right tackle"
Na,e the number of field goals for right tackle
CREATE TABLE table_14342480_5 (field_goals VARCHAR, position VARCHAR)
SELECT percentage_democrats FROM table_name_57 WHERE democratic__republican = "2/4"
What is the percentage democrats with 2/4 democrat/republican?
CREATE TABLE table_name_57 (percentage_democrats VARCHAR, democratic__republican VARCHAR)
SELECT country FROM table_name_94 WHERE score = 69 - 72 - 67 - 71 = 279
Can you tell me the Country that has the Score of 69-72-67-71=279?
CREATE TABLE table_name_94 (country VARCHAR, score VARCHAR)
SELECT results FROM table_name_71 WHERE incumbent = "bill shuster"
What are the results for Bill Shuster?
CREATE TABLE table_name_71 (results VARCHAR, incumbent VARCHAR)
SELECT COUNT(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 20
Find number of pets owned by students who are older than 20.
CREATE TABLE student (stuid VARCHAR, age INTEGER); CREATE TABLE has_pet (stuid VARCHAR)
SELECT record FROM table_name_63 WHERE high_rebounds = "deandre jordan (11)"
What was the record when the high rebound was Deandre Jordan (11)?
CREATE TABLE table_name_63 (record VARCHAR, high_rebounds VARCHAR)
SELECT location_attendance FROM table_27882867_9 WHERE team = "Milwaukee"
Where was the location and attendance when they played milwaukee?
CREATE TABLE table_27882867_9 (location_attendance VARCHAR, team VARCHAR)
SELECT MIN(year) FROM table_name_23 WHERE tournament = "dunlop phoenix tournament" AND round_4 > 72
What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72?
CREATE TABLE table_name_23 (year INTEGER, tournament VARCHAR, round_4 VARCHAR)
SELECT tournament FROM table_name_11 WHERE opponent_in_the_final = "mark nielsen"
What tournament did Smeets play against Mark nielsen?
CREATE TABLE table_name_11 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT MIN(pick) FROM table_name_11 WHERE player = "terry jones"
What's terry jones' lowest pick?
CREATE TABLE table_name_11 (pick INTEGER, player VARCHAR)
SELECT MAX(frequency_mhz) FROM table_name_77 WHERE call_sign = "w292cu"
what is the highest frequency mhz with the call sign w292cu?
CREATE TABLE table_name_77 (frequency_mhz INTEGER, call_sign VARCHAR)
SELECT series__number FROM table_28967275_3 WHERE episode__number = 68
when 68 is the episode number what is the series number?
CREATE TABLE table_28967275_3 (series__number VARCHAR, episode__number VARCHAR)
SELECT percentage_of_votes FROM table_26267849_11 WHERE finished = "3rd"
Name the percentage of votes for 3rd finished
CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, finished VARCHAR)
SELECT 1 AS st_leg FROM table_name_88 WHERE team_2 = "concepto egile"
What was the 1st leg for Team 2 Concepto Egile?
CREATE TABLE table_name_88 (team_2 VARCHAR)
SELECT icao FROM table_name_91 WHERE city = "frankfurt"
What is the IcAO of Frankfurt?
CREATE TABLE table_name_91 (icao VARCHAR, city VARCHAR)
SELECT MIN(year) FROM table_name_46 WHERE category = "best supporting actress" AND award = "asian film awards"
What's the earliest year that had a category of best supporting actress at the asian film awards?
CREATE TABLE table_name_46 (year INTEGER, category VARCHAR, award VARCHAR)
SELECT COUNT(place) FROM table_name_85 WHERE team = "tauro" AND played < 18
how many times is the team tauro and played less than 18?
CREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR)
SELECT MAX(capacity) FROM table_name_19 WHERE club = "vihren"
What is the highest capacity for the venue of the club, vihren?
CREATE TABLE table_name_19 (capacity INTEGER, club VARCHAR)
SELECT to_par FROM table_name_54 WHERE player = "nick price"
What was the score to par after two rounds for Nick Price?
CREATE TABLE table_name_54 (to_par VARCHAR, player VARCHAR)
SELECT type FROM table_name_10 WHERE nat = "por"
What is the type of POR?
CREATE TABLE table_name_10 (type VARCHAR, nat VARCHAR)
SELECT date FROM table_name_84 WHERE home_team = "west ham united"
On what Date is West Ham United the Home team?
CREATE TABLE table_name_84 (date VARCHAR, home_team VARCHAR)
SELECT home_team FROM table_name_77 WHERE away_team = "carlton"
Name the home team for carlton away team
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_91 WHERE competition = "2008 myanmar grand royal challenge cup"
Which venue has a Competition of 2008 myanmar grand royal challenge cup?
CREATE TABLE table_name_91 (venue VARCHAR, competition VARCHAR)
SELECT COUNT(pick) FROM table_2840500_3 WHERE player = "Scott Parker"
what is the overall number of chosen ideas where the person is scott parker
CREATE TABLE table_2840500_3 (pick VARCHAR, player VARCHAR)
SELECT MAX(year_)[a_] FROM table_name_3 WHERE position = "linebacker" AND college = "georgia tech"
What is the most recent year georgia tech chose a linebacker?
CREATE TABLE table_name_3 (a_ VARCHAR, year_ INTEGER, position VARCHAR, college VARCHAR)
SELECT Date_Claim_Made, Date_Claim_Settled FROM Claims WHERE Amount_Claimed > (SELECT AVG(Amount_Claimed) FROM Claims)
Among all the claims, which claims have a claimed amount larger than the average? List the date the claim was made and the date it was settled.
CREATE TABLE Claims (Date_Claim_Made VARCHAR, Date_Claim_Settled VARCHAR, Amount_Claimed INTEGER)
SELECT status FROM table_name_48 WHERE hometown = "london" AND name = "aden theobald"
What is the status of Aden Theobald from the hometown of London?
CREATE TABLE table_name_48 (status VARCHAR, hometown VARCHAR, name VARCHAR)
SELECT method_of_elimination FROM table_24628683_2 WHERE wrestler = "Kofi Kingston"
What was the method of elimination for Kofi Kingston/
CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, wrestler VARCHAR)
SELECT player FROM table_name_23 WHERE date = "19-02-2003"
Who had a date of 19-02-2003?
CREATE TABLE table_name_23 (player VARCHAR, date VARCHAR)
SELECT engine_name FROM table_name_42 WHERE max_torque_at_rpm = "n·m ( lbf·ft ) @ 3,800"
What is the engine name that has a maximum torque at rpm of n·m ( lbf·ft ) @ 3,800?
CREATE TABLE table_name_42 (engine_name VARCHAR, max_torque_at_rpm VARCHAR)
SELECT set_2 FROM table_name_3 WHERE set_1 = "19:21"
What Set 2 has a set one at 19:21?
CREATE TABLE table_name_3 (set_2 VARCHAR, set_1 VARCHAR)
SELECT away_team FROM table_name_82 WHERE venue = "mcg"
Which Away team has a Venue of mcg?
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
SELECT SUM(win__percentage) FROM table_name_78 WHERE coach = "john gartin" AND crew = "varsity 8+" AND year = "2005"
What is the total number of win % when John Gartin is coach, the crew is varsity 8+, and the year is 2005?
CREATE TABLE table_name_78 (win__percentage INTEGER, year VARCHAR, coach VARCHAR, crew VARCHAR)
SELECT incumbent FROM table_1341549_10 WHERE first_elected = "1954"
Name the incumbent for 1954
CREATE TABLE table_1341549_10 (incumbent VARCHAR, first_elected VARCHAR)
SELECT pashto FROM table_name_24 WHERE somali = "talaado"
What is the Pashto word for the Somali word talaado?
CREATE TABLE table_name_24 (pashto VARCHAR, somali VARCHAR)
SELECT MIN(against) FROM table_name_4 WHERE played > 10
What is the lowest Against when the played is more than 10?
CREATE TABLE table_name_4 (against INTEGER, played INTEGER)
SELECT cartridge FROM table_16010376_1 WHERE source = "Winchester"
What type of cartridge is used by a Winchester?
CREATE TABLE table_16010376_1 (cartridge VARCHAR, source VARCHAR)
SELECT away_team FROM table_name_28 WHERE tie_no = "3"
Which away team has a tie number of 3?
CREATE TABLE table_name_28 (away_team VARCHAR, tie_no VARCHAR)
SELECT COUNT(silver) FROM table_name_95 WHERE bronze > 1 AND gold = 0 AND rank < 4
How much Silver has a Bronze larger than 1, and a Gold of 0, and a Rank smaller than 4?
CREATE TABLE table_name_95 (silver VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT result FROM table_name_87 WHERE date = "october 20, 2002"
What was the result on October 20, 2002?
CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_38 WHERE score = 69 - 72 - 72 - 72 = 285
Which average money has a Score of 69-72-72-72=285?
CREATE TABLE table_name_38 (money___ INTEGER, score VARCHAR)
SELECT 1989 FROM table_name_39 WHERE 1999 = "f" AND 1994 = "2r"
What is 1989, when 1999 is F, and when 1994 is 2R?
CREATE TABLE table_name_39 (Id VARCHAR)
SELECT MIN(grid) FROM table_name_3 WHERE manufacturer = "yamaha"
What is the lowest grid number for Yamaha?
CREATE TABLE table_name_3 (grid INTEGER, manufacturer VARCHAR)