answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT data_limit__gb FROM table_name_18 WHERE company = "t-mobile" AND plan_name = "internet basic"
What is the data limit for a T-Mobile internet basic plan?
CREATE TABLE table_name_18 (data_limit__gb VARCHAR, company VARCHAR, plan_name VARCHAR)
SELECT translation FROM table_name_10 WHERE unit = "uncia"
Which translation had a unit of Uncia?
CREATE TABLE table_name_10 (translation VARCHAR, unit VARCHAR)
SELECT area_km_2 FROM table_name_73 WHERE official_name = "saint-jacques"
Saint-Jacques has what as the area km 2?
CREATE TABLE table_name_73 (area_km_2 VARCHAR, official_name VARCHAR)
SELECT score FROM table_name_93 WHERE save = "||27,108||63–44"
What score occurred when the save was ||27,108||63–44?
CREATE TABLE table_name_93 (score VARCHAR, save VARCHAR)
SELECT position FROM table_name_39 WHERE round = 5 AND college = "alabama state"
What is the position for round 5 from alabama state?
CREATE TABLE table_name_39 (position VARCHAR, round VARCHAR, college VARCHAR)
SELECT T1.Height FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Injured DESC
What are the heights of perpetrators in descending order of the number of people they injured?
CREATE TABLE perpetrator (People_ID VARCHAR, Injured VARCHAR); CREATE TABLE people (Height VARCHAR, People_ID VARCHAR)
SELECT carriers FROM table_name_19 WHERE rank = 20
Which carrier is ranked 20?
CREATE TABLE table_name_19 (carriers VARCHAR, rank VARCHAR)
SELECT player FROM table_name_88 WHERE country = "australia"
Which player is from Australia?
CREATE TABLE table_name_88 (player VARCHAR, country VARCHAR)
SELECT COUNT(score) FROM table_27756164_8 WHERE team = "Orlando"
What is the score when the team is Orlando?
CREATE TABLE table_27756164_8 (score VARCHAR, team VARCHAR)
SELECT COUNT(first_elected) FROM table_1341577_43 WHERE district = "Tennessee 6"
In the district called Tennessee 6, how many in total of first elected are there?
CREATE TABLE table_1341577_43 (first_elected VARCHAR, district VARCHAR)
SELECT party FROM table_1108394_43 WHERE brooklyn = "51.0_percentage"
what's the party with brooklyn value of 51.0%
CREATE TABLE table_1108394_43 (party VARCHAR, brooklyn VARCHAR)
SELECT week FROM table_name_92 WHERE away_team = "auckland"
In what week was the away team Auckland?
CREATE TABLE table_name_92 (week VARCHAR, away_team VARCHAR)
SELECT theatre FROM table_name_31 WHERE performances > 49 AND role = "aaron jablonski schuyler grogan"
Name the theatre for aaron jablonski schuyler grogan with performances more than 49
CREATE TABLE table_name_31 (theatre VARCHAR, performances VARCHAR, role VARCHAR)
SELECT group_c FROM table_15290638_1 WHERE group_d = "Wisconsin"
Who is in group c when wisconsin is in group d?
CREATE TABLE table_15290638_1 (group_c VARCHAR, group_d VARCHAR)
SELECT year FROM table_name_8 WHERE partner = "yoo sang-hee" AND venue = "german open"
In what Year did the German Open have Yoo Sang-Hee as Partner?
CREATE TABLE table_name_8 (year VARCHAR, partner VARCHAR, venue VARCHAR)
SELECT COUNT(year) FROM table_name_84 WHERE points > 20
What is the year that has points larger than 20?
CREATE TABLE table_name_84 (year VARCHAR, points INTEGER)
SELECT country FROM table_name_36 WHERE moving_to = "hamburger sv"
What country is the player moving to Hamburger SV from?
CREATE TABLE table_name_36 (country VARCHAR, moving_to VARCHAR)
SELECT away_team FROM table_name_13 WHERE footytab_winner = "st. george"
What is the Away team when the FootyTAB winner was st. george?
CREATE TABLE table_name_13 (away_team VARCHAR, footytab_winner VARCHAR)
SELECT name FROM table_name_71 WHERE venue = "motherwell"
What is Name, when Venue is "Motherwell"?
CREATE TABLE table_name_71 (name VARCHAR, venue VARCHAR)
SELECT COUNT(coordinate_velocity_v_dx_dt_in_units_of_c) FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[2 + √5] ≅ 1.444"
What is the coordinate velocity v dx/dt in units of c total number if the velocity angle η in i-radians is ln[2 + √5] ≅ 1.444?
CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, velocity_angle_η_in_i_radians VARCHAR)
SELECT AVG(points) FROM table_name_55 WHERE position > 5 AND played < 10
what is the average points when position is more than 5 and played is less than 10?
CREATE TABLE table_name_55 (points INTEGER, position VARCHAR, played VARCHAR)
SELECT candidates FROM table_1342233_6 WHERE incumbent = "Alfred J. Elliott"
who is the the candidates with incumbent being alfred j. elliott
CREATE TABLE table_1342233_6 (candidates VARCHAR, incumbent VARCHAR)
SELECT MIN(constituency_no) FROM table_29785324_5 WHERE vidhan_sabha_constituency = "Kargahar (Vidhan Sabha constituency)"
How many were in the Kargahar (vidhan sabha constituency)?
CREATE TABLE table_29785324_5 (constituency_no INTEGER, vidhan_sabha_constituency VARCHAR)
SELECT MIN(goals_for) FROM table_name_73 WHERE tied > 15
What's the least amount of goals for a game that had a tied bigger than 15?
CREATE TABLE table_name_73 (goals_for INTEGER, tied INTEGER)
SELECT COUNT(pick__number) FROM table_16575609_3 WHERE player = "Michael Giffin"
How many pick numbers did Michael Giffin have?
CREATE TABLE table_16575609_3 (pick__number VARCHAR, player VARCHAR)
SELECT role FROM table_name_70 WHERE film = "the last samurai"
What was the Last Samurai role?
CREATE TABLE table_name_70 (role VARCHAR, film VARCHAR)
SELECT results FROM table_name_18 WHERE first_elected = 1996 AND district = "oregon 5"
What was the result of the Oregon 5 District incumbent who was first elected in 1996?
CREATE TABLE table_name_18 (results VARCHAR, first_elected VARCHAR, district VARCHAR)
SELECT COUNT(latency__microseconds_) FROM table_27615520_1 WHERE product_name = "RamSan-810"
What is the ramsan-810 transfer delay?
CREATE TABLE table_27615520_1 (latency__microseconds_ VARCHAR, product_name VARCHAR)
SELECT directed_by FROM table_27905664_1 WHERE production_code = "3X6116"
Who directed production code 3x6116?
CREATE TABLE table_27905664_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT 250 AS _cc FROM table_name_31 WHERE year = "1987"
Who won the 250 cc in 1987?
CREATE TABLE table_name_31 (year VARCHAR)
SELECT AVG(points) FROM table_name_91 WHERE opponent = "vancouver canucks"
Which Points have an Opponent of vancouver canucks?
CREATE TABLE table_name_91 (points INTEGER, opponent VARCHAR)
SELECT upstream FROM table_name_25 WHERE price = "14 eur"
What is Upstream, when Price is "14 EUR"?
CREATE TABLE table_name_25 (upstream VARCHAR, price VARCHAR)
SELECT MIN(games) AS ↑ FROM table_name_2 WHERE position = "re" AND number < 95
What is the earliest game with a position of Re and a smaller number than 95?
CREATE TABLE table_name_2 (games INTEGER, position VARCHAR, number VARCHAR)
SELECT COUNT(county) FROM table_22815568_3 WHERE population = 2266
How many counties have a population of 2266?
CREATE TABLE table_22815568_3 (county VARCHAR, population VARCHAR)
SELECT report FROM table_name_6 WHERE date = "june 5, 2005"
What Report has the Date of June 5, 2005?
CREATE TABLE table_name_6 (report VARCHAR, date VARCHAR)
SELECT allergytype, COUNT(*) FROM Allergy_type GROUP BY allergytype
Show all allergy types and the number of allergies in each type.
CREATE TABLE Allergy_type (allergytype VARCHAR)
SELECT binibining_pilipinas_international FROM table_1825751_4 WHERE miss_universe_philippines = "Gionna Cabrera"
Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?
CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)
SELECT Pixel_aspect_ratio_PAR, country FROM tv_channel WHERE LANGUAGE <> 'English'
find the pixel aspect ratio and nation of the tv channels that do not use English.
CREATE TABLE tv_channel (Pixel_aspect_ratio_PAR VARCHAR, country VARCHAR, LANGUAGE VARCHAR)
SELECT type FROM table_name_49 WHERE title = "so alive"
which Type has a Title of so alive?
CREATE TABLE table_name_49 (type VARCHAR, title VARCHAR)
SELECT location_attendance FROM table_15780049_6 WHERE game = 38
What is the location and what is the attendance of game 38?
CREATE TABLE table_15780049_6 (location_attendance VARCHAR, game VARCHAR)
SELECT MIN(total_points) FROM table_name_84 WHERE artist = "karine trécy" AND place < 12
What is the lowest total points Karine Trécy has with a less than 12 place?
CREATE TABLE table_name_84 (total_points INTEGER, artist VARCHAR, place VARCHAR)
SELECT instrumental FROM table_name_42 WHERE genitive = "tkven-i"
What instrumental has tkven-i as the genitive?
CREATE TABLE table_name_42 (instrumental VARCHAR, genitive VARCHAR)
SELECT set_1 FROM table_name_39 WHERE set_3 = "22-25"
What is Set 1, when Set 3 is 22-25?
CREATE TABLE table_name_39 (set_1 VARCHAR, set_3 VARCHAR)
SELECT series_4 FROM table_name_27 WHERE seat = 1
What shows for series 4 when the seat shows 1?
CREATE TABLE table_name_27 (series_4 VARCHAR, seat VARCHAR)
SELECT attendance FROM table_name_84 WHERE series = "western conference finals"
What is the attendance of the western conference finals series?
CREATE TABLE table_name_84 (attendance VARCHAR, series VARCHAR)
SELECT label FROM table_name_65 WHERE format = "cd maxi"
What is the Label of the release in CD Maxi Format?
CREATE TABLE table_name_65 (label VARCHAR, format VARCHAR)
SELECT time FROM table_name_78 WHERE distance = "24.00km" AND start_time = "21:27"
What was the finishing time of the Stage that featured a distance of 24.00km and a start time of 21:27?
CREATE TABLE table_name_78 (time VARCHAR, distance VARCHAR, start_time VARCHAR)
SELECT MAX(losses) FROM table_name_85 WHERE goals_against > 31 AND goals_for = 38 AND club = "cf calvo sotelo" AND played < 30
What is the highest number of losses of club cf calvo sotelo, which has more than 31 goals against, 38 goals for, and less than 30 played?
CREATE TABLE table_name_85 (losses INTEGER, played VARCHAR, club VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
SELECT time_slot__est_ FROM table_11244302_1 WHERE rating = "6.3"
What time slots have a 6.3 rating
CREATE TABLE table_11244302_1 (time_slot__est_ VARCHAR, rating VARCHAR)
SELECT COUNT(height_m___ft__) FROM table_13998897_1 WHERE notes = "via WCCV; formerly W236AJ"
how many height m ( ft ) with notes being via wccv; formerly w236aj
CREATE TABLE table_13998897_1 (height_m___ft__ VARCHAR, notes VARCHAR)
SELECT origin_of_programming FROM table_name_12 WHERE genre = "general" AND network = "ntv bangla" AND service = "cogeco cable"
Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable?
CREATE TABLE table_name_12 (origin_of_programming VARCHAR, service VARCHAR, genre VARCHAR, network VARCHAR)
SELECT original_air_date FROM table_name_55 WHERE production_code = "2395120"
What was the original air date of the episode with production code 2395120?
CREATE TABLE table_name_55 (original_air_date VARCHAR, production_code VARCHAR)
SELECT launched FROM table_name_65 WHERE homeport__as_of_july_2013_ = "sold to chile" AND pennant_number = "f80"
What kind of Launched has a Homeport (as of July 2013) of sold to chile, and a Pennant number of f80?
CREATE TABLE table_name_65 (launched VARCHAR, homeport__as_of_july_2013_ VARCHAR, pennant_number VARCHAR)
SELECT description FROM table_name_81 WHERE livery = "br grey"
What is the description for the livery Br Grey?
CREATE TABLE table_name_81 (description VARCHAR, livery VARCHAR)
SELECT venue FROM table_name_9 WHERE away_team = "essendon"
Where did Essendon play as the away team?
CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR)
SELECT average_squad_age FROM table_25527255_2 WHERE shirt_sponsor = "Sho'rtan Gaz Mahsulot" AND kit_manufacturer = "Adidas"
What is the average squad age of the team whose shirt sponsor is Sho'rtan Gaz Mahsulot and whose kit manufacturer is Adidas?
CREATE TABLE table_25527255_2 (average_squad_age VARCHAR, shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)
SELECT featuring FROM table_1620397_2 WHERE author = "Pat Mills"
Name the featuring for pat mills
CREATE TABLE table_1620397_2 (featuring VARCHAR, author VARCHAR)
SELECT week_37 FROM table_23680576_3 WHERE week_33 = "14.3%"
List all week 37 results when week 33 is 14.3%.
CREATE TABLE table_23680576_3 (week_37 VARCHAR, week_33 VARCHAR)
SELECT AVG(house_of_rep_seats) FROM table_name_52 WHERE abbr = "d66"
What is the average number of House of Representatives seats had an abbreviation of d66?
CREATE TABLE table_name_52 (house_of_rep_seats INTEGER, abbr VARCHAR)
SELECT MIN(year) FROM table_name_72 WHERE venue = "vienna, austria"
What year was the race in Vienna, Austria?
CREATE TABLE table_name_72 (year INTEGER, venue VARCHAR)
SELECT team FROM table_name_48 WHERE stadium = "stadion maksimir"
What is the team at Stadion Maksimir?
CREATE TABLE table_name_48 (team VARCHAR, stadium VARCHAR)
SELECT COUNT(snare_pad) FROM table_2889300_6 WHERE drumset_name = "TD-15K"
for the drumset name td-15k how many snare pads are
CREATE TABLE table_2889300_6 (snare_pad VARCHAR, drumset_name VARCHAR)
SELECT away_team FROM table_name_18 WHERE ground = "football park"
Who was the away team at the Football Park match?
CREATE TABLE table_name_18 (away_team VARCHAR, ground VARCHAR)
SELECT score FROM table_name_41 WHERE save = "lynch (4)"
The game that has a save of lynch (4) ended with what score?
CREATE TABLE table_name_41 (score VARCHAR, save VARCHAR)
SELECT nfl_team FROM table_name_30 WHERE player = "patrick collins"
Which NFL team picked Patrick Collins?
CREATE TABLE table_name_30 (nfl_team VARCHAR, player VARCHAR)
SELECT COUNT(50) FROM table_2985664_8 WHERE strike_rate = "92.81"
How many entries for 50 occur when strike rate is 92.81?
CREATE TABLE table_2985664_8 (strike_rate VARCHAR)
SELECT passenger FROM table_name_89 WHERE position = "21" AND points < 49
Which passenger has a position of 21 and less than 49 points?
CREATE TABLE table_name_89 (passenger VARCHAR, position VARCHAR, points VARCHAR)
SELECT home_team FROM table_name_81 WHERE venue = "princes park"
What home team plays at princes park?
CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR)
SELECT model FROM table_11497980_1 WHERE transmission_make_type_speed = "Eaton FS-6306 A Manual Synchromesh 6 Speed"
Which model possesses a transmission make/type/speed of eaton fs-6306 a manual synchromesh 6 speed?
CREATE TABLE table_11497980_1 (model VARCHAR, transmission_make_type_speed VARCHAR)
SELECT artist FROM table_name_41 WHERE number = "atm24016"
Which artist has a serial number of ATM24016?
CREATE TABLE table_name_41 (artist VARCHAR, number VARCHAR)
SELECT population_density__per_km²_ FROM table_name_81 WHERE name = "antigua and barbuda" AND capital = "st. john's"
What is Population density (per km²), when Name is Antigua and Barbuda, and when Capital is St. John's?
CREATE TABLE table_name_81 (population_density__per_km²_ VARCHAR, name VARCHAR, capital VARCHAR)
SELECT class FROM table_name_10 WHERE call_sign = "w298ak"
What class does the w298ak sign belong to?
CREATE TABLE table_name_10 (class VARCHAR, call_sign VARCHAR)
SELECT score FROM table_name_15 WHERE team = "@ memphis"
What is Score, when Team is "@ Memphis"?
CREATE TABLE table_name_15 (score VARCHAR, team VARCHAR)
SELECT visitor FROM table_22871239_9 WHERE date = "March 23"
Name the visitor for march 23
CREATE TABLE table_22871239_9 (visitor VARCHAR, date VARCHAR)
SELECT MIN(total_wins) FROM table_name_92 WHERE season < 1989 AND runners_up = "tianjin" AND number_of_clubs > 8
What is the lowest total number of wins in a season before 1989 with tianjin as the runners-up and more than 8 clubs?
CREATE TABLE table_name_92 (total_wins INTEGER, number_of_clubs VARCHAR, season VARCHAR, runners_up VARCHAR)
SELECT to_par FROM table_name_16 WHERE place = "t4" AND country = "south africa"
What was the to par when South Africa was in T4 place?
CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, country VARCHAR)
SELECT COUNT(position_in_channel_4s_ratings_a) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "February 24, 2010"
How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4?
CREATE TABLE table_22170495_6 (position_in_channel_4s_ratings_a VARCHAR, original_airing_on_channel_4 VARCHAR)
SELECT nationality FROM table_name_88 WHERE name = "aurore mongel"
Swimmer Aurore Mongel has what nationality?
CREATE TABLE table_name_88 (nationality VARCHAR, name VARCHAR)
SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club"
How many members does the club "Tennis Club" has?
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR)
SELECT party FROM table_1342218_35 WHERE district = "Ohio 5"
What party does the incumbent from the Ohio 5 district belong to?
CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR)
SELECT language_s_ FROM table_name_33 WHERE original_title = "rosie"
What is the language of the film Rosie?
CREATE TABLE table_name_33 (language_s_ VARCHAR, original_title VARCHAR)
SELECT AVG(apps) FROM table_name_96 WHERE goals > 73 AND rank > 13
How many apps when the rank was after 13 and having more than 73 goals?
CREATE TABLE table_name_96 (apps INTEGER, goals VARCHAR, rank VARCHAR)
SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.1%"
What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991?
CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR)
SELECT COUNT(season) FROM table_12444503_1 WHERE lost_to_eventual_runner_up = "USC Bassam"
What's the number of seasons i which USC Bassam lost to eventual runner-up?
CREATE TABLE table_12444503_1 (season VARCHAR, lost_to_eventual_runner_up VARCHAR)
SELECT career_with_the_franchise FROM table_name_47 WHERE years_of_nba_experience_[a_] < 9 AND pos = "f/c" AND previous_team = "phoenix suns"
What is the career with the franchise of the f/c player with fewer than 9 years of NBA experience who previously played for the Phoenix Suns?
CREATE TABLE table_name_47 (career_with_the_franchise VARCHAR, previous_team VARCHAR, pos VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR)
SELECT club FROM table_name_16 WHERE points_for = "275"
Which club has 275 points?
CREATE TABLE table_name_16 (club VARCHAR, points_for VARCHAR)
SELECT series_number FROM table_12995531_3 WHERE date_of_first_broadcast = "16 October 2008"
what is the series number where the date of first broadcast is 16 october 2008?
CREATE TABLE table_12995531_3 (series_number VARCHAR, date_of_first_broadcast VARCHAR)
SELECT runner_s__up FROM table_1602858_1 WHERE tournament = "Memorial tournament"
Who was the runner-up in the Memorial Tournament?
CREATE TABLE table_1602858_1 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT nationality FROM table_10015132_21 WHERE school_club_team = "Georgetown"
Which country is the player that went to Georgetown from?
CREATE TABLE table_10015132_21 (nationality VARCHAR, school_club_team VARCHAR)
SELECT cfl_team FROM table_25017530_6 WHERE college = "Saskatchewan"
Name the cfl team for saskatchewan
CREATE TABLE table_25017530_6 (cfl_team VARCHAR, college VARCHAR)
SELECT laid_down FROM table_name_76 WHERE name = "fubuki"
What is the date the Fubuki ship laid down?
CREATE TABLE table_name_76 (laid_down VARCHAR, name VARCHAR)
SELECT name FROM enzyme WHERE product <> 'Heme'
What are the names of enzymes who does not produce 'Heme'?
CREATE TABLE enzyme (name VARCHAR, product VARCHAR)
SELECT party FROM table_1341672_14 WHERE incumbent = "Tim Lee Hall"
Name the party for tim lee hall
CREATE TABLE table_1341672_14 (party VARCHAR, incumbent VARCHAR)
SELECT new_entries_this_round FROM table_name_71 WHERE phase = "second phase" AND winners_from_previous_round = "4"
How many new entries are there for a second phase that has 4 winners from previous rounds?
CREATE TABLE table_name_71 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR)
SELECT MIN(year) FROM table_name_2 WHERE city = "peabody"
What is the earliest Year when the City is Peabody?
CREATE TABLE table_name_2 (year INTEGER, city VARCHAR)
SELECT location_attendance FROM table_18894744_6 WHERE record = "13-5"
Where was the game with a 13-5 record played, and in front of how many people?
CREATE TABLE table_18894744_6 (location_attendance VARCHAR, record VARCHAR)
SELECT time_retired FROM table_name_65 WHERE laps < 66 AND grid < 10 AND driver = "heinz-harald frentzen"
What is the time of retirement with Laps smaller than 66, a grid less than 10, and a Driver of heinz-harald frentzen?
CREATE TABLE table_name_65 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT info FROM table_name_95 WHERE album = "romeo"
Which Info has an Album of romeo?
CREATE TABLE table_name_95 (info VARCHAR, album VARCHAR)
SELECT title FROM table_name_95 WHERE survey = "murex d'or" AND year > 2005 AND director = "said elmarouk" AND result = "nominated"
What is the title for the Murex D'or survey, after 2005, Said Elmarouk as director, and was nominated?
CREATE TABLE table_name_95 (title VARCHAR, result VARCHAR, director VARCHAR, survey VARCHAR, year VARCHAR)
SELECT Date FROM game ORDER BY home_team DESC
List the dates of games by the home team name in descending order.
CREATE TABLE game (Date VARCHAR, home_team VARCHAR)