answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT COUNT(location) FROM table_12547903_3 WHERE callsign = "DXCL"
How many places featured the DXCL Callsign?
CREATE TABLE table_12547903_3 (location VARCHAR, callsign VARCHAR)
SELECT MIN(voted_no) FROM table_120778_2 WHERE percent_no = "56.6"
what is the minimum voted no where percent no is 56.6
CREATE TABLE table_120778_2 (voted_no INTEGER, percent_no VARCHAR)
SELECT name AS origin FROM table_16799784_11 WHERE name = "Nike Fossae"
What is the name origin of Nike Fossae?
CREATE TABLE table_16799784_11 (name VARCHAR)
SELECT season FROM table_19897896_7 WHERE position = "Center"
in which season the position was center
CREATE TABLE table_19897896_7 (season VARCHAR, position VARCHAR)
SELECT T1.employee_id, T2.job_title FROM employees AS T1 JOIN jobs AS T2 ON T1.job_id = T2.job_id WHERE T1.department_id = 80
display the employee ID and job name for all those jobs in department 80.
CREATE TABLE jobs (job_title VARCHAR, job_id VARCHAR); CREATE TABLE employees (employee_id VARCHAR, job_id VARCHAR, department_id VARCHAR)
SELECT MAX(after) FROM table_24108789_4 WHERE player = "Steve Stricker"
What is the latest after when the player is Steve Stricker?
CREATE TABLE table_24108789_4 (after INTEGER, player VARCHAR)
SELECT status FROM table_name_94 WHERE score = 21.5
Which status accompanies the score 21.5?
CREATE TABLE table_name_94 (status VARCHAR, score VARCHAR)
SELECT dvd_name FROM table_1180228_1 WHERE num_of_discs > 2.0
What is the name of the DVD where the number of discs is greater than 2.0
CREATE TABLE table_1180228_1 (dvd_name VARCHAR, num_of_discs INTEGER)
SELECT team FROM table_name_60 WHERE race_title = "launceston"
Name the team for launceston
CREATE TABLE table_name_60 (team VARCHAR, race_title VARCHAR)
SELECT cores FROM table_24099628_1 WHERE model__list_ = "E2xxx"
What is the number of cores associated with model name e2xxx?
CREATE TABLE table_24099628_1 (cores VARCHAR, model__list_ VARCHAR)
SELECT genes FROM table_name_47 WHERE species = "rubrobacter xylanophilus"
How many genes in the species Rubrobacter Xylanophilus?
CREATE TABLE table_name_47 (genes VARCHAR, species VARCHAR)
SELECT opponent FROM table_name_32 WHERE date = "may 12"
Who was the opponent that played on may 12?
CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR)
SELECT date FROM table_name_35 WHERE record = "26–14–9"
What was the date the record became 26–14–9?
CREATE TABLE table_name_35 (date VARCHAR, record VARCHAR)
SELECT height FROM table_27067379_1 WHERE building = "Costanera Center Torre 1"
If the building is Costanera Center Torre 1, what is the height?
CREATE TABLE table_27067379_1 (height VARCHAR, building VARCHAR)
SELECT goals FROM table_name_24 WHERE matches < 37 AND average = 1.5
How many goals were scored on the goalkeeper with fewer than 37 matches and an average of 1.5?
CREATE TABLE table_name_24 (goals VARCHAR, matches VARCHAR, average VARCHAR)
SELECT MIN(year) FROM table_name_98 WHERE venue = "berlin, germany" AND event = "100 m hurdles"
What was the earliest year that an event held in Berlin, Germany had a 100 m hurdles event?
CREATE TABLE table_name_98 (year INTEGER, venue VARCHAR, event VARCHAR)
SELECT round FROM table_name_2 WHERE opponent = "carter williams"
How many rounds was the fight against carter williams?
CREATE TABLE table_name_2 (round VARCHAR, opponent VARCHAR)
SELECT rounds FROM table_name_51 WHERE team = "avanzza rosso"
In what rounds was the featured team of Avanzza Rosso?
CREATE TABLE table_name_51 (rounds VARCHAR, team VARCHAR)
SELECT COUNT(product_no) FROM table_10875694_11 WHERE title = "Jak 3"
How many products have the title "Jak 3"?
CREATE TABLE table_10875694_11 (product_no VARCHAR, title VARCHAR)
SELECT COUNT(*) FROM county_public_safety
How many counties are there?
CREATE TABLE county_public_safety (Id VARCHAR)
SELECT COUNT(byes) FROM table_name_80 WHERE south_west_dfl = "coleraine" AND wins < 12
What is the total number of Byes, when South West DFL is "Coleraine", and when Wins is less than 12?
CREATE TABLE table_name_80 (byes VARCHAR, south_west_dfl VARCHAR, wins VARCHAR)
SELECT COUNT(withdrawn) FROM table_name_93 WHERE number > 5
How many items withdrawn had numbers over 5?
CREATE TABLE table_name_93 (withdrawn VARCHAR, number INTEGER)
SELECT attendance FROM table_16864968_8 WHERE opponent = "Edmonton Oilers"
How many people attended the Edmonton Oilers game?
CREATE TABLE table_16864968_8 (attendance VARCHAR, opponent VARCHAR)
SELECT mens_3rd_xi FROM table_21576644_2 WHERE ladies_1st_xi = "3rd, Sedgemoor Division 1"
When 3rd, sedgemoor division 1 is the ladies 1st xi what is the mens 3rd xi?
CREATE TABLE table_21576644_2 (mens_3rd_xi VARCHAR, ladies_1st_xi VARCHAR)
SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_60_74 = "10,46%"
What is every value for % 20-39 if % 60-74 is 10,46%?
CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_60_74 VARCHAR)
SELECT state FROM table_name_27 WHERE host = "university of tennessee"
Which state is University of Tennessee based in?
CREATE TABLE table_name_27 (state VARCHAR, host VARCHAR)
SELECT SUM(silver) FROM table_name_92 WHERE total > 1 AND bronze = 1 AND gold < 0
Name the sum of silver when total is mor ethan 1, bronze is 1 and gold is les than 0
CREATE TABLE table_name_92 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT opponent_in_final FROM table_name_47 WHERE tournament = "pingguo"
What is the Opponent in final of the Pingguo Tournament?
CREATE TABLE table_name_47 (opponent_in_final VARCHAR, tournament VARCHAR)
SELECT MIN(top_25) FROM table_name_94 WHERE events = 3 AND wins > 0
What is the lowest Top-25 that has 3 Events and Wins greater than 0?
CREATE TABLE table_name_94 (top_25 INTEGER, events VARCHAR, wins VARCHAR)
SELECT stadium FROM table_28281704_1 WHERE city = "Nizhny Novgorod"
Name the stadium for nizhny novgorod
CREATE TABLE table_28281704_1 (stadium VARCHAR, city VARCHAR)
SELECT SUM(week) FROM table_name_23 WHERE attendance = "75,555"
WHAT IS THE WEEK WITH AN ATTENDANCE OF 75,555?
CREATE TABLE table_name_23 (week INTEGER, attendance VARCHAR)
SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_name = "SABBOT"
Name the nato/ us dod code for sabbot
CREATE TABLE table_211791_1 (nato_us_dod_code VARCHAR, nato_reporting_name VARCHAR)
SELECT city_of_license FROM table_name_70 WHERE class = "lp" AND identifier = "cbdk"
What is the city of license when the class is LP and the identifier is CBDK?
CREATE TABLE table_name_70 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR)
SELECT friday_day_six FROM table_1277350_7 WHERE monday_day_two = "Isnin"
What is friday day six when monday day two is isnin?
CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, monday_day_two VARCHAR)
SELECT call_sign FROM table_name_16 WHERE city_of_license = "spring valley, nevada"
What is the call sign of the translator in Spring Valley, Nevada?
CREATE TABLE table_name_16 (call_sign VARCHAR, city_of_license VARCHAR)
SELECT max_speed FROM table_28132970_5 WHERE vessel = "Gallion"
What is the max speed when the vessel is gallion?
CREATE TABLE table_28132970_5 (max_speed VARCHAR, vessel VARCHAR)
SELECT name FROM table_name_63 WHERE location = "china" AND notes = "described from a single tooth"
What is the Name of the dinosaur that was discovered in the Location, China, and whose Notes are, "described from a single tooth"?
CREATE TABLE table_name_63 (name VARCHAR, location VARCHAR, notes VARCHAR)
SELECT game_status FROM table_name_21 WHERE occupation = "utility worker on-air talent"
When the occupation was utility worker on-air talent, what was the game status?
CREATE TABLE table_name_21 (game_status VARCHAR, occupation VARCHAR)
SELECT date FROM table_name_93 WHERE tie_no = "replay" AND home_team = "huddersfield town"
What is the date of the match with a home team of Huddersfield Town and was a replay tie?
CREATE TABLE table_name_93 (date VARCHAR, tie_no VARCHAR, home_team VARCHAR)
SELECT MAX(bronze) FROM table_name_44 WHERE rank > 1 AND nation = "dominican republic" AND total > 4
Which Bronze is the highest one that has a Rank larger than 1, and a Nation of dominican republic, and a Total larger than 4?
CREATE TABLE table_name_44 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
SELECT score FROM table_name_48 WHERE visitor = "charlotte bobcats"
What's the score in the home game against the Charlotte Bobcats?
CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR)
SELECT diameter__km_ FROM table_name_5 WHERE diameter__mi_ = "5mi"
What shows as the Diameter (km) when the Diameter (mi) is 5mi?
CREATE TABLE table_name_5 (diameter__km_ VARCHAR, diameter__mi_ VARCHAR)
SELECT team FROM table_27744976_11 WHERE date = "April 9"
Which team played on April 9?
CREATE TABLE table_27744976_11 (team VARCHAR, date VARCHAR)
SELECT team FROM table_name_67 WHERE season = "2000-01"
What team has 2000-01 as the season?
CREATE TABLE table_name_67 (team VARCHAR, season VARCHAR)
SELECT date FROM table_name_54 WHERE region = "united kingdom"
Which date has a region of united kingdom?
CREATE TABLE table_name_54 (date VARCHAR, region VARCHAR)
SELECT MIN(_number) FROM table_2144389_8 WHERE japanese_title = "君のそばで~ヒカリのテーマ~(PopUp.Version)"
Name the least number for 君のそばで~ヒカリのテーマ~(popup.version)
CREATE TABLE table_2144389_8 (_number INTEGER, japanese_title VARCHAR)
SELECT AVG(losses) FROM table_name_23 WHERE goals_for > 22
What is the average losses for 22 goals?
CREATE TABLE table_name_23 (losses INTEGER, goals_for INTEGER)
SELECT MAX(draw) FROM table_name_94 WHERE lost = 6 AND points < 15
What is the highest number of draws with 6 losses and less than 15 points?
CREATE TABLE table_name_94 (draw INTEGER, lost VARCHAR, points VARCHAR)
SELECT player FROM table_name_58 WHERE club_province = "bulls" AND date_of_birth__age_ = "6 may 1978"
Which player on the Bulls has a 6 May 1978 birthday?
CREATE TABLE table_name_58 (player VARCHAR, club_province VARCHAR, date_of_birth__age_ VARCHAR)
SELECT free_fare_zone FROM table_name_65 WHERE station_name = "arena"
Where is the free fare zone for the Arena station?
CREATE TABLE table_name_65 (free_fare_zone VARCHAR, station_name VARCHAR)
SELECT hand_guards FROM table_name_8 WHERE name = "ar-15a2 government carbine" AND barrel_twist = "1:9"
Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9
CREATE TABLE table_name_8 (hand_guards VARCHAR, name VARCHAR, barrel_twist VARCHAR)
SELECT lessons_taught FROM table_24172078_2 WHERE episode__number = "2/205"
Name the lessons taught for episode # 2/205
CREATE TABLE table_24172078_2 (lessons_taught VARCHAR, episode__number VARCHAR)
SELECT manufacturer FROM table_name_40 WHERE type = "4-6-4t"
Which manufacturer made a locomotive with a type of 4-6-4t?
CREATE TABLE table_name_40 (manufacturer VARCHAR, type VARCHAR)
SELECT COUNT(total) FROM table_name_57 WHERE rank = 11
What is the total for Rank 11?
CREATE TABLE table_name_57 (total VARCHAR, rank VARCHAR)
SELECT state_ranked_in_partisan_order FROM table_name_66 WHERE percentage_democrats = "25%" AND republican__democratic = "6/2"
What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats?
CREATE TABLE table_name_66 (state_ranked_in_partisan_order VARCHAR, percentage_democrats VARCHAR, republican__democratic VARCHAR)
SELECT location FROM table_29535057_4 WHERE big_ten_team = "Wisconsin"
Where did the games that had Wisconsin as big ten team take place?
CREATE TABLE table_29535057_4 (location VARCHAR, big_ten_team VARCHAR)
SELECT architecture FROM table_name_15 WHERE vehicle_name = "saturn vue"
What type of architecture does the Saturn Vue have?
CREATE TABLE table_name_15 (architecture VARCHAR, vehicle_name VARCHAR)
SELECT AVG(date) FROM table_name_3 WHERE length = "feet 9inches (m)" AND builder = "portland terminal company"
Which Date has a Length of feet 9inches (m), and a Builder of portland terminal company?
CREATE TABLE table_name_3 (date INTEGER, length VARCHAR, builder VARCHAR)
SELECT catalog_entry_name, capacity FROM Catalog_Contents WHERE price_in_dollars > 700
Find the name and capacity of products with price greater than 700 (in USD).
CREATE TABLE Catalog_Contents (catalog_entry_name VARCHAR, capacity VARCHAR, price_in_dollars INTEGER)
SELECT streak FROM table_name_30 WHERE date = "november 14"
On what date did a streak start on November 14?
CREATE TABLE table_name_30 (streak VARCHAR, date VARCHAR)
SELECT rating FROM table_11238597_4 WHERE viewers__millions_ = "1.83"
What was the rating for the episode with 1.83 viewers (millions)?
CREATE TABLE table_11238597_4 (rating VARCHAR, viewers__millions_ VARCHAR)
SELECT notes FROM table_name_33 WHERE time = "1:42.309"
What is the notes entry for the row with a Time of 1:42.309?
CREATE TABLE table_name_33 (notes VARCHAR, time VARCHAR)
SELECT pinyin FROM table_name_22 WHERE simplified = "南山区"
What is the pinyin when the simplified shows 南山区?
CREATE TABLE table_name_22 (pinyin VARCHAR, simplified VARCHAR)
SELECT COUNT(opponents) FROM table_16710742_3 WHERE opponent = "Los Angeles Rams"
How many times in 1984 did the Falcons play the Los Angeles Rams?
CREATE TABLE table_16710742_3 (opponents VARCHAR, opponent VARCHAR)
SELECT no_in_series FROM table_27622417_1 WHERE prod_code = "405"
what is the number of the episode in the series whose production code is 405?
CREATE TABLE table_27622417_1 (no_in_series VARCHAR, prod_code VARCHAR)
SELECT segment_b FROM table_15187735_13 WHERE segment_a = "Pressure Cookers"
Name the segment b for pressure cookers
CREATE TABLE table_15187735_13 (segment_b VARCHAR, segment_a VARCHAR)
SELECT MIN(Crime_rate), MAX(Crime_rate) FROM county_public_safety
What are the minimum and maximum crime rate of counties?
CREATE TABLE county_public_safety (Crime_rate INTEGER)
SELECT opponent FROM table_name_10 WHERE record = "52-58"
Name the opponent with record of 52-58
CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR)
SELECT high_points FROM table_30049462_5 WHERE date = "December 7"
in december 7 who made the high points
CREATE TABLE table_30049462_5 (high_points VARCHAR, date VARCHAR)
SELECT SUM(diagram) FROM table_name_2 WHERE builder = "york"
What is the total diagram for builder york?
CREATE TABLE table_name_2 (diagram INTEGER, builder VARCHAR)
SELECT pr_avg FROM table_16912000_13 WHERE kr_lg = 49
What is the pr avg, when kr lg is 49?
CREATE TABLE table_16912000_13 (pr_avg VARCHAR, kr_lg VARCHAR)
SELECT MAX(average) FROM table_name_14 WHERE state = "iowa" AND swimsuit < 9.267
What is the highest average a contestant from Iowa with a swimsuit smaller than 9.267 has?
CREATE TABLE table_name_14 (average INTEGER, state VARCHAR, swimsuit VARCHAR)
SELECT MAX(year) FROM table_name_26 WHERE venue = "aigburth"
What year was in Aigburth?
CREATE TABLE table_name_26 (year INTEGER, venue VARCHAR)
SELECT away_team FROM table_name_99 WHERE home_team = "north melbourne"
What is the away team when north melbourne is at home?
CREATE TABLE table_name_99 (away_team VARCHAR, home_team VARCHAR)
SELECT COUNT(round_3) FROM table_18646111_13 WHERE class = "TT1"
Name the total number of round 3 for class tt1
CREATE TABLE table_18646111_13 (round_3 VARCHAR, class VARCHAR)
SELECT AVG(round) FROM table_name_78 WHERE college = "tulsa" AND pick > 61
Which Round has a College of tulsa, and a Pick larger than 61?
CREATE TABLE table_name_78 (round INTEGER, college VARCHAR, pick VARCHAR)
SELECT main_language_s_ FROM table_26385848_1 WHERE year__ceremony_ = "1998 (71st)"
In the year (ceremony) 1998 (71st), what are all the main languages?
CREATE TABLE table_26385848_1 (main_language_s_ VARCHAR, year__ceremony_ VARCHAR)
SELECT timeslot FROM table_15358729_6 WHERE season = 3
What is the show's time slot during season 3?
CREATE TABLE table_15358729_6 (timeslot VARCHAR, season VARCHAR)
SELECT money___$__ FROM table_name_94 WHERE place = "t3" AND country = "united states"
What was the money for place t3 and United States?
CREATE TABLE table_name_94 (money___$__ VARCHAR, place VARCHAR, country VARCHAR)
SELECT date FROM table_name_7 WHERE record = "1-3"
When has a Record of 1-3?
CREATE TABLE table_name_7 (date VARCHAR, record VARCHAR)
SELECT couple FROM table_23662272_4 WHERE total_points_earned = 161
What is the name of the couple if the total points earned is 161?
CREATE TABLE table_23662272_4 (couple VARCHAR, total_points_earned VARCHAR)
SELECT 1992 FROM table_name_59 WHERE 1996 = "sf" AND 1993 = "a"
Which 1992 has a 1996 of sf and a 1993 of a?
CREATE TABLE table_name_59 (Id VARCHAR)
SELECT sequence_identity_to_human_protein FROM table_name_51 WHERE divergence_from_human_lineage__mya_ > 8.8 AND sequence_length__aa_ > 1587 AND protein_name = "soga2"
Which sequence identity to human protein has a divergence from human lineage (MYA) larger than 8.8, and a sequence length (aa) larger than 1587, and a protein name of soga2?
CREATE TABLE table_name_51 (sequence_identity_to_human_protein VARCHAR, protein_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR, sequence_length__aa_ VARCHAR)
SELECT AVG(fa_cup) FROM table_name_62 WHERE player = "khairan ezuan razali" AND total < 0
Which FA Cup has a Player of khairan ezuan razali, and a Total smaller than 0?
CREATE TABLE table_name_62 (fa_cup INTEGER, player VARCHAR, total 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 episode FROM table_name_51 WHERE run_time = "25:12"
What episode has a run time of 25:12?
CREATE TABLE table_name_51 (episode VARCHAR, run_time VARCHAR)
SELECT colors FROM table_28051859_3 WHERE school = "Hudson"
What are the colors of the Hudson school?
CREATE TABLE table_28051859_3 (colors VARCHAR, school VARCHAR)
SELECT reg_season FROM table_name_16 WHERE avg_attendance < 942
What regular season result had an average attendance less than 942?
CREATE TABLE table_name_16 (reg_season VARCHAR, avg_attendance INTEGER)
SELECT partner FROM table_2516282_3 WHERE score = "7–5, 7–6 (7–5)"
Who was the partner when the score was 7–5, 7–6 (7–5)?
CREATE TABLE table_2516282_3 (partner VARCHAR, score VARCHAR)
SELECT category FROM table_2155350_2 WHERE cab_size = "Crew" AND sub_category = "Super tanker"
Name the category for cab size crew and super tanker
CREATE TABLE table_2155350_2 (category VARCHAR, cab_size VARCHAR, sub_category VARCHAR)
SELECT team FROM table_name_46 WHERE constructor = "yamaha"
Who does Yamaha Construct for?
CREATE TABLE table_name_46 (team VARCHAR, constructor VARCHAR)
SELECT MIN(game) FROM table_name_30 WHERE record = "11-4"
Which Game is the lowest one that has a Record of 11-4?
CREATE TABLE table_name_30 (game INTEGER, record VARCHAR)
SELECT category FROM table_name_4 WHERE finish = "orange"
Which category had an orange finish?
CREATE TABLE table_name_4 (category VARCHAR, finish VARCHAR)
SELECT season__number FROM table_16617025_1 WHERE directed_by = "Kate Woods"
In what seasons did Kate Woods direct Without A Trace?
CREATE TABLE table_16617025_1 (season__number VARCHAR, directed_by VARCHAR)
SELECT score FROM table_name_13 WHERE country = "united states" AND player = "jack nicklaus"
Name the Score of jack nicklaus, united states, ?
CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT location_attendance FROM table_name_92 WHERE game > 67 AND team = "@ charlotte"
Which Location Attendance has a Game larger than 67, and a Team of @ charlotte?
CREATE TABLE table_name_92 (location_attendance VARCHAR, game VARCHAR, team VARCHAR)
SELECT venue FROM table_1139835_1 WHERE scores = "15.13 (103) – 8.4 (52)"
what is the venue where the scores are 15.13 (103) – 8.4 (52)?
CREATE TABLE table_1139835_1 (venue VARCHAR, scores VARCHAR)
SELECT record FROM table_name_37 WHERE opponent = "akiko inoue"
what is the record when the opponent is akiko inoue?
CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)
SELECT height FROM table_name_53 WHERE player = "kenny williams"
What is Player Kenny Williams' Height?
CREATE TABLE table_name_53 (height VARCHAR, player VARCHAR)
SELECT AVG(byes) FROM table_name_46 WHERE losses = 15 AND against < 1874
What is the average Byes for the losses of 15, and before 1874?
CREATE TABLE table_name_46 (byes INTEGER, losses VARCHAR, against VARCHAR)