answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT call_sign FROM table_name_3 WHERE erp_w > 250 AND frequency_mhz < 99.3
Which call sign has ERP Wlarger than 250, and Frequency MHZ smaller than 99.3?
CREATE TABLE table_name_3 (call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)
SELECT MAX(enrollment) FROM table_1183842_1 WHERE institution = "Barry University"
Barry University had the highest enrollment of what number?
CREATE TABLE table_1183842_1 (enrollment INTEGER, institution VARCHAR)
SELECT season FROM table_name_6 WHERE win_percentage = ".354"
Which season has a .354 Win%?
CREATE TABLE table_name_6 (season VARCHAR, win_percentage VARCHAR)
SELECT MIN(pick__number) FROM table_name_62 WHERE position = "rec" AND cfl_team = "hamilton tiger-cats"
What is the lowest Pick #, when Position is REC, and when CFL Team is Hamilton Tiger-Cats?
CREATE TABLE table_name_62 (pick__number INTEGER, position VARCHAR, cfl_team VARCHAR)
SELECT SUM(points) FROM table_name_29 WHERE year = 1991 AND chassis = "footwork a11c"
What is the sum of points in 1991, for footwork a11c chassis?
CREATE TABLE table_name_29 (points INTEGER, year VARCHAR, chassis VARCHAR)
SELECT studio FROM table_11222744_2 WHERE catalog_number = "81258"
where catalog number is 81258 , what are all the studio ?
CREATE TABLE table_11222744_2 (studio VARCHAR, catalog_number VARCHAR)
SELECT away_team FROM table_name_57 WHERE tie_no = "15"
Who is the away team when there are 15 ties?
CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR)
SELECT power FROM table_name_22 WHERE model = "1500" AND displacement = "1490cc"
How much power does the 1500 model have with a displacement of 1490cc?
CREATE TABLE table_name_22 (power VARCHAR, model VARCHAR, displacement VARCHAR)
SELECT round FROM table_name_43 WHERE time = "3:01"
Which round has a time of 3:01?
CREATE TABLE table_name_43 (round VARCHAR, time VARCHAR)
SELECT time_retired FROM table_name_34 WHERE grid = "9"
What's the time for someone on grid 9?
CREATE TABLE table_name_34 (time_retired VARCHAR, grid VARCHAR)
SELECT outgoing_manager FROM table_name_12 WHERE team = "birmingham city"
Who is Birmingham City's outgoing manager?
CREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR)
SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE population_2010_census = 264170
What is the population density of the administrative division with a population in 2010 of 264170 according to the census?
CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, population_2010_census VARCHAR)
SELECT score FROM table_name_46 WHERE year = "1929"
What is the score in 1929?
CREATE TABLE table_name_46 (score VARCHAR, year VARCHAR)
SELECT score FROM table_name_55 WHERE date = "october 24, 2005"
What was the score on October 24, 2005?
CREATE TABLE table_name_55 (score VARCHAR, date VARCHAR)
SELECT COUNT(game) FROM table_name_4 WHERE date = "april 11"
On the date April 11, what is the total game number?
CREATE TABLE table_name_4 (game VARCHAR, date VARCHAR)
SELECT score FROM table_name_86 WHERE date = "10 march 1984" AND home_team = "birmingham city"
What is the score for the game where Birmingham City was the home team on 10 March 1984?
CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR, home_team VARCHAR)
SELECT MAX(latitude) FROM table_name_69 WHERE water__sqmi_ > 0.518 AND longitude < -99.830606 AND pop__2010_ = 18
What is the highest latitude when there are more than 0.518 square miles of water, a longitude less than -99.830606, and a population of 18?
CREATE TABLE table_name_69 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, longitude VARCHAR)
SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "tuilla"
WHAT IS THE FIRST LEG OF TUILLA?
CREATE TABLE table_name_79 (team_1 VARCHAR)
SELECT rID FROM Rating WHERE stars <> 4
Find the ids of reviewers who didn't only give 4 star.
CREATE TABLE Rating (rID VARCHAR, stars VARCHAR)
SELECT nominee FROM table_name_88 WHERE category = "outstanding musical"
Which Nominee has a Category of outstanding musical?
CREATE TABLE table_name_88 (nominee VARCHAR, category VARCHAR)
SELECT COUNT(wins) FROM table_name_71 WHERE events < 22 AND rank < 3
How many win total which has the rank smaller than 3 and events smaller than 22
CREATE TABLE table_name_71 (wins VARCHAR, events VARCHAR, rank VARCHAR)
SELECT COUNT(no_in_series) FROM table_2182654_3 WHERE directed_by = "Alan Taylor"
How many episodes in the series were directed by Alan Taylor?
CREATE TABLE table_2182654_3 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT what FROM table_name_7 WHERE person = "tawo" AND three = "tuyo" AND coconut = "niyog"
What is "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"?
CREATE TABLE table_name_7 (what VARCHAR, coconut VARCHAR, person VARCHAR, three VARCHAR)
SELECT format FROM table_name_72 WHERE region = "france" AND label = "universal licensing music (ulm)"
What format has France as the region, with Universal Licensing Music (ulm) as the label?
CREATE TABLE table_name_72 (format VARCHAR, region VARCHAR, label VARCHAR)
SELECT country FROM table_name_20 WHERE airport = "narita international airport"
Which country has the Narita International Airport?
CREATE TABLE table_name_20 (country VARCHAR, airport VARCHAR)
SELECT team FROM table_name_36 WHERE school = "delmar"
What team belongs to Delmar?
CREATE TABLE table_name_36 (team VARCHAR, school VARCHAR)
SELECT COUNT(class) FROM table_14966667_19 WHERE name = "Braxton Kelley"
what class is Braxton Kelley in?
CREATE TABLE table_14966667_19 (class VARCHAR, name VARCHAR)
SELECT score FROM table_name_72 WHERE partner = "mardy fish"
What was the score of the match in which mardy fish was the partner?
CREATE TABLE table_name_72 (score VARCHAR, partner VARCHAR)
SELECT film FROM table_name_75 WHERE recipient = "bub ltd"
What film had Bub Ltd as the recipient?
CREATE TABLE table_name_75 (film VARCHAR, recipient VARCHAR)
SELECT team FROM table_name_77 WHERE date = "march 17"
Can you tell me the Team that has the Date of march 17?
CREATE TABLE table_name_77 (team VARCHAR, date VARCHAR)
SELECT name FROM table_name_67 WHERE games > 1 AND order = 907
Who had an order of 907 and more than 1 game?
CREATE TABLE table_name_67 (name VARCHAR, games VARCHAR, order VARCHAR)
SELECT nationality FROM table_name_36 WHERE elector = "bertrand de saint-martin"
What is the Nationality with an Elector with bertrand de saint-martin?
CREATE TABLE table_name_36 (nationality VARCHAR, elector VARCHAR)
SELECT total FROM table_name_33 WHERE player = "tony jacklin"
What is Tony Jacklin's total?
CREATE TABLE table_name_33 (total VARCHAR, player VARCHAR)
SELECT date FROM table_name_37 WHERE score = "1-2" AND venue = "athens olympic stadium"
On what date was the score 1-2 at Athens Olympic Stadium?
CREATE TABLE table_name_37 (date VARCHAR, score VARCHAR, venue VARCHAR)
SELECT COUNT(tracks) FROM table_name_7 WHERE unformatted_capacity_per_side = "2000kb"
How many tracks have an unformatted capacity per side of 2000kb?
CREATE TABLE table_name_7 (tracks VARCHAR, unformatted_capacity_per_side VARCHAR)
SELECT school FROM table_name_73 WHERE season_outcome = "loss in first round of div. i playoffs"
Name the school for Season Outcome of loss in first round of div. i playoffs
CREATE TABLE table_name_73 (school VARCHAR, season_outcome VARCHAR)
SELECT home_team AS score FROM table_name_75 WHERE home_team = "essendon"
What was the score when essendon was the home team?
CREATE TABLE table_name_75 (home_team VARCHAR)
SELECT AVG(week) FROM table_name_4 WHERE result = "l 10-7" AND attendance < 37 OFFSET 500
What was the average week of a game with a result of l 10-7 attended by 37,500?
CREATE TABLE table_name_4 (week INTEGER, result VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_76 WHERE attendance = "bye"
Which Opponent has an Attendance of bye?
CREATE TABLE table_name_76 (opponent VARCHAR, attendance VARCHAR)
SELECT player FROM table_name_8 WHERE balls = 49
What player had 49 balls?
CREATE TABLE table_name_8 (player VARCHAR, balls VARCHAR)
SELECT rl_süd__1st_ FROM table_20217456_7 WHERE rl_südwest__1st_ = "FK Pirmasens"
Who was RL Süd (1st) when FK Pirmasens was RL Südwest (1st)?
CREATE TABLE table_20217456_7 (rl_süd__1st_ VARCHAR, rl_südwest__1st_ VARCHAR)
SELECT episode FROM table_27987623_3 WHERE order = 1
Which episode was #1 in the order?
CREATE TABLE table_27987623_3 (episode VARCHAR, order VARCHAR)
SELECT series FROM table_name_49 WHERE city___state = "sydney, new south wales"
what series was in sydney, new south wales?
CREATE TABLE table_name_49 (series VARCHAR, city___state VARCHAR)
SELECT stadium FROM table_name_43 WHERE club = "pro patria"
In which stadium does Club Pro Patria play?
CREATE TABLE table_name_43 (stadium VARCHAR, club VARCHAR)
SELECT name FROM table_name_69 WHERE decile = 2 AND authority = "integrated" AND roll > 55
What integrated school had a decile of 2 and a roll larger than 55?
CREATE TABLE table_name_69 (name VARCHAR, roll VARCHAR, decile VARCHAR, authority VARCHAR)
SELECT band FROM table_name_88 WHERE frequency = "102.3"
Name the band with frequency of 102.3
CREATE TABLE table_name_88 (band VARCHAR, frequency VARCHAR)
SELECT result FROM table_1342149_43 WHERE first_elected = "1942"
What was the result in the election where the incumbent was first elected in 1942?
CREATE TABLE table_1342149_43 (result VARCHAR, first_elected VARCHAR)
SELECT to_par FROM table_name_79 WHERE country = "new zealand"
What is the To par of the New Zealand Player?
CREATE TABLE table_name_79 (to_par VARCHAR, country VARCHAR)
SELECT goals FROM table_name_66 WHERE caps = 48
What were the goals when the caps were set at 48?
CREATE TABLE table_name_66 (goals VARCHAR, caps VARCHAR)
SELECT college_junior_club_team FROM table_1213511_4 WHERE player = "George Hulme"
What team does George Hulme play for?
CREATE TABLE table_1213511_4 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT round FROM table_10083598_1 WHERE circuit = "Assen"
Where was Assen held?
CREATE TABLE table_10083598_1 (round VARCHAR, circuit VARCHAR)
SELECT pick FROM table_1013129_3 WHERE player = "Dorain Anneck"
What's Dorain Anneck's pick number?
CREATE TABLE table_1013129_3 (pick VARCHAR, player VARCHAR)
SELECT weight_class FROM table_name_65 WHERE time = "4:59"
Which weight class had a time of 4:59?
CREATE TABLE table_name_65 (weight_class VARCHAR, time VARCHAR)
SELECT MAX(opponents) FROM table_16677887_2 WHERE date = "Sept. 14"
How many points did the opponent score on Sept. 14?
CREATE TABLE table_16677887_2 (opponents INTEGER, date VARCHAR)
SELECT incumbent FROM table_2668387_18 WHERE district = "Virginia 4"
Name the incumbent for virginia 4
CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR)
SELECT kv_85_m1943 FROM table_name_51 WHERE kv_1s_m1942 = "45"
What's the KV-85 when the KV-1S is 45?
CREATE TABLE table_name_51 (kv_85_m1943 VARCHAR, kv_1s_m1942 VARCHAR)
SELECT MAX(silver) FROM table_name_9 WHERE total < 8 AND gold = 0 AND nation = "qatar" AND bronze > 2
What is the highest number of silvers for qatar with under 8 total, 0 golds, and over 2 bronzes?
CREATE TABLE table_name_9 (silver INTEGER, bronze VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)
SELECT runner_s__up FROM table_name_58 WHERE margin_of_victory = "2 strokes"
For the tournament ending with a margin of victory of 2 strokes, who was the runner(s)-up?
CREATE TABLE table_name_58 (runner_s__up VARCHAR, margin_of_victory VARCHAR)
SELECT vacator FROM table_2417345_3 WHERE date_of_successors_formal_installation = "February 1, 1871"
Who was the vacator when the successor was formally installed on February 1, 1871?
CREATE TABLE table_2417345_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)
SELECT rider_status FROM table_name_77 WHERE team_country = "netherlands" AND year = 1971
What is the rider status for the 1971 netherlands team?
CREATE TABLE table_name_77 (rider_status VARCHAR, team_country VARCHAR, year VARCHAR)
SELECT country FROM table_name_26 WHERE player = "dave barr"
WHAT IS THE COUNTRY WITH DAVE BARR?
CREATE TABLE table_name_26 (country VARCHAR, player VARCHAR)
SELECT manner_of_departure FROM table_27114708_2 WHERE team = "Livorno"
For livorno team mention all the manner of departure
CREATE TABLE table_27114708_2 (manner_of_departure VARCHAR, team VARCHAR)
SELECT COUNT(laps) FROM table_name_53 WHERE winnings = "$116,033" AND car__number < 18
How many total laps for the driver with Winnings of $116,033, and a Car # smaller than 18?
CREATE TABLE table_name_53 (laps VARCHAR, winnings VARCHAR, car__number VARCHAR)
SELECT COUNT(no) FROM table_10015132_9 WHERE years_in_toronto = "2005-06"
What are the total amount of numbers on the Toronto team in 2005-06?
CREATE TABLE table_10015132_9 (no VARCHAR, years_in_toronto VARCHAR)
SELECT date FROM table_name_50 WHERE streak = "won 8"
What is the date when streak was won 8?
CREATE TABLE table_name_50 (date VARCHAR, streak VARCHAR)
SELECT COUNT(byes) FROM table_name_48 WHERE against < 1544 AND wins = 13 AND draws > 0
How many byes did they have against smaller than 1544, 13 wins, and draws larger than 0?
CREATE TABLE table_name_48 (byes VARCHAR, draws VARCHAR, against VARCHAR, wins VARCHAR)
SELECT flatspin FROM table_17827271_1 WHERE actor_in_original_production = "Robert Austin"
What FlatSpin actor played the same role as Robert Austin?
CREATE TABLE table_17827271_1 (flatspin VARCHAR, actor_in_original_production VARCHAR)
SELECT count_palatine_of_the_rhine FROM table_name_65 WHERE interregnum_began = "2 april 1657 death of ferdinand iii"
What is the name of the Count Palatine of the Rhine with a Interregnum began of 2 april 1657 death of ferdinand iii?
CREATE TABLE table_name_65 (count_palatine_of_the_rhine VARCHAR, interregnum_began VARCHAR)
SELECT test_career FROM table_name_46 WHERE tests > 41 AND catches > 33 AND total_dismissals = 147
Who has a career that has test larger than 41, catches over 33, and a total dismissals rate of 147?
CREATE TABLE table_name_46 (test_career VARCHAR, total_dismissals VARCHAR, tests VARCHAR, catches VARCHAR)
SELECT year FROM table_name_16 WHERE finish = "15"
What year did the finish of 15 happen in?
CREATE TABLE table_name_16 (year VARCHAR, finish VARCHAR)
SELECT february FROM table_1539201_1
Name all of the february
CREATE TABLE table_1539201_1 (february VARCHAR)
SELECT directed_by FROM table_28194879_1 WHERE production_code = "PABF05"
Who directed the episode whose production code is pabf05?
CREATE TABLE table_28194879_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT incumbent FROM table_1342013_37 WHERE district = "Pennsylvania 15"
What is the incumbent for pennsylvania 15
CREATE TABLE table_1342013_37 (incumbent VARCHAR, district VARCHAR)
SELECT record FROM table_name_56 WHERE nationality = "norway" AND date = "23 august 1981"
What is the record for Norway on 23 august 1981?
CREATE TABLE table_name_56 (record VARCHAR, nationality VARCHAR, date VARCHAR)
SELECT semifinal FROM table_name_47 WHERE event = "team"
Which Semifinal has an Event of team?
CREATE TABLE table_name_47 (semifinal VARCHAR, event VARCHAR)
SELECT alliance__association FROM table_name_11 WHERE airline_holding = "aeroflot group"
For airlines named Aeroflot Group, what is the alliance?
CREATE TABLE table_name_11 (alliance__association VARCHAR, airline_holding VARCHAR)
SELECT MIN(_number) FROM table_11964047_10
What is the lowest #?
CREATE TABLE table_11964047_10 (_number INTEGER)
SELECT SUM(failures) FROM table_name_33 WHERE orbital_regime = "heliocentric orbit" AND launches < 1
What is the total failures of heliocentric orbit orbital regimes and launches less than 1?
CREATE TABLE table_name_33 (failures INTEGER, orbital_regime VARCHAR, launches VARCHAR)
SELECT COUNT(poor_law_union) FROM table_30121075_1 WHERE townland = "Dromidiclogh"
How many entries are listed in poor law union when townland is dromidiclogh?
CREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR)
SELECT position FROM table_name_44 WHERE school = "washington"
What is the position of the player for Washington school?
CREATE TABLE table_name_44 (position VARCHAR, school VARCHAR)
SELECT home_team FROM table_16388478_4 WHERE away_team = "Carlton"
Who was the home team when the away team is Carlton?
CREATE TABLE table_16388478_4 (home_team VARCHAR, away_team VARCHAR)
SELECT T1.name FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T1.name ORDER BY COUNT(*) DESC LIMIT 1
Find the name of airline which runs the most number of routes.
CREATE TABLE airlines (name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR)
SELECT gold FROM table_name_91 WHERE silver = "5" AND nation = "belgium"
What is Gold, when Silver is 5, and when Nation is Belgium?
CREATE TABLE table_name_91 (gold VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT date FROM table_name_33 WHERE score = "0-0"
On what date was the score 0-0?
CREATE TABLE table_name_33 (date VARCHAR, score VARCHAR)
SELECT AVG(inegi_code) FROM table_name_17 WHERE population_density___km_2__ < 81.4 AND human_development_index__2000_ = 0.6593
WHich INEGI code has a Population density (/km 2 ) smaller than 81.4 and 0.6593 Human Development Index (2000)?
CREATE TABLE table_name_17 (inegi_code INTEGER, population_density___km_2__ VARCHAR, human_development_index__2000_ VARCHAR)
SELECT grsecurity FROM table_1357052_6 WHERE distribution = "Debian / Ubuntu"
what's the grsecurity with dbeingtribution being debian / ubuntu
CREATE TABLE table_1357052_6 (grsecurity VARCHAR, distribution VARCHAR)
SELECT SUM(number) FROM table_name_24 WHERE name = "brandon dean"
How many numbers had Brandon Dean as a name?
CREATE TABLE table_name_24 (number INTEGER, name VARCHAR)
SELECT result FROM table_19810459_1 WHERE background = "Small business owner"
What was the result for the contestant who was a small business owner?
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)
SELECT original_air_date FROM table_18335117_2 WHERE production_code = 102
When did the episode first air that had a production code of 102?
CREATE TABLE table_18335117_2 (original_air_date VARCHAR, production_code VARCHAR)
SELECT max_page_size FROM product GROUP BY max_page_size HAVING COUNT(*) > 3
Find the list of page size which have more than 3 product listed
CREATE TABLE product (max_page_size VARCHAR)
SELECT date FROM table_name_84 WHERE home_team = "west ham united"
On what Date is West Ham United the Home team?
CREATE TABLE table_name_84 (date VARCHAR, home_team VARCHAR)
SELECT year_s__won FROM table_name_18 WHERE to_par > 5 AND total < 155 AND country = "united states"
Can you tell me the Year(s) Won that has the To par larger than 5, and the Total smaller than 155, and the Country of united states?
CREATE TABLE table_name_18 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR, total VARCHAR)
SELECT proposed FROM table_name_40 WHERE name = "revere textile prints corporation"
What is the date for proposed for revere textile prints corporation
CREATE TABLE table_name_40 (proposed VARCHAR, name VARCHAR)
SELECT team FROM table_23391714_1 WHERE chassis_engine = "Lola T92/00/ Buick"
Which team uses lola t92/00/ buick for their chassis/engine?
CREATE TABLE table_23391714_1 (team VARCHAR, chassis_engine VARCHAR)
SELECT MIN(mass__m___) FROM table_10432351_1 WHERE radius__r___ = 10
If a radius is 10, what is the lowest possible mass?
CREATE TABLE table_10432351_1 (mass__m___ INTEGER, radius__r___ VARCHAR)
SELECT COUNT(w_l__total_) FROM table_11233358_2 WHERE debut = 2013
During the 2013 debut, what is the w-I(total) number?
CREATE TABLE table_11233358_2 (w_l__total_ VARCHAR, debut VARCHAR)
SELECT MAX(laps) FROM table_name_9 WHERE grid = "2" AND points > 26
What is the top lap that had 2 grids and more than 26 points?
CREATE TABLE table_name_9 (laps INTEGER, grid VARCHAR, points VARCHAR)
SELECT date FROM table_name_44 WHERE loss = "ruffin (3-5)"
Name the date for loss of ruffin (3-5)
CREATE TABLE table_name_44 (date VARCHAR, loss VARCHAR)
SELECT weight__kg_ FROM table_24915874_1 WHERE horse = "Alcopop"
What was the weight in kg when the horse was Alcopop?
CREATE TABLE table_24915874_1 (weight__kg_ VARCHAR, horse VARCHAR)
SELECT violent FROM table_25271777_1 WHERE index = 191037
How many violent crimes occurred the year that the index was 191037?
CREATE TABLE table_25271777_1 (violent VARCHAR, index VARCHAR)