answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT approved_treatment_s_ FROM table_1661124_1 WHERE target = "CD30"
What are all the approved treatments for the target CD30?
CREATE TABLE table_1661124_1 (approved_treatment_s_ VARCHAR, target VARCHAR)
SELECT COUNT(high_points) FROM table_11960944_6 WHERE team = "@ Milwaukee"
How many players had the most points in the game @ Milwaukee?
CREATE TABLE table_11960944_6 (high_points VARCHAR, team VARCHAR)
SELECT name FROM table_name_80 WHERE reaction > 0.17400000000000002 AND lane > 6
Who had a reaction larger than 0.17400000000000002 and a lane larger than 6?
CREATE TABLE table_name_80 (name VARCHAR, reaction VARCHAR, lane VARCHAR)
SELECT home_team AS score FROM table_name_93 WHERE away_team = "fitzroy"
What is the home team score when the away team was fitzroy?
CREATE TABLE table_name_93 (home_team VARCHAR, away_team VARCHAR)
SELECT MIN(total) FROM table_name_63 WHERE rank > 8 AND routine_score > 27.6 AND difficulty_score = "13.8"
What is the total with lower than rank 8, and higher than 27.6 score and 13.8 difficulty?
CREATE TABLE table_name_63 (total INTEGER, difficulty_score VARCHAR, rank VARCHAR, routine_score VARCHAR)
SELECT role FROM table_name_55 WHERE direction = "thulasidas"
Which role had thulasidas direction?
CREATE TABLE table_name_55 (role VARCHAR, direction VARCHAR)
SELECT school FROM table_11677691_7 WHERE college = "Auburn"
Which school did the player then go to Auburn?
CREATE TABLE table_11677691_7 (school VARCHAR, college VARCHAR)
SELECT slalom FROM table_name_36 WHERE downhill = "4"
Which Slalom has a Downhill of 4?
CREATE TABLE table_name_36 (slalom VARCHAR, downhill VARCHAR)
SELECT MAX(total__number) FROM table_13625792_1 WHERE county = "Wayne"
How many votes were cast in Wayne county?
CREATE TABLE table_13625792_1 (total__number INTEGER, county VARCHAR)
SELECT COUNT(no) FROM table_12962773_13 WHERE current_club = "Grupo Capitol Valladolid"
Name the total number of grupo capitol valladolid
CREATE TABLE table_12962773_13 (no VARCHAR, current_club VARCHAR)
SELECT venue FROM table_name_16 WHERE status = "five nations" AND against = 22
Which venue has a status of Five Nations and an against of 22?
CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR)
SELECT COUNT(quantity) FROM table_name_93 WHERE drg_number_s_ = "e 62 01–e 62 05"
What is the quantity when the DRG was E 62 01–E 62 05?
CREATE TABLE table_name_93 (quantity VARCHAR, drg_number_s_ VARCHAR)
SELECT height FROM table_name_2 WHERE date_of_birth = "1976-12-27"
How tall is the person born on 1976-12-27?
CREATE TABLE table_name_2 (height VARCHAR, date_of_birth VARCHAR)
SELECT airport FROM table_name_39 WHERE icao = "wmkp"
What is the airport with ICAO code of WMKP?
CREATE TABLE table_name_39 (airport VARCHAR, icao VARCHAR)
SELECT role FROM table_name_80 WHERE leading_lady = "verna hillie"
What role did John Wayne play with Verna Hillie as the leading lady?
CREATE TABLE table_name_80 (role VARCHAR, leading_lady VARCHAR)
SELECT location_attendance FROM table_27733258_6 WHERE score = "L 105–123 (OT)"
Name the location attendance for l 105–123 (ot)
CREATE TABLE table_27733258_6 (location_attendance VARCHAR, score VARCHAR)
SELECT MAX(week) FROM table_name_5 WHERE opponent = "minnesota vikings"
What is the highest week that was played against the Minnesota Vikings?
CREATE TABLE table_name_5 (week INTEGER, opponent VARCHAR)
SELECT score FROM table_name_7 WHERE place = "t6" AND player = "ed furgol"
What score did Ed Furgol get to come in at T6?
CREATE TABLE table_name_7 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT song FROM table_name_12 WHERE lead_supporting_vocal = "marcus temu"
What is the song name that featured Marcus Temu as the lead supporting vocalist?
CREATE TABLE table_name_12 (song VARCHAR, lead_supporting_vocal VARCHAR)
SELECT other_abbreviation FROM table_287159_1 WHERE genitive = "Hydrae /ˈhaɪdriː/"
What is the other abbreviation of the constellation that has hydrae /ˈhaɪdriː/ as genitive?
CREATE TABLE table_287159_1 (other_abbreviation VARCHAR, genitive VARCHAR)
SELECT COUNT(losses) FROM table_name_42 WHERE against = 1017 AND wins > 12
What's the total losses that has more than 12 wins and 1017 against?
CREATE TABLE table_name_42 (losses VARCHAR, against VARCHAR, wins VARCHAR)
SELECT part_3 FROM table_name_31 WHERE part_2 = "*hegait"
What is the part 3 with *hegait in part 2?
CREATE TABLE table_name_31 (part_3 VARCHAR, part_2 VARCHAR)
SELECT t2.state_province_county, COUNT(*) FROM customer_addresses AS t1 JOIN addresses AS t2 ON t1.address_id = t2.address_id GROUP BY t2.state_province_county
List the state names and the number of customers living in each state.
CREATE TABLE customer_addresses (address_id VARCHAR); CREATE TABLE addresses (state_province_county VARCHAR, address_id VARCHAR)
SELECT MAX(points) FROM table_25352324_5
What is the highest value for points?
CREATE TABLE table_25352324_5 (points INTEGER)
SELECT max_demand_charge___rs__kva_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = "8.85"
What was the max demand charge for the user with a tariff of 8.85?
CREATE TABLE table_25479607_3 (max_demand_charge___rs__kva_ VARCHAR, tariff___rs__kwh_ VARCHAR)
SELECT loss FROM table_name_28 WHERE opponent = "@ expos" AND save = "parrett (2)"
What is the loss for the game against @ expos, with a save of parrett (2)?
CREATE TABLE table_name_28 (loss VARCHAR, opponent VARCHAR, save VARCHAR)
SELECT record FROM table_name_12 WHERE high_points = "leandro barbosa (32)"
What's the record of the game that Leandro Barbosa (32) had the high points?
CREATE TABLE table_name_12 (record VARCHAR, high_points VARCHAR)
SELECT COUNT(silver) FROM table_name_44 WHERE total > 9 AND gold = 14
How much Silver has a Total larger than 9, and a Gold of 14?
CREATE TABLE table_name_44 (silver VARCHAR, total VARCHAR, gold VARCHAR)
SELECT athletes FROM table_name_97 WHERE country = "myanmar"
What is the name of the athlete from Myanmar?
CREATE TABLE table_name_97 (athletes VARCHAR, country VARCHAR)
SELECT MAX(kuala_lumpur) FROM table_name_82 WHERE durban < 1 AND mar_del_plata > 0
What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del Plata value greater than 0?
CREATE TABLE table_name_82 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR)
SELECT per_capita_income FROM table_1840495_2 WHERE median_house__hold_income = "$57,407"
If the median income is $57,407, what is the per capita income?
CREATE TABLE table_1840495_2 (per_capita_income VARCHAR, median_house__hold_income VARCHAR)
SELECT COUNT(incumbent) FROM table_1341690_9 WHERE candidates = "Sam M. Gibbons (D) Unopposed"
How many incumbent candidates in the election featuring sam m. gibbons (d) unopposed?
CREATE TABLE table_1341690_9 (incumbent VARCHAR, candidates VARCHAR)
SELECT score FROM table_name_25 WHERE opponents_in_the_final = "jordi arrese àlex corretja"
What is the Score of an Opponent\ in the final of jordi arrese àlex corretja?
CREATE TABLE table_name_25 (score VARCHAR, opponents_in_the_final VARCHAR)
SELECT SUM(wins) FROM table_name_25 WHERE scored < 26 AND conceded > 23
What is the number of wins when scored was less than 26, and conceded was larger than 23?
CREATE TABLE table_name_25 (wins INTEGER, scored VARCHAR, conceded VARCHAR)
SELECT COUNT(location) FROM table_2419754_1 WHERE nickname = "Billikens"
List the number of locations for the team known as the billikens.
CREATE TABLE table_2419754_1 (location VARCHAR, nickname VARCHAR)
SELECT crowd FROM table_name_29 WHERE away_team = "footscray"
How many people attended the game where Footscray was away?
CREATE TABLE table_name_29 (crowd VARCHAR, away_team VARCHAR)
SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room HAVING COUNT(*) > 60
Find the names of rooms that have been reserved for more than 60 times.
CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR)
SELECT semifinal_matches FROM table_2413292_1 WHERE commercial_name = "Buick WCT Finals"
Who played in the semi finals matches at the Buick WCT finals?
CREATE TABLE table_2413292_1 (semifinal_matches VARCHAR, commercial_name VARCHAR)
SELECT COUNT(round) FROM table_name_16 WHERE position = "defensive end"
How many Rounds have a Defensive End Pick?
CREATE TABLE table_name_16 (round VARCHAR, position VARCHAR)
SELECT result FROM table_name_6 WHERE first_elected = 1876 AND district = "south carolina 3"
Which Result has a First elected of 1876, and a District of south carolina 3?
CREATE TABLE table_name_6 (result VARCHAR, first_elected VARCHAR, district VARCHAR)
SELECT region FROM table_name_7 WHERE catalog = "38xa-3"
Which region is identified as 38xa-3 in the catalog?
CREATE TABLE table_name_7 (region VARCHAR, catalog VARCHAR)
SELECT engine FROM table_name_57 WHERE chassis = "porsche 718" AND points = 0 AND year < 1964
what is the engine that saw a Chassis of porsche 718, and 0 points, prior to 1964?
CREATE TABLE table_name_57 (engine VARCHAR, year VARCHAR, chassis VARCHAR, points VARCHAR)
SELECT player FROM table_name_15 WHERE to_par = "–4"
What is the Player that has a To standard of –4?
CREATE TABLE table_name_15 (player VARCHAR, to_par VARCHAR)
SELECT COUNT(date_of_birth) FROM table_27998152_1 WHERE previous_club = "Chelsea"
how many date of birts are if the previous club is chelsea
CREATE TABLE table_27998152_1 (date_of_birth VARCHAR, previous_club VARCHAR)
SELECT position FROM table_name_86 WHERE round < 2
What position has round less than 2?
CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)
SELECT studio_host FROM table_name_47 WHERE play_by_play = "sean grande" AND year = "2004-05"
Play-by-play of sean grande, and a Year of 2004-05 had what studio host?
CREATE TABLE table_name_47 (studio_host VARCHAR, play_by_play VARCHAR, year VARCHAR)
SELECT result FROM table_name_80 WHERE goal = 5
What result has a goal of 5?
CREATE TABLE table_name_80 (result VARCHAR, goal VARCHAR)
SELECT opponent FROM table_name_45 WHERE result = "w 12-11"
Name the opponent when the resultwas w 12-11
CREATE TABLE table_name_45 (opponent VARCHAR, result VARCHAR)
SELECT SUM(against) FROM table_name_75 WHERE ballarat_fl = "east point" AND wins < 16
What is the sum of against in Ballarat FL of East Point and wins less than 16?
CREATE TABLE table_name_75 (against INTEGER, ballarat_fl VARCHAR, wins VARCHAR)
SELECT icao FROM table_name_96 WHERE fleet_size = 2
Which ICAO has a Fleet size of 2?
CREATE TABLE table_name_96 (icao VARCHAR, fleet_size VARCHAR)
SELECT krypton FROM table_name_36 WHERE physical_property = "critical pressure (atm)"
Which Krypton has a Physical property of critical pressure (atm)?
CREATE TABLE table_name_36 (krypton VARCHAR, physical_property VARCHAR)
SELECT league_from FROM table_name_13 WHERE nhl_team = "san jose sharks (from carolina) 3"
Which League from has a NHL team of san jose sharks (from carolina) 3?
CREATE TABLE table_name_13 (league_from VARCHAR, nhl_team VARCHAR)
SELECT SUM(drawn) FROM table_name_42 WHERE played > 14
What is the whole of Drawn that has a Played larger than 14?
CREATE TABLE table_name_42 (drawn INTEGER, played INTEGER)
SELECT venue FROM table_name_42 WHERE away_team = "fitzroy"
What venue was the game played in when the away team was fitzroy?
CREATE TABLE table_name_42 (venue VARCHAR, away_team VARCHAR)
SELECT place FROM table_name_13 WHERE score = 68 - 73 - 66 - 74 = 281
What is the Place of the Player with a Score of 68-73-66-74=281?
CREATE TABLE table_name_13 (place VARCHAR, score VARCHAR)
SELECT current_club FROM table_23670057_5 WHERE height__m_ = "2.14"
Which clubs have players with height 2.14m?
CREATE TABLE table_23670057_5 (current_club VARCHAR, height__m_ VARCHAR)
SELECT numbers__quantity_ordered_ FROM table_name_96 WHERE fuel_propulsion = "cng" AND year < 2008 AND make__model = "nabi 40-lfw"
Which Numbers (Quantity Ordered) have a Fuel Propulsion of cng, and a Year smaller than 2008, and a Make/ Model of nabi 40-lfw?
CREATE TABLE table_name_96 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR)
SELECT event FROM table_name_33 WHERE days_held = "8"
What event has 8 as the days held?
CREATE TABLE table_name_33 (event VARCHAR, days_held VARCHAR)
SELECT year_opened FROM track WHERE seating BETWEEN 4000 AND 5000
Show year where a track with a seating at least 5000 opened and a track with seating no more than 4000 opened.
CREATE TABLE track (year_opened VARCHAR, seating INTEGER)
SELECT MIN(date) FROM table_name_51 WHERE attendance = "1,034"
When was the attendance 1,034?
CREATE TABLE table_name_51 (date INTEGER, attendance VARCHAR)
SELECT staff_details FROM Research_Staff ORDER BY staff_details
List the research staff details, and order in ascending order.
CREATE TABLE Research_Staff (staff_details VARCHAR)
SELECT MAX(attendance) FROM table_2015453_1
What was the largest attendance?
CREATE TABLE table_2015453_1 (attendance INTEGER)
SELECT SUM(goals_against) FROM table_name_85 WHERE goals_for = 46 AND played < 38
WHAT GOALS AGAINST HAD A GOAL FOR OF 46, AND PLAYED LESS THAN 38?
CREATE TABLE table_name_85 (goals_against INTEGER, goals_for VARCHAR, played VARCHAR)
SELECT silver FROM table_name_77 WHERE gold = 1 AND rank < 3 AND nation = "japan"
What is silver when gold is 1 and the rank is less than 3 for japan?
CREATE TABLE table_name_77 (silver VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT high_rebounds FROM table_name_19 WHERE score = "l 101–109 (ot)"
What were the high rebounds when the score was l 101–109 (ot)?
CREATE TABLE table_name_19 (high_rebounds VARCHAR, score VARCHAR)
SELECT type FROM table_2076595_1 WHERE enrollment__2009_ = 224
What type of school had an enrollment in 2009 of 224?
CREATE TABLE table_2076595_1 (type VARCHAR, enrollment__2009_ VARCHAR)
SELECT date FROM table_22801165_1 WHERE cowboys_points = 13
When did the Cowboys score 13 points in 1966?
CREATE TABLE table_22801165_1 (date VARCHAR, cowboys_points VARCHAR)
SELECT MAX(place__posición_) FROM table_name_41 WHERE points__pts_ > 24 AND played__pj_ > 14
What was the top place with over 24 points and more than 14 played?
CREATE TABLE table_name_41 (place__posición_ INTEGER, points__pts_ VARCHAR, played__pj_ VARCHAR)
SELECT score FROM table_name_59 WHERE host_city = "kėdainiai"
What is the score of the season in the host city kėdainiai?
CREATE TABLE table_name_59 (score VARCHAR, host_city VARCHAR)
SELECT date FROM table_name_87 WHERE week < 10 AND opponent = "denver broncos"
When did the Chargers play the Denver Broncos before Week 10?
CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT year_built__converted * _ FROM table_name_19 WHERE withdrawn = 1983
Tell me the year built for withdrawn of 1983
CREATE TABLE table_name_19 (year_built__converted VARCHAR, _ VARCHAR, withdrawn VARCHAR)
SELECT visitor FROM table_name_27 WHERE date = "april 6"
Who was the visiting team on April 6?
CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR)
SELECT date FROM table_name_46 WHERE winner = "ted horn" AND race_name = "lakewood race 2"
What date did Ted Horn win Lakewood Race 2?
CREATE TABLE table_name_46 (date VARCHAR, winner VARCHAR, race_name VARCHAR)
SELECT result FROM table_name_52 WHERE date = "10/08/1988"
What was the result on 10/08/1988?
CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)
SELECT united_states_original_airdate FROM table_29087004_2 WHERE written_by = "Mike Ferris"
What is the original United States air date of the episode written by Mike Ferris?
CREATE TABLE table_29087004_2 (united_states_original_airdate VARCHAR, written_by VARCHAR)
SELECT attendance FROM table_name_64 WHERE date = "december 20, 1964"
How many people attended the game on December 20, 1964?
CREATE TABLE table_name_64 (attendance VARCHAR, date VARCHAR)
SELECT release_date FROM table_name_96 WHERE format = "vhs" AND title = "super callanetics"
What is the release date of vhs super callanetics?
CREATE TABLE table_name_96 (release_date VARCHAR, format VARCHAR, title VARCHAR)
SELECT college FROM table_name_44 WHERE pick__number = "268"
What college is pick number 268 from?
CREATE TABLE table_name_44 (college VARCHAR, pick__number VARCHAR)
SELECT location FROM table_name_45 WHERE coach = "unknown" AND founded = 1946
Where is the club that was founded in 1946 located that has an unknown coach?
CREATE TABLE table_name_45 (location VARCHAR, coach VARCHAR, founded VARCHAR)
SELECT circuit FROM table_name_49 WHERE date = "15 april"
What is the circuit held on 15 april?
CREATE TABLE table_name_49 (circuit VARCHAR, date VARCHAR)
SELECT MAX(female_life_expectancy) FROM table_2701625_1 WHERE overall_rank = 61
Name the most female life expectancy for overall rank of 61
CREATE TABLE table_2701625_1 (female_life_expectancy INTEGER, overall_rank VARCHAR)
SELECT nhl_team FROM table_2679061_11 WHERE pick__number = 203
What team had pick 203?
CREATE TABLE table_2679061_11 (nhl_team VARCHAR, pick__number VARCHAR)
SELECT game_name FROM table_name_55 WHERE top_prize = "$888"
What is the name of the game with a top prize of $888?
CREATE TABLE table_name_55 (game_name VARCHAR, top_prize VARCHAR)
SELECT place FROM table_name_2 WHERE score = 71 AND country = "united states" AND player = "jim thorpe"
When Jim Thorpe of United States has a score of 71, what is the place?
CREATE TABLE table_name_2 (place VARCHAR, player VARCHAR, score VARCHAR, country VARCHAR)
SELECT sport FROM table_name_70 WHERE date = "march 17, 2006" AND winning_team = "iowa state"
WHich port is on march 17, 2006 and has a Winning team of iowa state?
CREATE TABLE table_name_70 (sport VARCHAR, date VARCHAR, winning_team VARCHAR)
SELECT gt1_winning_team FROM table_12146068_2 WHERE gt2_winning_team = "#54 Bell Motorsports"
Name the gt1 winning team for #54 bell motorsports
CREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, gt2_winning_team VARCHAR)
SELECT SUM(rank) FROM table_name_19 WHERE worldwide_gross = "$183,031,272"
What is the Rank of the Film with a Worldwide Gross of $183,031,272?
CREATE TABLE table_name_19 (rank INTEGER, worldwide_gross VARCHAR)
SELECT tournament FROM table_name_21 WHERE away_team = "mexico" AND home_team = "japan"
What was the tournament where Japan was the home team and Mexico was the away team?
CREATE TABLE table_name_21 (tournament VARCHAR, away_team VARCHAR, home_team VARCHAR)
SELECT year_of_last_win FROM table_14286908_1 WHERE total_finals = 10
In what year was the total finals at 10?
CREATE TABLE table_14286908_1 (year_of_last_win VARCHAR, total_finals VARCHAR)
SELECT constancy FROM table_11609814_1 WHERE permanence_of_the_body = "meditation"
what's the constancy where permanence of the body is meditation
CREATE TABLE table_11609814_1 (constancy VARCHAR, permanence_of_the_body VARCHAR)
SELECT year_s__of_manufacture FROM table_name_90 WHERE quantity > 39 AND type = "1′c1′ h2t"
Which Year(s) of manufacture has a Quantity larger than 39, and a Type of 1′c1′ h2t?
CREATE TABLE table_name_90 (year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR)
SELECT sport FROM table_name_21 WHERE event = "men's 400 m hurdles"
Which Sport had an Event of men's 400 m hurdles?
CREATE TABLE table_name_21 (sport VARCHAR, event VARCHAR)
SELECT october_2012 FROM table_21531764_1 WHERE october_2010 = "9.1"
For the area which was 9.1 in October 2010, what is the figure for October 2012?
CREATE TABLE table_21531764_1 (october_2012 VARCHAR, october_2010 VARCHAR)
SELECT second_member FROM table_name_99 WHERE election = "1835"
What is Second Member, when Election is "1835"?
CREATE TABLE table_name_99 (second_member VARCHAR, election VARCHAR)
SELECT party FROM table_name_77 WHERE years_in_assembly = "2008–present" AND name = "tom ammiano"
Which Party has Years in Assembly of 2008–present, and a Name of tom ammiano?
CREATE TABLE table_name_77 (party VARCHAR, years_in_assembly VARCHAR, name VARCHAR)
SELECT COUNT(winnings) FROM table_1875157_1 WHERE starts = 32
Did this driver have any winnings the season he had 32 starts
CREATE TABLE table_1875157_1 (winnings VARCHAR, starts VARCHAR)
SELECT indigenous_mining_production_2006 FROM table_15624586_2 WHERE _percentage_of_world_demand = "24.0%"
Which country mines 24.0% of the world demand of uranium?
CREATE TABLE table_15624586_2 (indigenous_mining_production_2006 VARCHAR, _percentage_of_world_demand VARCHAR)
SELECT position FROM table_name_66 WHERE debut = "round 6"
What position had a debut in round 6?
CREATE TABLE table_name_66 (position VARCHAR, debut VARCHAR)
SELECT departure_pune FROM table_29301050_1 WHERE arrival_lonavla = "22:22"
what time does the train that arrives in lonavla at 22:22 depart pune
CREATE TABLE table_29301050_1 (departure_pune VARCHAR, arrival_lonavla VARCHAR)
SELECT COUNT(podiums) FROM table_21795846_1 WHERE position = "9th"
If the position is 9th, what is the total podiums number?
CREATE TABLE table_21795846_1 (podiums VARCHAR, position VARCHAR)