question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the height of this Freshman with a forward position?
CREATE TABLE table_25177625_1 (height VARCHAR, position VARCHAR, year VARCHAR)
SELECT height FROM table_25177625_1 WHERE position = "Forward" AND year = "Freshman"
which round is u.s. open cup division semifinals
CREATE TABLE table_1046170_5 (us_open_cup VARCHAR, playoffs VARCHAR)
SELECT us_open_cup FROM table_1046170_5 WHERE playoffs = "division Semifinals"
Who is the player from Spain that has a +2 to par?
CREATE TABLE table_name_44 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_44 WHERE to_par = "+2" AND country = "spain"
Which Debut year has Goals of 0, and Years at club of 1963, and Games larger than 5?
CREATE TABLE table_name_76 (debut_year INTEGER, games VARCHAR, goals VARCHAR, years_at_club VARCHAR)
SELECT AVG(debut_year) FROM table_name_76 WHERE goals = 0 AND years_at_club = "1963" AND games > 5
In what class does the verb with part 4 gelopen belong to?
CREATE TABLE table_1745843_7 (class VARCHAR, part_4 VARCHAR)
SELECT class FROM table_1745843_7 WHERE part_4 = "gelopen"
What were the total Pints after 1957?
CREATE TABLE table_name_85 (points INTEGER, year INTEGER)
SELECT SUM(points) FROM table_name_85 WHERE year > 1957
What was the edition after 2003 when the Third was Tikveš and Sileks was the runner-up?
CREATE TABLE table_name_64 (edition INTEGER, runner_up VARCHAR, year VARCHAR, third VARCHAR)
SELECT MIN(edition) FROM table_name_64 WHERE year > 2003 AND third = "tikveš" AND runner_up = "sileks"
What is the first name, last name, and phone of the customer with account name 162?
CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE Accounts (customer_id VARCHAR, account_name VARCHAR)
SELECT T2.customer_first_name, T2.customer_last_name, T2.customer_phone FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.account_name = "162"
What was the date for the G1 group race at Flemington?
CREATE TABLE table_name_98 (date VARCHAR, group VARCHAR, venue VARCHAR)
SELECT date FROM table_name_98 WHERE group = "g1" AND venue = "flemington"
how many for floysvik and christer tornell is 7?
CREATE TABLE table_28677723_11 (tor_fløysvik VARCHAR, christer_tornell VARCHAR)
SELECT COUNT(tor_fløysvik) FROM table_28677723_11 WHERE christer_tornell = 7
What is the Streak on December 30?
CREATE TABLE table_name_65 (streak VARCHAR, date VARCHAR)
SELECT streak FROM table_name_65 WHERE date = "december 30"
When was there a record of 13–17–3?
CREATE TABLE table_name_63 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_63 WHERE record = "13–17–3"
What position does John Carlson play?
CREATE TABLE table_name_15 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_15 WHERE player = "john carlson"
What is the total number of branches when the on-site ATMS is 1548, and the off-site ATMs is bigger than 3672?
CREATE TABLE table_name_84 (number_of_branches INTEGER, on_site_atms VARCHAR, off_site_atms VARCHAR)
SELECT SUM(number_of_branches) FROM table_name_84 WHERE on_site_atms = 1548 AND off_site_atms > 3672
What is the date when France is the opposing team?
CREATE TABLE table_name_50 (date VARCHAR, opposing_teams VARCHAR)
SELECT date FROM table_name_50 WHERE opposing_teams = "france"
state high assists on february 15
CREATE TABLE table_20010140_10 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_20010140_10 WHERE date = "February 15"
What is the sum number of round with Nebraska as the college and the overall greater than 40?
CREATE TABLE table_name_14 (round VARCHAR, college VARCHAR, overall VARCHAR)
SELECT COUNT(round) FROM table_name_14 WHERE college = "nebraska" AND overall > 40
What was the highest amount of losses when there were 45 goals and the play was smaller than 38?
CREATE TABLE table_name_52 (losses INTEGER, goals_for VARCHAR, played VARCHAR)
SELECT MAX(losses) FROM table_name_52 WHERE goals_for = 45 AND played < 38
What is the highest number of podiums before 2008 with a 5th position and more than 0 f/laps?
CREATE TABLE table_name_62 (podiums INTEGER, f_laps VARCHAR, season VARCHAR, position VARCHAR)
SELECT MAX(podiums) FROM table_name_62 WHERE season < 2008 AND position = "5th" AND f_laps > 0
Tell me the rider with 18.185 points round 1
CREATE TABLE table_name_54 (rider VARCHAR, round_1_points VARCHAR)
SELECT rider FROM table_name_54 WHERE round_1_points = "18.185"
What is the lowest Population (1 July 2005 est.), when Population density (per km²) is 0?
CREATE TABLE table_name_5 (population__1_july_2005_est_ INTEGER, population_density__per_km²_ VARCHAR)
SELECT MIN(population__1_july_2005_est_) FROM table_name_5 WHERE population_density__per_km²_ = 0
How many coins have a diameter of 23mm?
CREATE TABLE table_1307572_1 (reverse VARCHAR, diameter VARCHAR)
SELECT COUNT(reverse) FROM table_1307572_1 WHERE diameter = "23mm"
What player had a finals score of 0 (10)?
CREATE TABLE table_name_5 (name VARCHAR, finals VARCHAR)
SELECT name FROM table_name_5 WHERE finals = "0 (10)"
Score of 0–0, and a Date of 02-jan-64 had what result?
CREATE TABLE table_name_11 (result VARCHAR, score VARCHAR, date VARCHAR)
SELECT result FROM table_name_11 WHERE score = "0–0" AND date = "02-jan-64"
What is the average revenue for Bayern Munich with a rank greater than 4?
CREATE TABLE table_name_28 (revenue__ INTEGER, team VARCHAR, rank VARCHAR)
SELECT AVG(revenue__) AS $m_ FROM table_name_28 WHERE team = "bayern munich" AND rank > 4
What team did they play when the series was 1-1?
CREATE TABLE table_name_51 (team VARCHAR, series VARCHAR)
SELECT team FROM table_name_51 WHERE series = "1-1"
what was the score on june 29 when the devil rays los?
CREATE TABLE table_name_11 (score VARCHAR, losing_team VARCHAR, date VARCHAR)
SELECT score FROM table_name_11 WHERE losing_team = "devil rays" AND date = "june 29"
Tell me the record for yukiya naito
CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_78 WHERE opponent = "yukiya naito"
Which Division has a Position of 6th?
CREATE TABLE table_name_26 (division VARCHAR, position VARCHAR)
SELECT division FROM table_name_26 WHERE position = "6th"
What was the away team's score at Princes Park?
CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_38 WHERE venue = "princes park"
What type of engine did the Fuel Injection entrant use?
CREATE TABLE table_name_4 (engine VARCHAR, entrant VARCHAR)
SELECT engine FROM table_name_4 WHERE entrant = "fuel injection"
During what years did Chris Corchiani play in Orlando?
CREATE TABLE table_15621965_3 (years_in_orlando VARCHAR, player VARCHAR)
SELECT years_in_orlando FROM table_15621965_3 WHERE player = "Chris Corchiani"
What is the name for the locomotive n464?
CREATE TABLE table_name_95 (name VARCHAR, locomotive VARCHAR)
SELECT name FROM table_name_95 WHERE locomotive = "n464"
What's the title of the episode with series number 36?
CREATE TABLE table_28146944_2 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_28146944_2 WHERE no_in_series = 36
Name the total number of ranks when total is less than 1
CREATE TABLE table_name_76 (rank VARCHAR, total INTEGER)
SELECT COUNT(rank) FROM table_name_76 WHERE total < 1
WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?
CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)
SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Piret Hamer Helen Reino"
Which manager sponsor arke shirt?
CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR)
SELECT manager FROM table_name_90 WHERE shirt_sponsor = "arke"
What is the Netflix where Segment C is car washes?
CREATE TABLE table_15187735_12 (netflix VARCHAR, segment_c VARCHAR)
SELECT netflix FROM table_15187735_12 WHERE segment_c = "Car Washes"
What is the score for match 1 for the team Eastern Tigers?
CREATE TABLE table_24538140_2 (match1 VARCHAR, team VARCHAR)
SELECT match1 FROM table_24538140_2 WHERE team = "Eastern Tigers"
With a Launched of 3 July 1998 what is the Closest approach?
CREATE TABLE table_name_54 (closest_approach VARCHAR, launched VARCHAR)
SELECT closest_approach FROM table_name_54 WHERE launched = "3 july 1998"
Who were the guests in the episode with production code 6021?
CREATE TABLE table_25691838_2 (guest VARCHAR, production_code VARCHAR)
SELECT guest FROM table_25691838_2 WHERE production_code = 6021
What fleet number had 3 made?
CREATE TABLE table_name_42 (fleet_number_s_ VARCHAR, quantity_made VARCHAR)
SELECT fleet_number_s_ FROM table_name_42 WHERE quantity_made = "3"
what's the location attendance where record is 14–39
CREATE TABLE table_11964154_9 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_11964154_9 WHERE record = "14–39"
Which Tournament has a Score of 6(4)–7 2–6?
CREATE TABLE table_name_73 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_73 WHERE score = "6(4)–7 2–6"
In which district is the incumbent a republican first elected in 1998?
CREATE TABLE table_name_33 (district VARCHAR, party VARCHAR, first_elected VARCHAR)
SELECT district FROM table_name_33 WHERE party = "republican" AND first_elected = 1998
What player is from Ohio State college?
CREATE TABLE table_11677691_9 (player VARCHAR, college VARCHAR)
SELECT player FROM table_11677691_9 WHERE college = "Ohio State"
What is the latest amount of won legs in the payoffs when the prize money was £2,350?
CREATE TABLE table_24334163_1 (Winners INTEGER, total_money_won VARCHAR)
SELECT MAX(Winners) AS play_off_legs_won FROM table_24334163_1 WHERE total_money_won = "£2,350"
Which tournament has raffaella reggi listed as the opponent in the final?
CREATE TABLE table_name_55 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_55 WHERE opponent_in_the_final = "raffaella reggi"
What genders did Lynmore Primary School take?
CREATE TABLE table_name_68 (gender VARCHAR, name VARCHAR)
SELECT gender FROM table_name_68 WHERE name = "lynmore primary school"
Who is the player with a to par of +1?
CREATE TABLE table_name_71 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_71 WHERE to_par = "+1"
What is the lowest crowd at windy hill?
CREATE TABLE table_name_28 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_28 WHERE venue = "windy hill"
What is the guanay municipality when the tacacoma municipality is 4.321?
CREATE TABLE table_2509202_2 (guanay_municipality VARCHAR, tacacoma_municipality VARCHAR)
SELECT guanay_municipality FROM table_2509202_2 WHERE tacacoma_municipality = "4.321"
Show the nicknames of schools that are not in division 1.
CREATE TABLE school_details (Nickname VARCHAR, Division VARCHAR)
SELECT Nickname FROM school_details WHERE Division <> "Division 1"
who is the season result where margin is 51
CREATE TABLE table_1139835_3 (season_result VARCHAR, margin VARCHAR)
SELECT season_result FROM table_1139835_3 WHERE margin = 51
What is the aggregate of place for points being 35?
CREATE TABLE table_name_52 (place INTEGER, points VARCHAR)
SELECT SUM(place) FROM table_name_52 WHERE points = 35
In what City/State did John Bowe win at Phillip Island Grand Prix Circuit?
CREATE TABLE table_name_12 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)
SELECT city___state FROM table_name_12 WHERE winner = "john bowe" AND circuit = "phillip island grand prix circuit"
What's the total number of game that has 377 points?
CREATE TABLE table_name_75 (games INTEGER, points VARCHAR)
SELECT SUM(games) FROM table_name_75 WHERE points = 377
What is Record, when Location Attendance, is Madison Square Garden 19,009?
CREATE TABLE table_name_32 (record VARCHAR, location_attendance VARCHAR)
SELECT record FROM table_name_32 WHERE location_attendance = "madison square garden 19,009"
What position did the person who was with the grizzlies in 1998-1999 play?
CREATE TABLE table_name_91 (position VARCHAR, years_for_grizzlies VARCHAR)
SELECT position FROM table_name_91 WHERE years_for_grizzlies = "1998-1999"
What is the game number when the game was against phoenix?
CREATE TABLE table_name_83 (game VARCHAR, team VARCHAR)
SELECT game FROM table_name_83 WHERE team = "phoenix"
When was the tournament that was won with a score of 204 (-6) played?
CREATE TABLE table_11622924_1 (date VARCHAR, score VARCHAR)
SELECT date FROM table_11622924_1 WHERE score = "204 (-6)"
What is the school/country of the player with 337 assists?
CREATE TABLE table_name_48 (school_country VARCHAR, asts VARCHAR)
SELECT school_country FROM table_name_48 WHERE asts = 337
what is the date of week 7
CREATE TABLE table_name_92 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_92 WHERE week = 7
What are the notes for bydgoszcz, Poland?
CREATE TABLE table_name_37 (notes VARCHAR, venue VARCHAR)
SELECT notes FROM table_name_37 WHERE venue = "bydgoszcz, poland"
What is the lowest number of points of the game before game 2 before October 10?
CREATE TABLE table_name_18 (points INTEGER, october VARCHAR, game VARCHAR)
SELECT MIN(points) FROM table_name_18 WHERE october < 10 AND game < 2
Who is the player with a 68-67-75=210 score?
CREATE TABLE table_name_29 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_29 WHERE score = 68 - 67 - 75 = 210
What was the original air date of the episode that had 5.42 million viewers?
CREATE TABLE table_27790959_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT original_air_date FROM table_27790959_1 WHERE us_viewers__million_ = "5.42"
Where was the game in which Kevin Durant (25) did the most high points played?
CREATE TABLE table_23286112_6 (location_attendance VARCHAR, high_points VARCHAR)
SELECT location_attendance FROM table_23286112_6 WHERE high_points = "Kevin Durant (25)"
What's the smallest amount of Laps that had a finish of 7 with a start of 6?
CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR)
SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6"
Who has a nationality of GRE and an App(L/C/E) of 49 (40/8/1)?
CREATE TABLE table_name_98 (name VARCHAR, nat VARCHAR, app_l_c_e_ VARCHAR)
SELECT name FROM table_name_98 WHERE nat = "gre" AND app_l_c_e_ = "49 (40/8/1)"
Name the airline for rank of 4
CREATE TABLE table_name_98 (airline VARCHAR, rank VARCHAR)
SELECT airline FROM table_name_98 WHERE rank = 4
On what date did Melbourne play as the home team?
CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_45 WHERE home_team = "melbourne"
What is the maximum production code of the episode directed by Sean McNamara?
CREATE TABLE table_27610775_1 (prod_code INTEGER, directed_by VARCHAR)
SELECT MAX(prod_code) FROM table_27610775_1 WHERE directed_by = "Sean McNamara"
Name the location for 15046 attendance
CREATE TABLE table_16864968_9 (location VARCHAR, attendance VARCHAR)
SELECT location FROM table_16864968_9 WHERE attendance = 15046
Find the total checking and saving balance of all accounts sorted by the total balance in ascending order.
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)
SELECT T1.balance + T2.balance FROM checking AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T1.balance + T2.balance
Name the manufacturer for grid more than 18 and laps more than 1 with tired/retired of +1 lap
CREATE TABLE table_name_26 (manufacturer VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT manufacturer FROM table_name_26 WHERE grid > 18 AND laps > 1 AND time_retired = "+1 lap"
What couple had a total of 8?
CREATE TABLE table_26375386_16 (couple VARCHAR, total VARCHAR)
SELECT couple FROM table_26375386_16 WHERE total = 8
Who won in 1983?
CREATE TABLE table_name_60 (player VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_60 WHERE year_s__won = "1983"
What is the total number of Gold, when Silver is 2, and when Total is less than 7?
CREATE TABLE table_name_34 (gold VARCHAR, silver VARCHAR, total VARCHAR)
SELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 7
Find the id and name of the most expensive base price room.
CREATE TABLE Rooms (RoomId VARCHAR, roomName VARCHAR, basePrice VARCHAR)
SELECT RoomId, roomName FROM Rooms ORDER BY basePrice DESC LIMIT 1
What television service has italian as the language, and sky famiglia as the package option?
CREATE TABLE table_name_20 (television_service VARCHAR, language VARCHAR, package_option VARCHAR)
SELECT television_service FROM table_name_20 WHERE language = "italian" AND package_option = "sky famiglia"
What event has the result of 7th (5-6)?
CREATE TABLE table_name_82 (event VARCHAR, result VARCHAR)
SELECT event FROM table_name_82 WHERE result = "7th (5-6)"
Name the To par for dick metz
CREATE TABLE table_name_61 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_61 WHERE player = "dick metz"
When the Away team is essendon, what's the Home team score?
CREATE TABLE table_name_99 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_99 WHERE away_team = "essendon"
What's the total number of floors built after 2006, and have a rank of 12?
CREATE TABLE table_name_73 (floors INTEGER, built VARCHAR, rank VARCHAR)
SELECT SUM(floors) FROM table_name_73 WHERE built > 2006 AND rank = 12
Show the different statuses and the numbers of roller coasters for each status.
CREATE TABLE roller_coaster (Status VARCHAR)
SELECT Status, COUNT(*) FROM roller_coaster GROUP BY Status
How many directors were in Season 2?
CREATE TABLE table_20704243_3 (directed_by VARCHAR, season__number VARCHAR)
SELECT COUNT(directed_by) FROM table_20704243_3 WHERE season__number = 2
What is the enrollment for the school with the mascot of the Fighting '59ers?
CREATE TABLE table_name_9 (enrollment VARCHAR, mascot VARCHAR)
SELECT enrollment FROM table_name_9 WHERE mascot = "fighting '59ers"
Which Country has Entities of emsa?
CREATE TABLE table_name_57 (country VARCHAR, entities VARCHAR)
SELECT country FROM table_name_57 WHERE entities = "emsa"
What is the crowd total for glenferrie oval?
CREATE TABLE table_name_77 (crowd VARCHAR, venue VARCHAR)
SELECT COUNT(crowd) FROM table_name_77 WHERE venue = "glenferrie oval"
What is the call sign of 1200 am?
CREATE TABLE table_name_9 (call_sign VARCHAR, frequency VARCHAR)
SELECT call_sign FROM table_name_9 WHERE frequency = "1200 am"
What is Maria's Elimination Move?
CREATE TABLE table_name_88 (elimination VARCHAR, wrestler VARCHAR)
SELECT elimination AS Move FROM table_name_88 WHERE wrestler = "maria"
What was the highest number of Draws scored by Sebastapol when the value for Against was less than 1802?
CREATE TABLE table_name_24 (draws INTEGER, ballarat_fl VARCHAR, against VARCHAR)
SELECT MAX(draws) FROM table_name_24 WHERE ballarat_fl = "sebastapol" AND against < 1802
What year is the location Ta'izz?
CREATE TABLE table_name_61 (year VARCHAR, location VARCHAR)
SELECT year FROM table_name_61 WHERE location = "ta'izz"
What is the place result of the downhill race before the 1996 season on 11-Mar-1995?
CREATE TABLE table_name_17 (place VARCHAR, date VARCHAR, race VARCHAR, season VARCHAR)
SELECT place FROM table_name_17 WHERE race = "downhill" AND season < 1996 AND date = "11-mar-1995"
Where is the location with a record of 50-19?
CREATE TABLE table_name_34 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_34 WHERE record = "50-19"
Find the name and age of the person who is a friend of Dan or Alice.
CREATE TABLE Person (name VARCHAR, age VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR)
SELECT DISTINCT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Dan' OR T2.friend = 'Alice'
what is the City of license that has a 1,400 watts Power
CREATE TABLE table_name_79 (city_of_license VARCHAR, power VARCHAR)
SELECT city_of_license FROM table_name_79 WHERE power = "1,400 watts"
How may assists per game have 7.7 points per game?
CREATE TABLE table_2387461_1 (assists_per_game VARCHAR, points_per_game VARCHAR)
SELECT assists_per_game FROM table_2387461_1 WHERE points_per_game = "7.7"
Which Type has a Nat of geo?
CREATE TABLE table_name_58 (type VARCHAR, nat VARCHAR)
SELECT type FROM table_name_58 WHERE nat = "geo"