question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the snatch for the Clean & jerk of 145.0, and a Bodyweight larger than 76.22?
CREATE TABLE table_name_50 (snatch INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT AVG(snatch) FROM table_name_50 WHERE clean_ & _jerk = "145.0" AND bodyweight > 76.22
Name of gilmar, and a Caps smaller than 94 had how many highest goals?
CREATE TABLE table_name_18 (goals INTEGER, name VARCHAR, caps VARCHAR)
SELECT MAX(goals) FROM table_name_18 WHERE name = "gilmar" AND caps < 94
How many grids have a time of +1:21.239 and more than 25 laps?
CREATE TABLE table_name_39 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT COUNT(grid) FROM table_name_39 WHERE time_retired = "+1:21.239" AND laps > 25
With the date of October 28, 1962, and the week greater than 4, what was the lowest attendance?
CREATE TABLE table_name_12 (attendance INTEGER, week VARCHAR, date VARCHAR)
SELECT MIN(attendance) FROM table_name_12 WHERE week > 4 AND date = "october 28, 1962"
What were the points in the year when his Podiums were 5?
CREATE TABLE table_name_35 (points VARCHAR, podiums VARCHAR)
SELECT points FROM table_name_35 WHERE podiums = "5"
How many Silver medals were won in total by all those with more than 3 bronze and exactly 16 gold?
CREATE TABLE table_name_50 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT SUM(silver) FROM table_name_50 WHERE bronze > 3 AND gold = 16
What position is for Dr. Phillips high school?
CREATE TABLE table_name_94 (position VARCHAR, school VARCHAR)
SELECT position FROM table_name_94 WHERE school = "dr. phillips high school"
Which method has an Event of shooto, a Round of 2, and an Opponent of issei tamura?
CREATE TABLE table_name_33 (method VARCHAR, opponent VARCHAR, event VARCHAR, round VARCHAR)
SELECT method FROM table_name_33 WHERE event = "shooto" AND round = 2 AND opponent = "issei tamura"
Name the route for 170.8km distance
CREATE TABLE table_name_14 (route VARCHAR, distance VARCHAR)
SELECT route FROM table_name_14 WHERE distance = "170.8km"
Where was the game held that was played on 2002-03-07?
CREATE TABLE table_name_36 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_36 WHERE date = "2002-03-07"
What was Footscray's score when it played as the home team?
CREATE TABLE table_name_2 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_2 WHERE home_team = "footscray"
Who was the originally artist when Jasmine Murray was selected?
CREATE TABLE table_21501564_1 (original_artist VARCHAR, result VARCHAR)
SELECT original_artist FROM table_21501564_1 WHERE result = "Selected"
Which Medal has a Name of alex obeyesekera?
CREATE TABLE table_name_14 (medal VARCHAR, name VARCHAR)
SELECT medal FROM table_name_14 WHERE name = "alex obeyesekera"
How many values were used to express the years at school of the Maryland team?
CREATE TABLE table_28744929_2 (years_at_school VARCHAR, team VARCHAR)
SELECT COUNT(years_at_school) FROM table_28744929_2 WHERE team = "Maryland"
what are all the building with 12 storeys
CREATE TABLE table_13397394_1 (building VARCHAR, storeys VARCHAR)
SELECT building FROM table_13397394_1 WHERE storeys = 12
Which type of policy is most frequently used? Give me the policy type code.
CREATE TABLE policies (policy_type_code VARCHAR)
SELECT policy_type_code FROM policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1
What spacecraft had an EVA that ended at 17:28?
CREATE TABLE table_name_66 (spacecraft VARCHAR, end_time VARCHAR)
SELECT spacecraft FROM table_name_66 WHERE end_time = "17:28"
What is the date for the game 35?
CREATE TABLE table_27756314_8 (date VARCHAR, game VARCHAR)
SELECT date FROM table_27756314_8 WHERE game = 35
Which party has a first elected of 1966, qld as the state, and donald milner cameron as the member?
CREATE TABLE table_name_25 (party VARCHAR, member VARCHAR, first_elected VARCHAR, state VARCHAR)
SELECT party FROM table_name_25 WHERE first_elected = "1966" AND state = "qld" AND member = "donald milner cameron"
Total number of laps at a time of +56.977?
CREATE TABLE table_name_31 (laps VARCHAR, time VARCHAR)
SELECT COUNT(laps) FROM table_name_31 WHERE time = "+56.977"
Is uremia affect prothrombin?
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, condition VARCHAR)
SELECT prothrombin_time FROM table_1226250_1 WHERE condition = "Uremia"
How many pairs of numbers are under record on April 12?
CREATE TABLE table_13557843_8 (record VARCHAR, date VARCHAR)
SELECT COUNT(record) FROM table_13557843_8 WHERE date = "April 12"
How many regional seats were there with the SNP party and where the number of total seats was bigger than 46?
CREATE TABLE table_name_77 (regional_seats VARCHAR, party VARCHAR, total_seats VARCHAR)
SELECT COUNT(regional_seats) FROM table_name_77 WHERE party = "snp" AND total_seats > 46
Who is the Opponent when the Score is 2-8?
CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_16 WHERE score = "2-8"
Which award was given for the role of Elphaba in 2009?
CREATE TABLE table_name_92 (award VARCHAR, role VARCHAR, year VARCHAR)
SELECT award FROM table_name_92 WHERE role = "elphaba" AND year = "2009"
What player was drafted 252?
CREATE TABLE table_name_52 (player VARCHAR, pick VARCHAR)
SELECT player FROM table_name_52 WHERE pick = 252
Who is the current champion for the event in Beverly, MA, with previous champions of Mike Webb and Nick Fahrenheit?
CREATE TABLE table_name_19 (current_champion_s_ VARCHAR, location VARCHAR, previous_champion_s_ VARCHAR)
SELECT current_champion_s_ FROM table_name_19 WHERE location = "beverly, ma" AND previous_champion_s_ = "mike webb and nick fahrenheit"
What is the Place of the Player with a To par of –6?
CREATE TABLE table_name_96 (place VARCHAR, to_par VARCHAR)
SELECT place FROM table_name_96 WHERE to_par = "–6"
What is the pick number if the player is Gary Kubiak?
CREATE TABLE table_2508633_8 (pick__number VARCHAR, player VARCHAR)
SELECT pick__number FROM table_2508633_8 WHERE player = "Gary Kubiak"
How many were hosted whene the average attendance was 27,638?
CREATE TABLE table_name_85 (hosted VARCHAR, average VARCHAR)
SELECT COUNT(hosted) FROM table_name_85 WHERE average = 27 OFFSET 638
What are the total order quantities of photo products?
CREATE TABLE ORDER_ITEMS (Order_Quantity INTEGER, Product_ID VARCHAR); CREATE TABLE Products (Product_ID VARCHAR, Product_Name VARCHAR)
SELECT SUM(T1.Order_Quantity) FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_Name = "photo"
What is the smallest attendance in week 1?
CREATE TABLE table_name_76 (attendance INTEGER, week VARCHAR)
SELECT MIN(attendance) FROM table_name_76 WHERE week = 1
what's the comment with model name being 2.4 (2001-2007)
CREATE TABLE table_1147701_4 (comment VARCHAR, model_name VARCHAR)
SELECT comment FROM table_1147701_4 WHERE model_name = "2.4 (2001-2007)"
What CFL teams are part of Simon Fraser college?
CREATE TABLE table_10975034_4 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_10975034_4 WHERE college = "Simon Fraser"
Which Season has a League of bezirksliga?
CREATE TABLE table_name_77 (season VARCHAR, league VARCHAR)
SELECT season FROM table_name_77 WHERE league = "bezirksliga"
Which townland has a 213 acre area?
CREATE TABLE table_30120633_1 (townland VARCHAR, area__acres__ VARCHAR)
SELECT townland FROM table_30120633_1 WHERE area__acres__ = 213
what's the engine where number range is 8–9, 13–16
CREATE TABLE table_1181375_1 (engine VARCHAR, number_range VARCHAR)
SELECT engine FROM table_1181375_1 WHERE number_range = "8–9, 13–16"
What number in the season was the episode with 12.23 million viewers?
CREATE TABLE table_24961421_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR)
SELECT season__number FROM table_24961421_1 WHERE us_viewers__millions_ = "12.23"
What is the To par, when the Player is Loren Roberts?
CREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_72 WHERE player = "loren roberts"
What was the game record during week 7?
CREATE TABLE table_24481478_1 (team_record VARCHAR, week VARCHAR)
SELECT team_record FROM table_24481478_1 WHERE week = 7
What is theoriginal air date of the episode directed by timothy van patten?
CREATE TABLE table_11951237_3 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_11951237_3 WHERE directed_by = "Timothy Van Patten"
In the championship Indian Wells, United States (2), who are the opponents in the final?
CREATE TABLE table_26202788_7 (opponent_in_the_final VARCHAR, championship VARCHAR)
SELECT opponent_in_the_final FROM table_26202788_7 WHERE championship = "Indian Wells, United States (2)"
What is Pos., when Height is "m (ft 6in)", and when Name is "Martina Miceli"?
CREATE TABLE table_name_53 (pos VARCHAR, height VARCHAR, name VARCHAR)
SELECT pos FROM table_name_53 WHERE height = "m (ft 6in)" AND name = "martina miceli"
How many f/laps were there when he scored 170 points?
CREATE TABLE table_26794530_1 (f_laps VARCHAR, points VARCHAR)
SELECT COUNT(f_laps) FROM table_26794530_1 WHERE points = "170"
What is the Label name that has a Country of uk and the Catalog is bpg 62988?
CREATE TABLE table_name_73 (label VARCHAR, country VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_73 WHERE country = "uk" AND catalog = "bpg 62988"
Where was the away team st kilda?
CREATE TABLE table_name_52 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_52 WHERE away_team = "st kilda"
When segment B is s pineapple, what is the segment C?
CREATE TABLE table_name_92 (segment_c VARCHAR, segment_b VARCHAR)
SELECT segment_c FROM table_name_92 WHERE segment_b = "s pineapple"
What is province of community with height larger than 1.8 and is in el cibao region?
CREATE TABLE table_name_82 (province VARCHAR, _community VARCHAR, geographical_regions VARCHAR, height VARCHAR)
SELECT province, _community FROM table_name_82 WHERE geographical_regions = "el cibao" AND height > 1.8
Show the names of journalists and the names of the events they reported in ascending order
CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Name VARCHAR, Event_ID VARCHAR, Event_Attendance VARCHAR)
SELECT T3.Name, T2.Name FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID ORDER BY T2.Event_Attendance
HOW MANY TONS OF CO2 EMISSIONS DID RUSSIA PRODUCE IN 2006?
CREATE TABLE table_11251601_2 (carbon_dioxide_emissions_per_year__10_6_tons___2006_ INTEGER, country VARCHAR)
SELECT MAX(carbon_dioxide_emissions_per_year__10_6_tons___2006_) FROM table_11251601_2 WHERE country = "Russia"
WHAT PLACE DOES TOM LEHMAN HAVE?
CREATE TABLE table_name_65 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_65 WHERE player = "tom lehman"
What's the ht for the model released on June 4, 2008?
CREATE TABLE table_27277284_28 (ht VARCHAR, release_date VARCHAR)
SELECT ht FROM table_27277284_28 WHERE release_date = "June 4, 2008"
What was the percentage for K. Themistokleous when I. Kasoulidis was 30.1%?
CREATE TABLE table_name_65 (k_themistokleous VARCHAR, i_kasoulidis VARCHAR)
SELECT k_themistokleous FROM table_name_65 WHERE i_kasoulidis = "30.1%"
What is the average rank for a building with 24 floors?
CREATE TABLE table_name_84 (rank INTEGER, floors VARCHAR)
SELECT AVG(rank) FROM table_name_84 WHERE floors = 24
What is the Place that has a To standard of –1, and a Score of 71-68-76=215?
CREATE TABLE table_name_71 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_71 WHERE to_par = "–1" AND score = 71 - 68 - 76 = 215
What is the name of a location in Nigeria?
CREATE TABLE table_name_28 (name VARCHAR, location VARCHAR)
SELECT name FROM table_name_28 WHERE location = "nigeria"
What is the Name of the Junior from Fayetteville, NC?
CREATE TABLE table_name_69 (name VARCHAR, year VARCHAR, home_town VARCHAR)
SELECT name FROM table_name_69 WHERE year = "junior" AND home_town = "fayetteville, nc"
What Luca Barbarossa song had a draw smaller than 20?
CREATE TABLE table_name_17 (song VARCHAR, draw VARCHAR, artist VARCHAR)
SELECT song FROM table_name_17 WHERE draw < 20 AND artist = "luca barbarossa"
What is the score of the game on January 10?
CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_82 WHERE date = "january 10"
Which Discoveryhas an Operator(s) of lundin?
CREATE TABLE table_name_4 (discovery VARCHAR, operator_s_ VARCHAR)
SELECT discovery FROM table_name_4 WHERE operator_s_ = "lundin"
How many overs bowled for muttiah muralitharan?
CREATE TABLE table_15700367_6 (overs_bowled VARCHAR, name VARCHAR)
SELECT COUNT(overs_bowled) FROM table_15700367_6 WHERE name = "Muttiah Muralitharan"
What is the minimum number of the bmw championship tournament.
CREATE TABLE table_19630743_2 (no INTEGER, tournament VARCHAR)
SELECT MIN(no) FROM table_19630743_2 WHERE tournament = "BMW Championship"
What college did jerry hackenbruck come from who had an overall pick less than 344?
CREATE TABLE table_name_60 (college VARCHAR, overall VARCHAR, name VARCHAR)
SELECT college FROM table_name_60 WHERE overall < 344 AND name = "jerry hackenbruck"
What name is the goals of 25?
CREATE TABLE table_name_18 (name VARCHAR, goals VARCHAR)
SELECT name FROM table_name_18 WHERE goals = 25
Why was a seat left open fo Connecticut at-large?
CREATE TABLE table_224844_4 (reason_for_change VARCHAR, district VARCHAR)
SELECT reason_for_change FROM table_224844_4 WHERE district = "Connecticut At-large"
What is the highest to par of player len mattiace, who has a t7 place and a score of 73-74=147?
CREATE TABLE table_name_83 (to_par INTEGER, player VARCHAR, place VARCHAR, score VARCHAR)
SELECT MAX(to_par) FROM table_name_83 WHERE place = "t7" AND score = 73 - 74 = 147 AND player = "len mattiace"
If the winner is Michael Albasini, what is the mountains classification name?
CREATE TABLE table_22941863_19 (mountains_classification VARCHAR, winner VARCHAR)
SELECT mountains_classification FROM table_22941863_19 WHERE winner = "Michael Albasini"
What are the junctions of the route with termini aguilares, texas us 59?
CREATE TABLE table_name_98 (junctions VARCHAR, termini VARCHAR)
SELECT junctions FROM table_name_98 WHERE termini = "aguilares, texas us 59"
In which tournament was vijay singh a runner-up?
CREATE TABLE table_name_15 (tournament VARCHAR, runner_up VARCHAR)
SELECT tournament FROM table_name_15 WHERE runner_up = "vijay singh"
Which championship was established after 2005?
CREATE TABLE table_name_1 (championships VARCHAR, established INTEGER)
SELECT championships FROM table_name_1 WHERE established > 2005
What is TV Time, when Opponent is At Cincinnati Bengals?
CREATE TABLE table_name_89 (tv_time VARCHAR, opponent VARCHAR)
SELECT tv_time FROM table_name_89 WHERE opponent = "at cincinnati bengals"
Total smaller than 7, and a Bronze larger than 1 is what amount of average silver?
CREATE TABLE table_name_35 (silver INTEGER, total VARCHAR, bronze VARCHAR)
SELECT AVG(silver) FROM table_name_35 WHERE total < 7 AND bronze > 1
What was the attendance on July 30?
CREATE TABLE table_name_77 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_77 WHERE date = "july 30"
What is the total number of yes votes in Newfoundland, which had less than 77,881 vote no?
CREATE TABLE table_name_49 (voted_yes VARCHAR, jurisdiction VARCHAR, voted_no VARCHAR)
SELECT COUNT(voted_yes) FROM table_name_49 WHERE jurisdiction = "newfoundland" AND voted_no < 77 OFFSET 881
What is the total round with an overall of 199 with sweden?
CREATE TABLE table_name_65 (round INTEGER, nationality VARCHAR, overall VARCHAR)
SELECT SUM(round) FROM table_name_65 WHERE nationality = "sweden" AND overall = 199
What is the surface of the tournament with Sascha Kloer as the opponent?
CREATE TABLE table_name_37 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_37 WHERE opponent = "sascha kloer"
Which location belongs to the website, http://www.mudgeerabasoccer.com/?
CREATE TABLE table_11365528_2 (location VARCHAR, website VARCHAR)
SELECT location FROM table_11365528_2 WHERE website = "http://www.mudgeerabasoccer.com/"
If the record is 5-8, what is the team name?
CREATE TABLE table_23285805_4 (team VARCHAR, record VARCHAR)
SELECT team FROM table_23285805_4 WHERE record = "5-8"
What is the 2009 value with A in 2012 and q2 in 2011?
CREATE TABLE table_name_32 (Id VARCHAR)
SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "q2"
What is the average year joined of the 277 county?
CREATE TABLE table_name_43 (year_joined INTEGER, county VARCHAR)
SELECT AVG(year_joined) FROM table_name_43 WHERE county = 277
Who was Choong Tan Fook's opponent in 1999?
CREATE TABLE table_name_42 (opponent VARCHAR, year VARCHAR, partner VARCHAR)
SELECT opponent FROM table_name_42 WHERE year = 1999 AND partner = "choong tan fook"
What mean number of extra points was there when James Lawrence was a player and the touchdown number was less than 1?
CREATE TABLE table_name_7 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR)
SELECT AVG(extra_points) FROM table_name_7 WHERE player = "james lawrence" AND touchdowns < 1
what's the result for district ohio 2
CREATE TABLE table_1342013_34 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342013_34 WHERE district = "Ohio 2"
What is Calvin Mokoto's average rank?
CREATE TABLE table_name_1 (rank INTEGER, athletes VARCHAR)
SELECT AVG(rank) FROM table_name_1 WHERE athletes = "calvin mokoto"
What was the time for Jean Luc Razakarivony with less than 3 heat and more than 2 lanes?
CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT time FROM table_name_44 WHERE heat < 3 AND lane > 2 AND name = "jean luc razakarivony"
For demo 1.6/5, what is the title?
CREATE TABLE table_name_37 (title VARCHAR, demo VARCHAR)
SELECT title FROM table_name_37 WHERE demo = "1.6/5"
what is the elevation of south america?
CREATE TABLE table_27435931_1 (elevation_ft VARCHAR, continent VARCHAR)
SELECT elevation_ft FROM table_27435931_1 WHERE continent = "South America"
What is the high assists score of Nick Collison (11)?
CREATE TABLE table_name_85 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT high_assists FROM table_name_85 WHERE high_rebounds = "nick collison (11)"
What is the score for Hawthorn as an away team?
CREATE TABLE table_name_7 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_7 WHERE away_team = "hawthorn"
What's the attendance when the week was more than 16?
CREATE TABLE table_name_95 (attendance VARCHAR, week INTEGER)
SELECT attendance FROM table_name_95 WHERE week > 16
What is the name for the species Authority of sigmodon hispidus say & ord, 1825?
CREATE TABLE table_name_76 (name VARCHAR, species_authority VARCHAR)
SELECT name FROM table_name_76 WHERE species_authority = "sigmodon hispidus say & ord, 1825"
Who is the second when Mikkel Krause is the third?
CREATE TABLE table_name_18 (second VARCHAR, third VARCHAR)
SELECT second FROM table_name_18 WHERE third = "mikkel krause"
What years have a duration of 18 years, and patrizio rispo as the actor?
CREATE TABLE table_name_26 (years VARCHAR, duration VARCHAR, actor VARCHAR)
SELECT years FROM table_name_26 WHERE duration = "18 years" AND actor = "patrizio rispo"
what's the first elected with incumbent being joe starnes
CREATE TABLE table_1342270_3 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1342270_3 WHERE incumbent = "Joe Starnes"
What was the venue where Carlton was the away team?
CREATE TABLE table_name_3 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_3 WHERE away_team = "carlton"
What is the highest lane for the poland swimmer who ranked under 6?
CREATE TABLE table_name_42 (lane INTEGER, rank VARCHAR, nationality VARCHAR)
SELECT MAX(lane) FROM table_name_42 WHERE rank < 6 AND nationality = "poland"
What was the score of the home team when Richmond was the away team?
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE away_team = "richmond"
what is mon 23 aug when fri 27 aug is 18' 59.25 119.226mph?
CREATE TABLE table_26986076_2 (mon_23_aug VARCHAR, fri_27_aug VARCHAR)
SELECT mon_23_aug FROM table_26986076_2 WHERE fri_27_aug = "18' 59.25 119.226mph"
What is the date of the tournament with Alena Tarasova as the opponent?
CREATE TABLE table_name_56 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_56 WHERE opponent = "alena tarasova"
What were the investment earnings in a year when other local sources were $2,670,060 after 2001?
CREATE TABLE table_name_3 (investment_earnings VARCHAR, year VARCHAR, other_local_sources VARCHAR)
SELECT investment_earnings FROM table_name_3 WHERE year > 2001 AND other_local_sources = "$2,670,060"