question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was her lowest final score with a qualifying score of 74.075?
CREATE TABLE table_name_7 (score_final INTEGER, score_qualifying VARCHAR)
SELECT MIN(score_final) FROM table_name_7 WHERE score_qualifying = 74.075
Which tournament was runner-up paul annacone eric korita?
CREATE TABLE table_29296103_10 (tournament VARCHAR, runner_up VARCHAR)
SELECT tournament FROM table_29296103_10 WHERE runner_up = "Paul Annacone Eric Korita"
Show the premise type and address type code for all customer addresses.
CREATE TABLE premises (premises_type VARCHAR, premise_id VARCHAR); CREATE TABLE customer_addresses (address_type_code VARCHAR, premise_id VARCHAR)
SELECT T2.premises_type, T1.address_type_code FROM customer_addresses AS T1 JOIN premises AS T2 ON T1.premise_id = T2.premise_id
Where did Collingwood play ae the away team?
CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_57 WHERE away_team = "collingwood"
Which teams were in the central division and located in livonia?
CREATE TABLE table_11094950_1 (team VARCHAR, division VARCHAR, location VARCHAR)
SELECT team FROM table_11094950_1 WHERE division = "Central" AND location = "Livonia"
What is Stephen Thompson's School/Club Team?
CREATE TABLE table_name_80 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_80 WHERE player = "stephen thompson"
Who was Henry Hyde's opponent in the race?
CREATE TABLE table_1341568_14 (opponent VARCHAR, incumbent VARCHAR)
SELECT opponent FROM table_1341568_14 WHERE incumbent = "Henry Hyde"
Which county had a 3.6% unemployment rate?
CREATE TABLE table_22815568_2 (county VARCHAR, unemployment_rate VARCHAR)
SELECT county FROM table_22815568_2 WHERE unemployment_rate = "3.6%"
What was the airdate of the episode that was directed by giancarlo volpe and written by is john o'bryan?
CREATE TABLE table_14562722_1 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_14562722_1 WHERE directed_by = "Giancarlo Volpe" AND written_by = "John O'Bryan"
What is the To par of the player with a Finish of T20?
CREATE TABLE table_name_67 (to_par VARCHAR, finish VARCHAR)
SELECT to_par FROM table_name_67 WHERE finish = "t20"
what is the score when the surface is clay and the tournament is san marino?
CREATE TABLE table_name_18 (score VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_18 WHERE surface = "clay" AND tournament = "san marino"
What is Date, when Venue is Melbourne Cricket Ground, and when Result is Eng By Inns&225 Runs?
CREATE TABLE table_name_95 (date VARCHAR, venue VARCHAR, result VARCHAR)
SELECT date FROM table_name_95 WHERE venue = "melbourne cricket ground" AND result = "eng by inns&225 runs"
What is the name of this constellation with an area of 245.375 sq. deg.?
CREATE TABLE table_177766_1 (constellation VARCHAR, area__sqdeg_ VARCHAR)
SELECT constellation FROM table_177766_1 WHERE area__sqdeg_ = "245.375"
Who was the opponent when the Seattle Seahawks had a record of 0-1?
CREATE TABLE table_name_18 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_18 WHERE record = "0-1"
what is the venue when the home team is melbourne?
CREATE TABLE table_name_67 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_67 WHERE home_team = "melbourne"
What is the total of tries for a player with conv smaller than 45, 19 starts and pens fewer than 22?
CREATE TABLE table_name_83 (tries VARCHAR, pens VARCHAR, conv VARCHAR, start VARCHAR)
SELECT COUNT(tries) FROM table_name_83 WHERE conv < 45 AND start = 19 AND pens < 22
Name the score for march 8
CREATE TABLE table_30049462_8 (score VARCHAR, date VARCHAR)
SELECT score FROM table_30049462_8 WHERE date = "March 8"
What was the record after game 20?
CREATE TABLE table_20010140_9 (record VARCHAR, game VARCHAR)
SELECT record FROM table_20010140_9 WHERE game = 20
What was the year Elected of Republican Incumbent Dave Reichert?
CREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)
SELECT elected FROM table_name_31 WHERE party = "republican" AND incumbent = "dave reichert"
What was the quantity of the A Score when the E Score was larger than 9.566 in the Greece and the T score was more than 4?
CREATE TABLE table_name_54 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, nation VARCHAR)
SELECT SUM(a_score) FROM table_name_54 WHERE e_score > 9.566 AND nation = "greece" AND t_score > 4
In the 1958-59 season, what league did the team play in?
CREATE TABLE table_name_7 (league VARCHAR, season VARCHAR)
SELECT league FROM table_name_7 WHERE season = "1958-59"
What's the lowest goal difference when the position is higher than 16?
CREATE TABLE table_name_85 (goal_difference INTEGER, position INTEGER)
SELECT MIN(goal_difference) FROM table_name_85 WHERE position > 16
What is the sum of Broadcasts (TV) 1, when Series is "3 4", and when US Release Date is "27 December 2006"?
CREATE TABLE table_name_47 (broadcasts__tv__1 INTEGER, series VARCHAR, us_release_date VARCHAR)
SELECT SUM(broadcasts__tv__1) FROM table_name_47 WHERE series = "3 4" AND us_release_date = "27 december 2006"
What notes have 2 as the rank?
CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR)
SELECT notes FROM table_name_62 WHERE rank = 2
What was the par for the t5 place player Steve Jones?
CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_16 WHERE place = "t5" AND player = "steve jones"
Tell me the highest league goals with total goals less than 1 and FA cups more than 0
CREATE TABLE table_name_67 (league_goals INTEGER, total_goals VARCHAR, fa_cup_goals VARCHAR)
SELECT MAX(league_goals) FROM table_name_67 WHERE total_goals < 1 AND fa_cup_goals > 0
What is the total number of positions for teams with more than 7 draws and under 40 played?
CREATE TABLE table_name_66 (position VARCHAR, drawn VARCHAR, played VARCHAR)
SELECT COUNT(position) FROM table_name_66 WHERE drawn > 7 AND played < 40
Which Segment A has a Segment B of s awning?
CREATE TABLE table_name_61 (segment_a VARCHAR, segment_b VARCHAR)
SELECT segment_a FROM table_name_61 WHERE segment_b = "s awning"
What was the ER average for the player that conceded 368 runs?
CREATE TABLE table_15700367_6 (er VARCHAR, runs_conceded VARCHAR)
SELECT er FROM table_15700367_6 WHERE runs_conceded = 368
WHAT TEAM WAS AN NCAA CHAMPION?
CREATE TABLE table_name_76 (team VARCHAR, notes VARCHAR)
SELECT team FROM table_name_76 WHERE notes = "ncaa champion"
What is the average number of draws of the central murray of leitchville gunbower, which has less than 0 byes?
CREATE TABLE table_name_30 (draws INTEGER, central_murray VARCHAR, byes VARCHAR)
SELECT AVG(draws) FROM table_name_30 WHERE central_murray = "leitchville gunbower" AND byes < 0
How many players currently play for Barons Riga?
CREATE TABLE table_12962773_10 (position VARCHAR, current_club VARCHAR)
SELECT COUNT(position) FROM table_12962773_10 WHERE current_club = "Barons Riga"
what livery has a status of in service as coaching stock?
CREATE TABLE table_name_74 (livery VARCHAR, status VARCHAR)
SELECT livery FROM table_name_74 WHERE status = "in service as coaching stock"
How much Total has a Silver smaller than 0?
CREATE TABLE table_name_38 (total VARCHAR, silver INTEGER)
SELECT COUNT(total) FROM table_name_38 WHERE silver < 0
What is the sum of speed in km per hour reached by John Egginton?
CREATE TABLE table_name_43 (speed__km_h_ INTEGER, pilot VARCHAR)
SELECT SUM(speed__km_h_) FROM table_name_43 WHERE pilot = "john egginton"
Played that has a Points of 38, and a B.P. larger than 5 has what sum?
CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, bp VARCHAR)
SELECT SUM(played) FROM table_name_52 WHERE points = 38 AND bp > 5
What is the torque for Model of 2.0 bitdi (cr) dpf, in 2010–?
CREATE TABLE table_name_37 (torque VARCHAR, model VARCHAR, years VARCHAR)
SELECT torque FROM table_name_37 WHERE model = "2.0 bitdi (cr) dpf" AND years = "2010–"
Which constructor was there for the race with 25 laps?
CREATE TABLE table_name_31 (constructor VARCHAR, laps VARCHAR)
SELECT constructor FROM table_name_31 WHERE laps = 25
How many points did Newport RFC get?
CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR)
SELECT points FROM table_name_58 WHERE club = "newport rfc"
What were the wins of 1983?
CREATE TABLE table_2622469_1 (wins VARCHAR, year VARCHAR)
SELECT wins FROM table_2622469_1 WHERE year = 1983
What was the date of the race with a winning time of 1:55:13?
CREATE TABLE table_17801022_1 (date VARCHAR, race_time VARCHAR)
SELECT date FROM table_17801022_1 WHERE race_time = "1:55:13"
What is the sum of Total, when Rank is 8, and when Bronze is less than 1?
CREATE TABLE table_name_95 (total INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_95 WHERE rank = "8" AND bronze < 1
What is the sum of Total Passengers when the annual change is 9.7% and the rank is less than 6?
CREATE TABLE table_name_9 (total_passengers INTEGER, annual_change VARCHAR, rank VARCHAR)
SELECT SUM(total_passengers) FROM table_name_9 WHERE annual_change = "9.7%" AND rank < 6
WHAT IS THE NAME WITH 01.0 10 light street?
CREATE TABLE table_name_63 (name VARCHAR, street_address VARCHAR)
SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street"
What day in october was game number 4 with under 3 points?
CREATE TABLE table_name_18 (october VARCHAR, game VARCHAR, points VARCHAR)
SELECT COUNT(october) FROM table_name_18 WHERE game = 4 AND points < 3
what's the lost with club being colwyn bay rfc
CREATE TABLE table_14058433_5 (lost VARCHAR, club VARCHAR)
SELECT lost FROM table_14058433_5 WHERE club = "Colwyn Bay RFC"
Name the representation for om fjorten dage
CREATE TABLE table_name_59 (representing VARCHAR, original_title VARCHAR)
SELECT representing FROM table_name_59 WHERE original_title = "om fjorten dage"
What were the requirements for the role played by Robert Austin in the original production?
CREATE TABLE table_17827271_1 (actor_required VARCHAR, actor_in_original_production VARCHAR)
SELECT actor_required FROM table_17827271_1 WHERE actor_in_original_production = "Robert Austin"
What is the 2011 when the 2010 shows grand slam tournaments?
CREATE TABLE table_name_36 (Id VARCHAR)
SELECT 2011 FROM table_name_36 WHERE 2010 = "grand slam tournaments"
How many origins have titles of Samoan cricket bats?
CREATE TABLE table_29635868_1 (origin VARCHAR, title_ VARCHAR, _link_to_episode_on_youtube VARCHAR)
SELECT COUNT(origin) FROM table_29635868_1 WHERE title_ & _link_to_episode_on_youtube = "Samoan Cricket Bats"
What is the year where the runner-up outcome was at its basic minimum?
CREATE TABLE table_22858557_1 (year INTEGER, outcome VARCHAR)
SELECT MIN(year) FROM table_22858557_1 WHERE outcome = "Runner-up"
How many goals did the player with 229 club apps have?
CREATE TABLE table_name_69 (goals VARCHAR, club_apps VARCHAR)
SELECT goals FROM table_name_69 WHERE club_apps = "229"
What is the Score that has a Winnipeg Jets as Visitor on april 7?
CREATE TABLE table_name_10 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_10 WHERE visitor = "winnipeg jets" AND date = "april 7"
Who was the opponent with a result of l 14–6?
CREATE TABLE table_name_6 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_6 WHERE result = "l 14–6"
What county has others at 5?
CREATE TABLE table_20573232_1 (county VARCHAR, others_number VARCHAR)
SELECT county FROM table_20573232_1 WHERE others_number = 5
What is the date of the inauguration with a Length of retirement of 00,624 days?
CREATE TABLE table_name_78 (date_of_inauguration VARCHAR, length_of_retirement VARCHAR)
SELECT date_of_inauguration FROM table_name_78 WHERE length_of_retirement = "00,624 days"
what is the pick when the school is jasper hs (jasper, texas)?
CREATE TABLE table_name_63 (pick VARCHAR, school VARCHAR)
SELECT pick FROM table_name_63 WHERE school = "jasper hs (jasper, texas)"
Which city does has most number of customers?
CREATE TABLE Customers (customer_address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)
SELECT T2.city FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id GROUP BY T2.city ORDER BY COUNT(*) DESC LIMIT 1
What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th?
CREATE TABLE table_name_25 (division INTEGER, playoffs VARCHAR, regular_season VARCHAR)
SELECT MAX(division) FROM table_name_25 WHERE playoffs = "quarter finals" AND regular_season = "5th"
Name the webcast for website of • and frequency of 103.3
CREATE TABLE table_name_5 (webcast VARCHAR, website VARCHAR, frequency VARCHAR)
SELECT webcast FROM table_name_5 WHERE website = "•" AND frequency = 103.3
Name the city of license for call sign of kcmp
CREATE TABLE table_name_95 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_95 WHERE call_sign = "kcmp"
Which Top-25 has a Top-5 smaller than 0?
CREATE TABLE table_name_3 (top_25 INTEGER, top_5 INTEGER)
SELECT SUM(top_25) FROM table_name_3 WHERE top_5 < 0
What are the active pixels of the cantare model?
CREATE TABLE table_name_10 (active_pixels VARCHAR, model VARCHAR)
SELECT active_pixels FROM table_name_10 WHERE model = "cantare"
What rank was Peru with a total greater than 3?
CREATE TABLE table_name_34 (rank INTEGER, country VARCHAR, total VARCHAR)
SELECT MAX(rank) FROM table_name_34 WHERE country = "peru" AND total > 3
Which Goals is the lowest one that has Matches of 16, and a Scorer of park sang-in?
CREATE TABLE table_name_92 (goals INTEGER, matches VARCHAR, scorer VARCHAR)
SELECT MIN(goals) FROM table_name_92 WHERE matches = "16" AND scorer = "park sang-in"
I want to know the date for western oval venue
CREATE TABLE table_name_31 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_31 WHERE venue = "western oval"
What is the number of Matches for Vits Rimkus with a Rank of less than 3?
CREATE TABLE table_name_2 (matches INTEGER, name VARCHAR, rank VARCHAR)
SELECT AVG(matches) FROM table_name_2 WHERE name = "vits rimkus" AND rank < 3
How long were Ray Bradbury and his wife married?
CREATE TABLE table_24143253_4 (length_of_marriage VARCHAR, name VARCHAR)
SELECT length_of_marriage FROM table_24143253_4 WHERE name = "Ray Bradbury"
How many ranks on the money list had a best finish of t10?
CREATE TABLE table_29499399_2 (money_list_rank VARCHAR, best_finish VARCHAR)
SELECT COUNT(money_list_rank) FROM table_29499399_2 WHERE best_finish = "T10"
What is the Set 1 with a Set 2 that is 25-19?
CREATE TABLE table_name_12 (set_1 VARCHAR, set_2 VARCHAR)
SELECT set_1 FROM table_name_12 WHERE set_2 = "25-19"
What's the platform of Super Mario All-Stars?
CREATE TABLE table_name_89 (platform VARCHAR, title VARCHAR)
SELECT platform FROM table_name_89 WHERE title = "super mario all-stars"
Show all distinct cities in the address record.
CREATE TABLE addresses (city VARCHAR)
SELECT DISTINCT city FROM addresses
What mission did the astronaut who 38 years old on the mission and who served in NASA serve on?
CREATE TABLE table_name_70 (mission VARCHAR, service VARCHAR, age_on_mission VARCHAR)
SELECT mission FROM table_name_70 WHERE service = "nasa" AND age_on_mission = 38
At what time did the opponent Takaichi Hirayama have an event?
CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_83 WHERE opponent = "takaichi hirayama"
What is the country of the contestant with a swimsuit of 9.46?
CREATE TABLE table_name_19 (country VARCHAR, swimsuit VARCHAR)
SELECT country FROM table_name_19 WHERE swimsuit = 9.46
What is the Pole Position of the Portuguese Grand Prix?
CREATE TABLE table_name_98 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT pole_position FROM table_name_98 WHERE grand_prix = "portuguese grand prix"
What date was the game with the away team york city?
CREATE TABLE table_name_56 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_56 WHERE away_team = "york city"
Where is two medicine formation?
CREATE TABLE table_name_46 (location VARCHAR, unit VARCHAR)
SELECT location FROM table_name_46 WHERE unit = "two medicine formation"
How many Uni numbers have Bats of s, and a Position of utl?
CREATE TABLE table_name_31 (uni_number VARCHAR, bats VARCHAR, position VARCHAR)
SELECT COUNT(uni_number) FROM table_name_31 WHERE bats = "s" AND position = "utl"
What was the name of the race in Bordeaux?
CREATE TABLE table_1140113_5 (race_name VARCHAR, circuit VARCHAR)
SELECT race_name FROM table_1140113_5 WHERE circuit = "Bordeaux"
What is the Name of the Grondzeiler Mill?
CREATE TABLE table_name_24 (name_of_mill VARCHAR, type VARCHAR)
SELECT name_of_mill FROM table_name_24 WHERE type = "grondzeiler"
what is the minimum total with kerry % being 16.71%
CREATE TABLE table_13606924_1 (total INTEGER, kerry__percentage VARCHAR)
SELECT MIN(total) FROM table_13606924_1 WHERE kerry__percentage = "16.71%"
What is the saturated fat with 28g of polyunsaturated fat?
CREATE TABLE table_name_6 (saturated_fat VARCHAR, polyunsaturated_fat VARCHAR)
SELECT saturated_fat FROM table_name_6 WHERE polyunsaturated_fat = "28g"
Which Points have Drawn of 1, and a Played larger than 14?
CREATE TABLE table_name_95 (points INTEGER, drawn VARCHAR, played VARCHAR)
SELECT MAX(points) FROM table_name_95 WHERE drawn = 1 AND played > 14
What is the away team with a 2 tie no.?
CREATE TABLE table_name_6 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_6 WHERE tie_no = "2"
WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18?
CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_80 WHERE date = "november 18"
What is Doug Ford's country?
CREATE TABLE table_name_1 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_1 WHERE player = "doug ford"
What is the league established before 1930 with the rayo vallecano club?
CREATE TABLE table_name_26 (league VARCHAR, established VARCHAR, club VARCHAR)
SELECT league FROM table_name_26 WHERE established < 1930 AND club = "rayo vallecano"
Name the number of years for 18.5
CREATE TABLE table_2181798_1 (year VARCHAR, avg_finish VARCHAR)
SELECT COUNT(year) FROM table_2181798_1 WHERE avg_finish = "18.5"
What was the official rating 16-39 of episode 9?
CREATE TABLE table_29773532_21 (official_rating_16_39 VARCHAR, episode VARCHAR)
SELECT official_rating_16_39 FROM table_29773532_21 WHERE episode = 9
What's the average round for the OT position from tulane college with an overall over 38?
CREATE TABLE table_name_41 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)
SELECT AVG(round) FROM table_name_41 WHERE position = "ot" AND college = "tulane" AND overall > 38
What was the score of Game 16?
CREATE TABLE table_name_4 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_4 WHERE game = "16"
What is the Unit with a Name that is anas cheuen?
CREATE TABLE table_name_58 (unit VARCHAR, name VARCHAR)
SELECT unit FROM table_name_58 WHERE name = "anas cheuen"
What was Melbourne's away team score?
CREATE TABLE table_name_20 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_20 WHERE away_team = "melbourne"
How many reports are there in the race that Forsythe Racing won and Teo Fabi had the pole position in?
CREATE TABLE table_10706961_2 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT COUNT(report) FROM table_10706961_2 WHERE winning_team = "Forsythe Racing" AND pole_position = "Teo Fabi"
Name the average year for manly-warringah sea eagles
CREATE TABLE table_name_13 (year INTEGER, opponent VARCHAR)
SELECT AVG(year) FROM table_name_13 WHERE opponent = "manly-warringah sea eagles"
How many calories is 1 watt hour?
CREATE TABLE table_name_64 (calorie VARCHAR, watt_hour VARCHAR)
SELECT calorie FROM table_name_64 WHERE watt_hour = "1"
What is the average played value in Belgrade with attendance greater than 26,222?
CREATE TABLE table_name_83 (played INTEGER, city VARCHAR, average_attendance VARCHAR)
SELECT AVG(played) FROM table_name_83 WHERE city = "belgrade" AND average_attendance > 26 OFFSET 222
Who is the author of the Play Electra?
CREATE TABLE table_name_24 (author VARCHAR, play VARCHAR)
SELECT author FROM table_name_24 WHERE play = "electra"
Which Competition has a Year larger than 2000?
CREATE TABLE table_name_45 (competition VARCHAR, year INTEGER)
SELECT competition FROM table_name_45 WHERE year > 2000