answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT time__eest_ FROM table_name_5 WHERE stage = "ss8"
What is the Time (EEST), when the Stage is ss8?
CREATE TABLE table_name_5 (time__eest_ VARCHAR, stage VARCHAR)
SELECT series FROM table_25369796_1 WHERE points = "56"
What was the series where a team scored 56 points?
CREATE TABLE table_25369796_1 (series VARCHAR, points VARCHAR)
SELECT circuit FROM table_name_77 WHERE session = "qualifying"
What circuit has qualifying as the session?
CREATE TABLE table_name_77 (circuit VARCHAR, session VARCHAR)
SELECT height FROM table_27515452_3 WHERE sizes = "33-24-35"
how tall is someone who is able to wear 33-24-35
CREATE TABLE table_27515452_3 (height VARCHAR, sizes VARCHAR)
SELECT MAX(height__m_) FROM table_name_98 WHERE prominence__m_ = 3 OFFSET 118
What is the largest height when the prominence is 3,118?
CREATE TABLE table_name_98 (height__m_ INTEGER, prominence__m_ VARCHAR)
SELECT score FROM table_name_38 WHERE tournament = "cagnes-sur-mer"
what is the score for the tournament cagnes-sur-mer?
CREATE TABLE table_name_38 (score VARCHAR, tournament VARCHAR)
SELECT MAX(enrollment) FROM table_10577579_2 WHERE founded = 1866 AND type = "Private/(African Methodist)"
What is the enrollment for the institution that was founded in 1866 and is a private/(african methodist) type?
CREATE TABLE table_10577579_2 (enrollment INTEGER, founded VARCHAR, type VARCHAR)
SELECT SUM(avg_g) FROM table_name_93 WHERE gain = 1 OFFSET 839
Which Avg/G has a Gain of 1,839?
CREATE TABLE table_name_93 (avg_g INTEGER, gain VARCHAR)
SELECT song FROM table_19249824_1 WHERE result = "Out" AND country = "Sweden"
With the country of Sweden and the result is out, what is the song?
CREATE TABLE table_19249824_1 (song VARCHAR, result VARCHAR, country VARCHAR)
SELECT order__number FROM table_26250253_1 WHERE week__number = "Top 10"
The order # is what for the week # Top 10?
CREATE TABLE table_26250253_1 (order__number VARCHAR, week__number VARCHAR)
SELECT position FROM table_2781227_9 WHERE player = "Barrie Moore"
What position(s) does barrie moore play?
CREATE TABLE table_2781227_9 (position VARCHAR, player VARCHAR)
SELECT game_site FROM table_name_57 WHERE week = "14"
Where did they play in week 14?
CREATE TABLE table_name_57 (game_site VARCHAR, week VARCHAR)
SELECT country FROM table_name_9 WHERE film_title_used_in_nomination = "tent of miracles"
Which country is the film Tent of Miracles from?
CREATE TABLE table_name_9 (country VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT release_date FROM table_name_92 WHERE director = "tom palmer" AND production_num > 5956
Which Release date has a Director of tom palmer, and a Production Num larger than 5956?
CREATE TABLE table_name_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR)
SELECT team FROM table_name_22 WHERE location_attendance = "seattle center coliseum 12,591"
What team has a location and attendance at the Seattle Center Coliseum 12,591?
CREATE TABLE table_name_22 (team VARCHAR, location_attendance VARCHAR)
SELECT AVG(capacity) FROM table_name_89 WHERE navigator = "macneall"
What is the average capacity for the vehicle having a navigator of Macneall?
CREATE TABLE table_name_89 (capacity INTEGER, navigator VARCHAR)
SELECT pa FROM table_1370559_1 WHERE pf = 77
What is the PA when the PF is 77?
CREATE TABLE table_1370559_1 (pa VARCHAR, pf VARCHAR)
SELECT kit_maker FROM table_name_68 WHERE manager = "ron jans"
Ron Jans is a manager of which kit maker?
CREATE TABLE table_name_68 (kit_maker VARCHAR, manager VARCHAR)
SELECT standing FROM table_2619469_1 WHERE goals_against = 130
What was the team standing if the won 130 goals against another team?
CREATE TABLE table_2619469_1 (standing VARCHAR, goals_against VARCHAR)
SELECT digital FROM table_name_91 WHERE tuner = "thomson dtt75105"
Tell me the digital for tuner of thomson dtt75105
CREATE TABLE table_name_91 (digital VARCHAR, tuner VARCHAR)
SELECT COUNT(total_rebounds) FROM table_name_5 WHERE player = "andre gaddy" AND rank < 6
How many rebounds have a Player of andre gaddy, and a Rank smaller than 6?
CREATE TABLE table_name_5 (total_rebounds VARCHAR, player VARCHAR, rank VARCHAR)
SELECT goals_against FROM table_name_44 WHERE goal_difference < 43 AND wins < 13 AND losses > 14
What is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14?
CREATE TABLE table_name_44 (goals_against VARCHAR, losses VARCHAR, goal_difference VARCHAR, wins VARCHAR)
SELECT MIN(top_10) FROM table_name_95 WHERE cuts_made = 10 AND top_5 > 1
Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1?
CREATE TABLE table_name_95 (top_10 INTEGER, cuts_made VARCHAR, top_5 VARCHAR)
SELECT AVG(points) FROM table_name_54 WHERE driver = "ryan hunter-reay"
What is the average points that the driver Ryan Hunter-Reay has?
CREATE TABLE table_name_54 (points INTEGER, driver VARCHAR)
SELECT MAX(district) FROM table_26131768_4 WHERE representative = "Barbara Sears"
If the Representative is Barbara sears, what is the district number?
CREATE TABLE table_26131768_4 (district INTEGER, representative VARCHAR)
SELECT COUNT(week) FROM table_name_94 WHERE opponent = "san diego chargers"
What week was the opponent the San Diego Chargers?
CREATE TABLE table_name_94 (week VARCHAR, opponent VARCHAR)
SELECT 3 AS ’utr_sequence FROM table_14332822_1 WHERE variant_id = "ACD'6A 3"
What is the 3'utr sequence with a variant id of acd'6a 3?
CREATE TABLE table_14332822_1 (variant_id VARCHAR)
SELECT type FROM table_name_41 WHERE state = "chu"
What type of state was Chu?
CREATE TABLE table_name_41 (type VARCHAR, state VARCHAR)
SELECT position FROM table_26141160_2 WHERE team = "Dallas Burn"
Dallas Burn's draft pick was which position?
CREATE TABLE table_26141160_2 (position VARCHAR, team VARCHAR)
SELECT score FROM table_name_13 WHERE tie_no = "15"
What is the score for the tie number 15?
CREATE TABLE table_name_13 (score VARCHAR, tie_no VARCHAR)
SELECT int_percentage FROM table_name_29 WHERE ravg = "2.8"
What is the int percentage that has Ravg of 2.8?
CREATE TABLE table_name_29 (int_percentage VARCHAR, ravg VARCHAR)
SELECT pick FROM table_name_55 WHERE college = "baylor"
What pick number was the player that went to baylor college?
CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR)
SELECT round FROM table_name_42 WHERE record = "1-0"
Which round did the bout that led to a 1-0 record end in?
CREATE TABLE table_name_42 (round VARCHAR, record VARCHAR)
SELECT reversal_symmetry FROM table_name_1 WHERE non_dictatorship = "yes" AND consistency_ & _participation = "no" AND clone_independence = "yes"
what is the reversal symmetry when non-dictatorship is yes, consistency & participation is no, and clone independence is yes?
CREATE TABLE table_name_1 (reversal_symmetry VARCHAR, clone_independence VARCHAR, non_dictatorship VARCHAR, consistency_ VARCHAR, _participation VARCHAR)
SELECT mid_hill_zone FROM table_10638523_1 WHERE particulars_and_characteristics = "Altitude"
For mid-hill zone what is the altitude?
CREATE TABLE table_10638523_1 (mid_hill_zone VARCHAR, particulars_and_characteristics VARCHAR)
SELECT report FROM table_1140080_2 WHERE race = "Argentine Grand Prix"
what's the report with race argentine grand prix
CREATE TABLE table_1140080_2 (report VARCHAR, race VARCHAR)
SELECT tries_against FROM table_name_34 WHERE try_diff = "+15"
What is Tries Against, when Try Diff is +15?
CREATE TABLE table_name_34 (tries_against VARCHAR, try_diff VARCHAR)
SELECT COUNT(seans_team) FROM table_23292220_7 WHERE episode = "7x04"
Name the total number of seans team being 7x04
CREATE TABLE table_23292220_7 (seans_team VARCHAR, episode VARCHAR)
SELECT COUNT(name) FROM table_15827397_1 WHERE livery = "Highland Railway green"
How many locomotives have a livery that is highland railway green
CREATE TABLE table_15827397_1 (name VARCHAR, livery VARCHAR)
SELECT order_id, COUNT(*) FROM Invoices GROUP BY order_id
Show the order ids and the number of invoices for each order.
CREATE TABLE Invoices (order_id VARCHAR)
SELECT event FROM table_name_22 WHERE record = "4–2"
What event has a Record of 4–2?
CREATE TABLE table_name_22 (event VARCHAR, record VARCHAR)
SELECT Team FROM technician GROUP BY Team HAVING COUNT(*) >= 2
Show the team that have at least two technicians.
CREATE TABLE technician (Team VARCHAR)
SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = "Tolland"
What district is the court located in Tolland?
CREATE TABLE table_26758262_1 (district INTEGER, location_of_court VARCHAR)
SELECT acquired FROM table_name_18 WHERE player = "bruce graham"
In what year was player Bruce Graham acquired?
CREATE TABLE table_name_18 (acquired VARCHAR, player VARCHAR)
SELECT driver FROM table_name_83 WHERE laps = 3 AND grid < 15
Which driver had 3 Laps and grids less than 15?
CREATE TABLE table_name_83 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT package FROM table_name_17 WHERE eeprom < 128
Tell me the package for EEPROM less than 128
CREATE TABLE table_name_17 (package VARCHAR, eeprom INTEGER)
SELECT team FROM table_23286112_8 WHERE date = "January 4"
Name the team for january 4
CREATE TABLE table_23286112_8 (team VARCHAR, date VARCHAR)
SELECT naming FROM table_2088_1 WHERE fluency = "fluent" AND auditory_comprehension = "poor"
Name the naming for fluent and poor comprehension
CREATE TABLE table_2088_1 (naming VARCHAR, fluency VARCHAR, auditory_comprehension VARCHAR)
SELECT MIN(series__number) FROM table_name_41 WHERE production_code = 717 AND season__number < 17
Name the least series number with production code of 717 and season number less than 17
CREATE TABLE table_name_41 (series__number INTEGER, production_code VARCHAR, season__number VARCHAR)
SELECT hebrew FROM table_26919_6 WHERE proto_semitic = "*tišʻ-"
Name the hebrew for *tišʻ-
CREATE TABLE table_26919_6 (hebrew VARCHAR, proto_semitic VARCHAR)
SELECT opponents FROM table_name_43 WHERE djurgården_scorers = "sjölund (2)"
What are the Opponents that have Djurgården scorers of sjölund (2)?
CREATE TABLE table_name_43 (opponents VARCHAR, djurgården_scorers VARCHAR)
SELECT award FROM table_name_2 WHERE result = "nominated" AND year = 2007
What award was Trent Tesoro nominated for in 2007?
CREATE TABLE table_name_2 (award VARCHAR, result VARCHAR, year VARCHAR)
SELECT result FROM table_name_84 WHERE week__number = "top 11"
What was the result after the week # top 11?
CREATE TABLE table_name_84 (result VARCHAR, week__number VARCHAR)
SELECT chassis FROM table_name_33 WHERE entrant = "scuderia ferrari" AND points > 1
What chassis type does a scuderia ferrari with more than 1 point have?
CREATE TABLE table_name_33 (chassis VARCHAR, entrant VARCHAR, points VARCHAR)
SELECT average FROM table_1354805_6 WHERE number_of_dances = 1
tell the competitions where the mean is 1
CREATE TABLE table_1354805_6 (average VARCHAR, number_of_dances VARCHAR)
SELECT mountains_classification FROM table_name_80 WHERE general_classification = "mark cavendish" AND team_classification = "garmin-chipotle-h30"
What mountains classification corresponds to Mark Cavendish and the Garmin-Chipotle-H30?
CREATE TABLE table_name_80 (mountains_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)
SELECT transaction_type, SUM(transaction_amount) FROM Financial_transactions GROUP BY transaction_type
Show the transaction types and the total amount of transactions.
CREATE TABLE Financial_transactions (transaction_type VARCHAR, transaction_amount INTEGER)
SELECT AVG(front_row_starts) FROM table_name_85 WHERE pole_positions < 68 AND entries < 52
What's the average front row starts for drivers with less than 68 pole positions and entries lower than 52?
CREATE TABLE table_name_85 (front_row_starts INTEGER, pole_positions VARCHAR, entries VARCHAR)
SELECT home_team AS score FROM table_name_53 WHERE home_team = "south melbourne"
What is south melbourne's home side score?
CREATE TABLE table_name_53 (home_team VARCHAR)
SELECT COUNT(score) FROM table_21260421_1 WHERE location = "Alabama"
How many tournaments were held at Alabama?
CREATE TABLE table_21260421_1 (score VARCHAR, location VARCHAR)
SELECT MAX(bronze) FROM table_name_15 WHERE rank = "12"
What is the high bronze total for nations ranked 12?
CREATE TABLE table_name_15 (bronze INTEGER, rank VARCHAR)
SELECT position FROM table_name_88 WHERE years_for_rockets = "1981"
What was the position of the player who played for the Rockets during 1981?
CREATE TABLE table_name_88 (position VARCHAR, years_for_rockets VARCHAR)
SELECT finale FROM table_28962227_1 WHERE runners_up = "Miranda Gore Browne"
What is the date when Miranda Gore Browne was runner-up?
CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR)
SELECT name_v_t_e FROM table_name_87 WHERE club = "pro recco"
What is the name of the player from club pro recco?
CREATE TABLE table_name_87 (name_v_t_e VARCHAR, club VARCHAR)
SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = "Aberdeen"
What are flight numbers of flights arriving at City "Aberdeen"?
CREATE TABLE FLIGHTS (FlightNo VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)
SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart"
Which First elected is the lowest one that has an Incumbent of william stewart?
CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR)
SELECT record FROM table_name_62 WHERE time = "3:05"
What was his record when the match went for 3:05?
CREATE TABLE table_name_62 (record VARCHAR, time VARCHAR)
SELECT MIN(year) FROM table_name_44 WHERE country = "mexico"
What is the earliest year of a film from Mexico?
CREATE TABLE table_name_44 (year INTEGER, country VARCHAR)
SELECT MAX(number_of_people_1991) FROM table_name_67 WHERE percent_of_slovenes_1991 = "14.4%"
Which Number of people 1991 has a Percent of Slovenes 1991 of 14.4%?
CREATE TABLE table_name_67 (number_of_people_1991 INTEGER, percent_of_slovenes_1991 VARCHAR)
SELECT score FROM table_name_12 WHERE date = "21/07/07"
On 21/07/07, what was the score?
CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_13 WHERE game > 4 AND date = "may 27"
Which High rebounds have a Game larger than 4, and a Date of may 27?
CREATE TABLE table_name_13 (high_rebounds VARCHAR, game VARCHAR, date VARCHAR)
SELECT competition FROM table_name_95 WHERE date = "october 7, 2011"
What competition was played on October 7, 2011?
CREATE TABLE table_name_95 (competition VARCHAR, date VARCHAR)
SELECT episode FROM table_26250151_1 WHERE original_recording_artist = "LaVern Baker"
Which episode had Lavern Baker?
CREATE TABLE table_26250151_1 (episode VARCHAR, original_recording_artist VARCHAR)
SELECT capacity FROM table_name_37 WHERE class = "4c3h"
Which capacity has the class 4c3h?
CREATE TABLE table_name_37 (capacity VARCHAR, class VARCHAR)
SELECT name, street_address, floors FROM building ORDER BY floors
Show the name, street address, and number of floors for all buildings ordered by the number of floors.
CREATE TABLE building (name VARCHAR, street_address VARCHAR, floors VARCHAR)
SELECT date FROM table_name_40 WHERE record = "31–19–9"
What was the date of the game when the Canadiens had a record of 31–19–9?
CREATE TABLE table_name_40 (date VARCHAR, record VARCHAR)
SELECT opponents_in_the_final FROM table_name_51 WHERE date = "june 10, 1996"
Which Opponents in the final have a Date of june 10, 1996?
CREATE TABLE table_name_51 (opponents_in_the_final VARCHAR, date VARCHAR)
SELECT position FROM table_name_51 WHERE pick > 315 AND round = 30
What is position of the player with a pick number greater than 315 and a round of 30?
CREATE TABLE table_name_51 (position VARCHAR, pick VARCHAR, round VARCHAR)
SELECT home_team AS score FROM table_name_97 WHERE venue = "vfl park"
What is the Home Team Score at VFL Park?
CREATE TABLE table_name_97 (home_team VARCHAR, venue VARCHAR)
SELECT episodes FROM table_name_31 WHERE rank = "senior sergeant" AND actor_actress = "rodger corser"
What Rodger Corser Episode has a Rank of senior sergeant?
CREATE TABLE table_name_31 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR)
SELECT team FROM table_18522916_5 WHERE date_of_appointment = "5 September 2008" AND date_of_vacancy = "30 August 2008"
Name the team for 5 september 2008 for date of vacancy for 30 august 2008
CREATE TABLE table_18522916_5 (team VARCHAR, date_of_appointment VARCHAR, date_of_vacancy VARCHAR)
SELECT 2 AS nd_party FROM table_name_53 WHERE election = "1885"
What 2nd Party has an Election of 1885?
CREATE TABLE table_name_53 (election VARCHAR)
SELECT COUNT(enrollment__2012_) FROM table_2076516_1 WHERE founded = 1927
When 1927 is the founded year how many measurements of enrollment in 2012 are there?
CREATE TABLE table_2076516_1 (enrollment__2012_ VARCHAR, founded VARCHAR)
SELECT result FROM table_name_39 WHERE episode = "top 8"
What was the result of the singer with the top 8?
CREATE TABLE table_name_39 (result VARCHAR, episode VARCHAR)
SELECT winning_driver FROM table_1140116_5 WHERE race_name = "XIV Eläintarhanajot"
Which driver won the race xiv eläintarhanajot?
CREATE TABLE table_1140116_5 (winning_driver VARCHAR, race_name VARCHAR)
SELECT chassis FROM table_name_80 WHERE engine = "ferrari flat-12" AND points > 1
A ferrari flat-12 engine with more than 1 point has what kind of chassis?
CREATE TABLE table_name_80 (chassis VARCHAR, engine VARCHAR, points VARCHAR)
SELECT name FROM table_142159_1 WHERE builder = "Kerr Stuart"
What is the name with the builder of Kerr Stuart
CREATE TABLE table_142159_1 (name VARCHAR, builder VARCHAR)
SELECT 2005 FROM table_name_31 WHERE ship_size = "all product carriers"
What was the cargo value in 2005 with a ship size of all product carriers?
CREATE TABLE table_name_31 (ship_size VARCHAR)
SELECT trainer FROM table_name_24 WHERE time = "1:09.40"
Who trained the horse with time of 1:09.40?
CREATE TABLE table_name_24 (trainer VARCHAR, time VARCHAR)
SELECT complaint_status_code, COUNT(*) FROM complaints WHERE complaint_type_code = "Product Failure" GROUP BY complaint_status_code
Find the number of complaints with Product Failure type for each complaint status.
CREATE TABLE complaints (complaint_status_code VARCHAR, complaint_type_code VARCHAR)
SELECT census_ranking FROM table_name_17 WHERE area_km_2 > 578.28
What census ranking has an area greater than 578.28 km2?
CREATE TABLE table_name_17 (census_ranking VARCHAR, area_km_2 INTEGER)
SELECT team_1 FROM table_name_20 WHERE team_2 = "cementarnica"
What is the team 1 with cementarnica as team 2?
CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR)
SELECT SUM(lost) FROM table_name_21 WHERE goals_scored < 38 AND points < 10
What the lost that has less than 10 points and less than 38 goals scored?
CREATE TABLE table_name_21 (lost INTEGER, goals_scored VARCHAR, points VARCHAR)
SELECT opponent FROM table_name_76 WHERE date = "17 september 1998"
What is Opponent, when Date is 17 September 1998?
CREATE TABLE table_name_76 (opponent VARCHAR, date VARCHAR)
SELECT AVG(attendance) FROM table_name_26 WHERE opponent = "atlanta braves" AND date = "september 9"
Name the attendance for atlanta braves opponent for september 9
CREATE TABLE table_name_26 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
SELECT away_team AS score FROM table_name_75 WHERE away_team = "melbourne"
When Melbourne was the Away team, what was their score?
CREATE TABLE table_name_75 (away_team VARCHAR)
SELECT COUNT(example_code__huc_) FROM table_name_48 WHERE level = 1
How many HUC example codes have 1 level?
CREATE TABLE table_name_48 (example_code__huc_ VARCHAR, level VARCHAR)
SELECT visitor FROM table_name_30 WHERE home = "los angeles" AND game__number = 19
Who is the visitor team of game 19 with Los Angeles as the home team?
CREATE TABLE table_name_30 (visitor VARCHAR, home VARCHAR, game__number VARCHAR)
SELECT name FROM table_name_40 WHERE call_sign = "dwys"
What name has the call sign DWYS?
CREATE TABLE table_name_40 (name VARCHAR, call_sign VARCHAR)
SELECT constructor FROM table_name_42 WHERE driver = "piercarlo ghinzani" AND engine = "ford cosworth dfv 3.0 v8"
Who is the Constructor for driver Piercarlo Ghinzani and a Ford cosworth dfv 3.0 v8 engine?
CREATE TABLE table_name_42 (constructor VARCHAR, driver VARCHAR, engine VARCHAR)