answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT AVG(frequency_mhz) FROM table_name_54 WHERE erp_w = 170
What is the average frequency in MHz for stations with an ERP W of 170?
CREATE TABLE table_name_54 (frequency_mhz INTEGER, erp_w VARCHAR)
SELECT home_team AS score FROM table_name_74 WHERE date = "sunday 24 february"
Which Home team score is on sunday 24 february?
CREATE TABLE table_name_74 (home_team VARCHAR, date VARCHAR)
SELECT position FROM table_name_33 WHERE school = "east texas state"
What position did the player from East Texas State play?
CREATE TABLE table_name_33 (position VARCHAR, school VARCHAR)
SELECT MIN(number_of_districts__kecamatan_) FROM table_name_97 WHERE province = "north sulawesi" AND villages > 1 OFFSET 510
What is the lowest number of districts (kecamatan) in the north sulawesi province with more than 1,510 villages?
CREATE TABLE table_name_97 (number_of_districts__kecamatan_ INTEGER, province VARCHAR, villages VARCHAR)
SELECT record FROM table_name_69 WHERE score = "111–101"
Which Record has a Score of 111–101?
CREATE TABLE table_name_69 (record VARCHAR, score VARCHAR)
SELECT SUM(all_around) FROM table_name_68 WHERE total = 37.75
What is the sum of the all around with a 37.75 total?
CREATE TABLE table_name_68 (all_around INTEGER, total VARCHAR)
SELECT quantity_made FROM table_name_92 WHERE wheel_arrangement = "2-8-0" AND class = "f-4"
What is the quantity when the wheel arrangement is 2-8-0, and class is f-4?
CREATE TABLE table_name_92 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
SELECT duration FROM table_name_68 WHERE wins < 53
What is the Duration for less than 53 consecutive wins?
CREATE TABLE table_name_68 (duration VARCHAR, wins INTEGER)
SELECT name FROM table_name_57 WHERE goals = 6 AND nationality = "morocco"
Who was from Morocco and scored 6 goals?
CREATE TABLE table_name_57 (name VARCHAR, goals VARCHAR, nationality VARCHAR)
SELECT MIN(grid) FROM table_name_99 WHERE time_retired = "+ 1 lap" AND points < 7
What is the grid associated with a Time/Retired of + 1 lap, and under 7 points?
CREATE TABLE table_name_99 (grid INTEGER, time_retired VARCHAR, points VARCHAR)
SELECT ↓_function___genus_→ FROM table_10321124_1 WHERE shigella = "Spa32"
what's the ↓ function / genus → with shigella being spa32
CREATE TABLE table_10321124_1 (↓_function___genus_→ VARCHAR, shigella VARCHAR)
SELECT COUNT(vacator) FROM table_2417340_3 WHERE date_of_successors_formal_installation = "June 22, 1868"
List the number of vacators when successors were formally installed on June 22, 1868.
CREATE TABLE table_2417340_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)
SELECT COUNT(heat) FROM table_name_88 WHERE name = "julia wilkinson"
How many heats does Julia Wilkinson have?
CREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR)
SELECT MAX(wins) FROM table_name_64 WHERE against = 1800 AND draws > 0
How many wins for team with 1800 Against and more than 0 byes?
CREATE TABLE table_name_64 (wins INTEGER, against VARCHAR, draws VARCHAR)
SELECT date FROM table_name_72 WHERE score = "3–6, 7–6(6), 5–7"
What is the Date of the Tournament with a Score of 3–6, 7–6(6), 5–7?
CREATE TABLE table_name_72 (date VARCHAR, score VARCHAR)
SELECT circuit FROM table_name_71 WHERE series = "atcc round 7"
Which circuit was the atcc round 7 at?
CREATE TABLE table_name_71 (circuit VARCHAR, series VARCHAR)
SELECT album_number FROM table_name_66 WHERE chinese__simplified_ = "情歌没有告诉你"
What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name?
CREATE TABLE table_name_66 (album_number VARCHAR, chinese__simplified_ VARCHAR)
SELECT population FROM table_name_51 WHERE germans = "87.5%"
What is the population of the year featuring an 87.5% German population?
CREATE TABLE table_name_51 (population VARCHAR, germans VARCHAR)
SELECT home_team FROM table_26842217_12 WHERE broadcast = "Big East Network"
Who was the home team in the game broadcast on the Big East Network?
CREATE TABLE table_26842217_12 (home_team VARCHAR, broadcast VARCHAR)
SELECT score FROM table_27755784_8 WHERE high_points = "Monta Ellis (29)"
What is the score when the hight points is Monta Ellis (29)?
CREATE TABLE table_27755784_8 (score VARCHAR, high_points VARCHAR)
SELECT award_ceremony FROM table_name_2 WHERE role = "glinda" AND year = 2009
Which Award Ceremony in 2009 has a Role of Glinda?
CREATE TABLE table_name_2 (award_ceremony VARCHAR, role VARCHAR, year VARCHAR)
SELECT rider FROM table_name_49 WHERE time = "accident" AND bike = "kawasaki zx-10r"
Who was the rider who had an accident time and a kawasaki zx-10r bike?
CREATE TABLE table_name_49 (rider VARCHAR, time VARCHAR, bike VARCHAR)
SELECT release_date FROM table_name_23 WHERE release_price___usd__ = "$346" AND turbo = "9/11"
What is the release date when the release price (usd) is $346 and the turbo is 9/11?
CREATE TABLE table_name_23 (release_date VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)
SELECT religion FROM table_name_65 WHERE para = "56.5%"
What religion has a para of 56.5%?
CREATE TABLE table_name_65 (religion VARCHAR, para VARCHAR)
SELECT crew FROM table_name_73 WHERE end_time = "21:11"
What is the crew with the end time of 21:11?
CREATE TABLE table_name_73 (crew VARCHAR, end_time VARCHAR)
SELECT region FROM table_name_17 WHERE year = "march 10, 1998"
Which region had a year March 10, 1998?
CREATE TABLE table_name_17 (region VARCHAR, year VARCHAR)
SELECT distance FROM table_2581397_3 WHERE weight__kg_ = "56"
List the weight for 56 kilograms.
CREATE TABLE table_2581397_3 (distance VARCHAR, weight__kg_ VARCHAR)
SELECT opponent FROM table_name_43 WHERE week < 16 AND date = "september 7, 2008"
What opponent has a week less than 16, with September 7, 2008 as the date?
CREATE TABLE table_name_43 (opponent VARCHAR, week VARCHAR, date VARCHAR)
SELECT date FROM table_name_46 WHERE surface = "hard" AND tournament = "wrexham , great britain"
When has a Surface of hard, a Tournament of wrexham , great britain?
CREATE TABLE table_name_46 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT MAX(specific_impulse__s_) FROM table_15944_5 WHERE effective_exhaust_velocity__m_s_ = 4423
What is the maximum specific impulse with a 4423 m/s effective exhaust velocity?
CREATE TABLE table_15944_5 (specific_impulse__s_ INTEGER, effective_exhaust_velocity__m_s_ VARCHAR)
SELECT MIN(top_5) FROM table_name_45 WHERE year > 1995 AND team_s_ = "#15 billy ballew motorsports" AND starts > 4
what is the lowest top 5 when the year is after 1995, team(s) is #15 billy ballew motorsports, and starts is more than 4?
CREATE TABLE table_name_45 (top_5 INTEGER, starts VARCHAR, year VARCHAR, team_s_ VARCHAR)
SELECT tournament_winner FROM table_22733636_1 WHERE conference = "Border conference"
When the Border Conference was held, who was the tournament winner?
CREATE TABLE table_22733636_1 (tournament_winner VARCHAR, conference VARCHAR)
SELECT roll FROM table_name_2 WHERE area = "mahia"
Which roll has an Area of mahia?
CREATE TABLE table_name_2 (roll VARCHAR, area VARCHAR)
SELECT high_assists FROM table_17102076_10 WHERE score = "L 98–118 (OT)"
Name the high assists for score being l 98–118 (ot)
CREATE TABLE table_17102076_10 (high_assists VARCHAR, score VARCHAR)
SELECT constituency_number FROM table_name_99 WHERE name = "timarni"
Which constituency number has a name of Timarni?
CREATE TABLE table_name_99 (constituency_number VARCHAR, name VARCHAR)
SELECT kr_narayanan__votes_ FROM table_22897453_1 WHERE kr_narayanan__values_ = 936
Name the kr narayanan votes for values being 936 for kr
CREATE TABLE table_22897453_1 (kr_narayanan__votes_ VARCHAR, kr_narayanan__values_ VARCHAR)
SELECT tenure FROM table_name_90 WHERE revenues = "60,000-->58,000 koku"
What is the tenure of the person with revenues of 60,000-->58,000 koku?
CREATE TABLE table_name_90 (tenure VARCHAR, revenues VARCHAR)
SELECT sanction FROM table_16275828_4 WHERE track_name = "Fayette County Speedway"
Who sanctioned the event at fayette county speedway?
CREATE TABLE table_16275828_4 (sanction VARCHAR, track_name VARCHAR)
SELECT catalogue FROM table_name_77 WHERE recorded = "9/10/67" AND release_date = "1/9/68"
What catalogue was recorded on 9/10/67 and a release date of 1/9/68?
CREATE TABLE table_name_77 (catalogue VARCHAR, recorded VARCHAR, release_date VARCHAR)
SELECT name FROM table_name_39 WHERE block = 320 AND spike > 336 AND date_of_birth = "12.10.1978"
What is Name, when Block is 320, when Spike is more than 336, and when Date of Birth is 12.10.1978?
CREATE TABLE table_name_39 (name VARCHAR, date_of_birth VARCHAR, block VARCHAR, spike VARCHAR)
SELECT COUNT AS ↓_function___genus_→ FROM table_10321124_1 WHERE escherichia = "EspD"
how many ↓ function / genus → with escherichia being espd
CREATE TABLE table_10321124_1 (COUNT VARCHAR, escherichia VARCHAR)
SELECT DISTINCT T2.pilot FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.airport_id WHERE T1.country = 'United States' OR T1.name = 'Billund Airport'
What are the different pilot names who had piloted a flight in the country 'United States' or in the airport named 'Billund Airport'?
CREATE TABLE airport (id VARCHAR, country VARCHAR, name VARCHAR); CREATE TABLE flight (pilot VARCHAR, airport_id VARCHAR)
SELECT highest_score FROM table_27268238_4 WHERE team = "Sussex"
What is the team Sussex' highest score?
CREATE TABLE table_27268238_4 (highest_score VARCHAR, team VARCHAR)
SELECT player FROM table_name_36 WHERE position = "middle blocker" AND nationality = "turkey" AND shirt_no = 8
What player that has a position of middle blocker, a Nationality of Turkey, and shirt no is 8?
CREATE TABLE table_name_36 (player VARCHAR, shirt_no VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT name_first, name_last FROM player WHERE weight > 220 OR height < 75
List players' first name and last name who have weight greater than 220 or height shorter than 75.
CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, weight VARCHAR, height VARCHAR)
SELECT date FROM table_name_58 WHERE week > 9 AND tv_time = "abc 8:00pm"
On what date was there a tv time of ABC 8:00pm and after week 9?
CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, tv_time VARCHAR)
SELECT date FROM table_name_11 WHERE surface = "hard (i)" AND tournament = "brighton , united kingdom"
When is the Surface of hard (i), and a Tournament of brighton , united kingdom taken?
CREATE TABLE table_name_11 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT MIN(rank) FROM table_name_10 WHERE time = "7:52.53"
What was the rank when then time was 7:52.53?
CREATE TABLE table_name_10 (rank INTEGER, time VARCHAR)
SELECT height FROM table_name_23 WHERE date_of_birth = "1979-06-12"
What is the Height of the Player with a Date of Birth of 1979-06-12?
CREATE TABLE table_name_23 (height VARCHAR, date_of_birth VARCHAR)
SELECT date_of_birth__age_ FROM table_name_26 WHERE club_province = "ulster" AND position = "centre"
What is the date of birth for the player from Ulster and plays at Centre position?
CREATE TABLE table_name_26 (date_of_birth__age_ VARCHAR, club_province VARCHAR, position VARCHAR)
SELECT date FROM table_name_84 WHERE triple < 26 AND game = 25
What is was Date that where Triple was smaller than 26, and Game was 25?
CREATE TABLE table_name_84 (date VARCHAR, triple VARCHAR, game VARCHAR)
SELECT COUNT(incumbent) FROM table_1342331_5 WHERE first_elected = 1932
how many incumbent with first elected being 1932
CREATE TABLE table_1342331_5 (incumbent VARCHAR, first_elected VARCHAR)
SELECT AVG(decile) FROM table_name_98 WHERE years = "1–8" AND area = "waipara"
What is the average decile with Years of 1–8, and an Area of waipara?
CREATE TABLE table_name_98 (decile INTEGER, years VARCHAR, area VARCHAR)
SELECT literate_persons___percentage_ FROM table_14598_9 WHERE india_state_ut = "Andaman and Nicobar Islands"
What is the percentage of literate people where india is andaman and Nicobar Islands?
CREATE TABLE table_14598_9 (literate_persons___percentage_ VARCHAR, india_state_ut VARCHAR)
SELECT MAX(year) FROM table_2201724_1
What is Fred Stolle's final year of competing in a championship?
CREATE TABLE table_2201724_1 (year INTEGER)
SELECT MIN(no_in_series) FROM table_24132083_1 WHERE written_by = "Lauren Gussis"
What in the series number of the episode written by Lauren Gussis?
CREATE TABLE table_24132083_1 (no_in_series INTEGER, written_by VARCHAR)
SELECT scores FROM table_23575917_6 WHERE lees_team = "Victoria Coren and Rhod Gilbert"
When victoria coren and rhod gilbert are both on the lees team what is the score?
CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR)
SELECT nominating_festival FROM table_name_12 WHERE country = "russia"
Which nominating festival did Russia enter?
CREATE TABLE table_name_12 (nominating_festival VARCHAR, country VARCHAR)
SELECT MIN(bronze) FROM table_name_5 WHERE rank = 12 AND silver < 2
What is the smallest bronze with a Rank of 12, and a Silver smaller than 2?
CREATE TABLE table_name_5 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
SELECT location FROM table_name_49 WHERE score = "match reports"
where has a Score of match reports?
CREATE TABLE table_name_49 (location VARCHAR, score VARCHAR)
SELECT name, salary FROM Employee ORDER BY salary
Show name and salary for all employees sorted by salary.
CREATE TABLE Employee (name VARCHAR, salary VARCHAR)
SELECT broadcast_date FROM table_1849243_1 WHERE archive = "16mm t/r"
What is the broadcast date of the 16mm t/r episode?
CREATE TABLE table_1849243_1 (broadcast_date VARCHAR, archive VARCHAR)
SELECT res FROM table_name_35 WHERE record = "3-0"
Which res has a Record of 3-0?
CREATE TABLE table_name_35 (res VARCHAR, record VARCHAR)
SELECT player FROM table_16494599_1 WHERE years_for_grizzlies = "2009-2013"
What player was on the Grizzlies from 2009-2013?
CREATE TABLE table_16494599_1 (player VARCHAR, years_for_grizzlies VARCHAR)
SELECT attendance FROM table_name_1 WHERE game = 2
Game 2 has how much attendance?
CREATE TABLE table_name_1 (attendance VARCHAR, game VARCHAR)
SELECT MAX(year) FROM table_name_1 WHERE bronze = "wataru haraguchi"
What is listed as the highest Year that's also got a Bronze of Wataru Haraguchi?
CREATE TABLE table_name_1 (year INTEGER, bronze VARCHAR)
SELECT record FROM table_27539535_7 WHERE february = 1
What was the team's rcord on february 1?
CREATE TABLE table_27539535_7 (record VARCHAR, february VARCHAR)
SELECT SUM(points) FROM table_name_16 WHERE performer = "partners in crime"
What is the total sum of points for songs performed by Partners in Crime?
CREATE TABLE table_name_16 (points INTEGER, performer VARCHAR)
SELECT majority FROM table_name_8 WHERE clone_independence = "no"
What is the majority when the clone independence is no?
CREATE TABLE table_name_8 (majority VARCHAR, clone_independence VARCHAR)
SELECT open_cup FROM table_2365150_1 WHERE playoffs = "division Finals"
Name the open cup for division finals
CREATE TABLE table_2365150_1 (open_cup VARCHAR, playoffs VARCHAR)
SELECT team FROM table_name_49 WHERE high_points = "tracy mcgrady (24)"
What is Team, when High Points is "Tracy McGrady (24)"?
CREATE TABLE table_name_49 (team VARCHAR, high_points VARCHAR)
SELECT MAX(crowd) FROM table_name_43 WHERE away_team = "north melbourne"
Which match had the largest crowd size where the away team was North Melbourne?
CREATE TABLE table_name_43 (crowd INTEGER, away_team VARCHAR)
SELECT opponent FROM table_name_93 WHERE event = "ufc 19"
Who was the opponent in UFC 19?
CREATE TABLE table_name_93 (opponent VARCHAR, event VARCHAR)
SELECT written_by FROM table_12419515_5 WHERE series__number = 67
Name the people who wrote number 67
CREATE TABLE table_12419515_5 (written_by VARCHAR, series__number VARCHAR)
SELECT high_assists FROM table_name_35 WHERE high_points = "eric gordon (21)"
What was the high assist when the high point was Eric Gordon (21)?
CREATE TABLE table_name_35 (high_assists VARCHAR, high_points VARCHAR)
SELECT institution FROM table_1974482_1 WHERE nickname = "Statesmen"
Name the institution for statesmen
CREATE TABLE table_1974482_1 (institution VARCHAR, nickname VARCHAR)
SELECT role FROM table_name_62 WHERE studio = "mono" AND title = "paradise canyon"
Name the role for mono studio and title of paradise canyon
CREATE TABLE table_name_62 (role VARCHAR, studio VARCHAR, title VARCHAR)
SELECT school_club_team FROM table_name_35 WHERE position = "guard/forward"
For which school/club team did the player in the position of Guard/Forward play?
CREATE TABLE table_name_35 (school_club_team VARCHAR, position VARCHAR)
SELECT MAX(total) FROM table_name_49 WHERE egyptian_premier_league < 2 AND egypt_cup < 0
What is the highest total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goals?
CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR)
SELECT location FROM table_name_77 WHERE fastest_lap = "ben spies" AND pole_position = "ben spies" AND winner = "ben spies" AND date = "tooele, utah"
What is Location, when Fastest Lap is Ben Spies, when Pole Position is Ben Spies, when Winner is Ben Spies, and when Date is Tooele, Utah?
CREATE TABLE table_name_77 (location VARCHAR, date VARCHAR, winner VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT record_set FROM table_name_9 WHERE superlative = "youngest nominee"
Who set the record for youngest nominee?
CREATE TABLE table_name_9 (record_set VARCHAR, superlative VARCHAR)
SELECT round FROM table_name_16 WHERE player = "kelsey tessier"
In what round was Kelsey Tessier drafted?
CREATE TABLE table_name_16 (round VARCHAR, player VARCHAR)
SELECT side FROM table_name_74 WHERE identification = "ludovico carracci"
Which side has Ludovico Carracci listed as the identification?
CREATE TABLE table_name_74 (side VARCHAR, identification VARCHAR)
SELECT teams FROM table_name_66 WHERE season = "2009-10"
What team has a season of 2009-10?
CREATE TABLE table_name_66 (teams VARCHAR, season VARCHAR)
SELECT result FROM table_name_26 WHERE venue = "jinan"
What is the result of the game played at Jinan?
CREATE TABLE table_name_26 (result VARCHAR, venue VARCHAR)
SELECT record FROM table_name_61 WHERE opponent = "@ detroit"
What record has @ detroit as the opponent?
CREATE TABLE table_name_61 (record VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_73 WHERE callback_venue = "total tickets to hollywood"
What day has a callback Venue of total tickets to hollywood? Question
CREATE TABLE table_name_73 (date VARCHAR, callback_venue VARCHAR)
SELECT COUNT(wiaa_classification) FROM table_22058547_1 WHERE high_school = "Fort Vancouver"
how many wiaa classifications does fort vancouver high school have?
CREATE TABLE table_22058547_1 (wiaa_classification VARCHAR, high_school VARCHAR)
SELECT broadcast FROM table_26842217_18 WHERE time = "7:00pm" AND home_team = "Mississippi State"
Name the broadcast for 7:00pm and mississippi state
CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR)
SELECT AVG(against) FROM table_name_24 WHERE losses = 11 AND wins < 5
How many against when losses are 11 and wins are fewer than 5?
CREATE TABLE table_name_24 (against INTEGER, losses VARCHAR, wins VARCHAR)
SELECT AVG(attendance) FROM table_name_51 WHERE date = "18 october 2000"
What was the average attendance on 18 October 2000?
CREATE TABLE table_name_51 (attendance INTEGER, date VARCHAR)
SELECT label FROM table_name_41 WHERE english_title = "another she"
What is Another She's Label?
CREATE TABLE table_name_41 (label VARCHAR, english_title VARCHAR)
SELECT score FROM table_name_21 WHERE away_team = "brighton & hove albion"
What was the score when the away team was brighton & hove albion?
CREATE TABLE table_name_21 (score VARCHAR, away_team VARCHAR)
SELECT MAX(goals_for) FROM table_2110959_1 WHERE pct__percentage = "0.604"
What was the goals for in the season that the pct % was 0.604?
CREATE TABLE table_2110959_1 (goals_for INTEGER, pct__percentage VARCHAR)
SELECT coat_of_cash_wearing_celebrity FROM table_name_81 WHERE episode_number = 6
Who was the Coat of Cash Wearing Celebrity in Episode 6?
CREATE TABLE table_name_81 (coat_of_cash_wearing_celebrity VARCHAR, episode_number VARCHAR)
SELECT hdtv FROM table_name_50 WHERE television_service = "daystar television network"
Does daystar television network provide HDTV?
CREATE TABLE table_name_50 (hdtv VARCHAR, television_service VARCHAR)
SELECT goals FROM table_name_5 WHERE club = "hawthorn" AND season = "1971"
How many goals did the club from Hawthorn score in the 1971 season?
CREATE TABLE table_name_5 (goals VARCHAR, club VARCHAR, season VARCHAR)
SELECT location FROM table_name_58 WHERE date = "november 23"
what is the location on november 23?
CREATE TABLE table_name_58 (location VARCHAR, date VARCHAR)
SELECT round FROM table_name_67 WHERE score = "10-52"
Which round resulted in 10-52?
CREATE TABLE table_name_67 (round VARCHAR, score VARCHAR)
SELECT SUM(played) FROM table_name_67 WHERE team = "c.d. luis ángel firpo" AND place > 3
Name the sum of played for c.d. luis ángel firpo and place more than 3
CREATE TABLE table_name_67 (played INTEGER, team VARCHAR, place VARCHAR)