answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT release_date FROM table_name_36 WHERE writer = "goss, james james goss" AND company = "audiogo"
What is the release date of the album written by Goss, James James Goss under Audiogo?
CREATE TABLE table_name_36 (release_date VARCHAR, writer VARCHAR, company VARCHAR)
SELECT first_aired FROM table_name_91 WHERE episode = "animated series"
What's the first aired date of the Animated Series episode?
CREATE TABLE table_name_91 (first_aired VARCHAR, episode VARCHAR)
SELECT outcome FROM table_name_79 WHERE opponent = "yvonne vermaak"
What outcome has yvonne vermaak as the opponent?
CREATE TABLE table_name_79 (outcome VARCHAR, opponent VARCHAR)
SELECT director FROM table_name_41 WHERE country = "italy"
Which director is from Italy?
CREATE TABLE table_name_41 (director VARCHAR, country VARCHAR)
SELECT AVG(prominence__m_) FROM table_name_21 WHERE col__m_ = 350
Which Prominence (m) has a Col (m) of 350?
CREATE TABLE table_name_21 (prominence__m_ INTEGER, col__m_ VARCHAR)
SELECT notes FROM table_12562214_1 WHERE date__from_ = "12 August 1897"
what are the notes for date (from) 12 august 1897?
CREATE TABLE table_12562214_1 (notes VARCHAR, date__from_ VARCHAR)
SELECT score__collingwoods_score_is_in_bold_ FROM table_29033869_3 WHERE date = "Saturday, 26 June 7:10pm"
What was the score on saturday, 26 june 7:10pm?
CREATE TABLE table_29033869_3 (score__collingwoods_score_is_in_bold_ VARCHAR, date VARCHAR)
SELECT team FROM table_17275810_7 WHERE replaced_by = "Mario Somma"
Name the team for mario somma
CREATE TABLE table_17275810_7 (team VARCHAR, replaced_by VARCHAR)
SELECT auckland FROM table_name_74 WHERE sydney = "yes" AND perth = "no" AND melbourne = "yes" AND gold_coast = "yes"
yes or no for the auckland with a yes for sydney, no for perth, yes for melbourne and yes for the gold coast?
CREATE TABLE table_name_74 (auckland VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, sydney VARCHAR, perth VARCHAR)
SELECT try_bonus FROM table_name_87 WHERE "played" = "played"
What is the try bonus of the club with played?
CREATE TABLE table_name_87 (try_bonus VARCHAR)
SELECT date_of_appointment FROM table_name_60 WHERE outgoing_manager = "petrik sander"
When is the appointment date for outgoing manager Petrik Sander?
CREATE TABLE table_name_60 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT COUNT(score) FROM table_name_15 WHERE player = "fred couples"
What was Fred Couples' score?
CREATE TABLE table_name_15 (score VARCHAR, player VARCHAR)
SELECT capacity_in_use FROM table_name_31 WHERE annual_change = "21.8%"
What is the Capacity in use with an Annual change that is 21.8%?
CREATE TABLE table_name_31 (capacity_in_use VARCHAR, annual_change VARCHAR)
SELECT COUNT(drawn) FROM table_name_41 WHERE lost = 78 AND played > 121
How many games drawn when there are 78 losses and over 121 games played?
CREATE TABLE table_name_41 (drawn VARCHAR, lost VARCHAR, played VARCHAR)
SELECT AVG(rank) FROM table_name_66 WHERE point > 52 AND draw < 10 AND goal_loss < 44 AND lose < 15
What was the average rank of a player with more than 52 points, fewer than 10 draws, a goal loss under 44, and a loss under 15?
CREATE TABLE table_name_66 (rank INTEGER, lose VARCHAR, goal_loss VARCHAR, point VARCHAR, draw VARCHAR)
SELECT team FROM table_22883210_8 WHERE date = "February 4"
Who was the opponent in the game held on February 4?
CREATE TABLE table_22883210_8 (team VARCHAR, date VARCHAR)
SELECT result FROM table_name_50 WHERE score = "3–0"
What result had a score of 3–0?
CREATE TABLE table_name_50 (result VARCHAR, score VARCHAR)
SELECT pts_bns FROM table_27940569_1 WHERE driver = "Kurt Busch"
How many points and bonuses did Kurt Busch get?
CREATE TABLE table_27940569_1 (pts_bns VARCHAR, driver VARCHAR)
SELECT english FROM table_name_69 WHERE danish = "rødt/rød"
Which English has a Danish of rødt/rød?
CREATE TABLE table_name_69 (english VARCHAR, danish VARCHAR)
SELECT city FROM table_name_86 WHERE erp__analog__digital_ = "600kw 500kw"
Which City has 600kw 500kw ERP ?
CREATE TABLE table_name_86 (city VARCHAR, erp__analog__digital_ VARCHAR)
SELECT player FROM table_name_24 WHERE date = "may 10, 1999"
Which player is associated with the date May 10, 1999?
CREATE TABLE table_name_24 (player VARCHAR, date VARCHAR)
SELECT studio FROM table_name_95 WHERE director = "david fincher"
What studio is director David Fincher from?
CREATE TABLE table_name_95 (studio VARCHAR, director VARCHAR)
SELECT COUNT(colour) FROM table_11066073_1 WHERE registration_no = "MG-509"
What is the number of colour with the regisration number of mg-509?
CREATE TABLE table_11066073_1 (colour VARCHAR, registration_no VARCHAR)
SELECT reserved_instruments FROM table_name_95 WHERE conduct_of_litigation = "yes" AND probate_activities = "no"
What is Reserved Instruments, when Conduct of Litigation is Yes, and when Probate Activities is No?
CREATE TABLE table_name_95 (reserved_instruments VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR)
SELECT years_for_jazz FROM table_11545282_19 WHERE school_club_team = "Iowa State"
What years were the Iowa State school/club team have a jazz club?
CREATE TABLE table_11545282_19 (years_for_jazz VARCHAR, school_club_team VARCHAR)
SELECT visiting_team FROM table_name_67 WHERE stadium = "hubert h. humphrey metrodome"
Who was the visiting team who played at the hubert h. humphrey metrodome stadium?
CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR)
SELECT COUNT(poles) FROM table_name_45 WHERE season = "2009" AND races = 2 AND f_laps > 0
How many poles are there in the 2009 season with 2 races and more than 0 F/Laps?
CREATE TABLE table_name_45 (poles VARCHAR, f_laps VARCHAR, season VARCHAR, races VARCHAR)
SELECT fcc_info FROM table_name_35 WHERE frequency_mhz > 92.7 AND call_sign = "w262al"
What is the FCC frequency for the station w262al which has a Frequency MHz larger than 92.7?
CREATE TABLE table_name_35 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT record FROM table_14863869_1 WHERE date = "December 2, 1984"
What was the score in the game played on December 2, 1984?
CREATE TABLE table_14863869_1 (record VARCHAR, date VARCHAR)
SELECT tries_against FROM table_name_95 WHERE played = "22" AND club = "ystalyfera rfc"
What is listed for the Tries against that has a Played of 22, along with a Club of Ystalyfera RFC?
CREATE TABLE table_name_95 (tries_against VARCHAR, played VARCHAR, club VARCHAR)
SELECT COUNT(high_points) FROM table_13557843_5 WHERE team = "Utah"
How many leading scorers were there in the game against Utah?
CREATE TABLE table_13557843_5 (high_points VARCHAR, team VARCHAR)
SELECT SUM(played) FROM table_name_25 WHERE manager = "serik berdalin" AND drawn > 4
Name the sum of played for serik berdalin and drawn more than 4
CREATE TABLE table_name_25 (played INTEGER, manager VARCHAR, drawn VARCHAR)
SELECT host FROM table_28211988_1 WHERE mens_singles = "Ma Wenge"
Who are all hosts when men's singles is Ma Wenge?
CREATE TABLE table_28211988_1 (host VARCHAR, mens_singles VARCHAR)
SELECT place FROM table_name_21 WHERE season = "8" AND rank_by_average = "139"
What was the place in season 8 with a rank by average at 139?
CREATE TABLE table_name_21 (place VARCHAR, season VARCHAR, rank_by_average VARCHAR)
SELECT outcome FROM table_name_90 WHERE score = "3–6 2–6"
Which Outcome has a Score of 3–6 2–6?
CREATE TABLE table_name_90 (outcome VARCHAR, score VARCHAR)
SELECT SUM(attendance) FROM table_name_18 WHERE date = "october 22, 1972"
What was the total attendance October 22, 1972?
CREATE TABLE table_name_18 (attendance INTEGER, date VARCHAR)
SELECT record FROM table_28768469_5 WHERE game = 2
What were the supersonics record at game 2?
CREATE TABLE table_28768469_5 (record VARCHAR, game VARCHAR)
SELECT COUNT(pick) FROM table_name_67 WHERE player = "jeb barlow" AND round < 7
When Jeb Barlow was picked in round smaller than 7, how many player in totals were picked?
CREATE TABLE table_name_67 (pick VARCHAR, player VARCHAR, round VARCHAR)
SELECT location FROM table_name_10 WHERE record = "9-1-0"
Where was the game played when their record was 9-1-0?
CREATE TABLE table_name_10 (location VARCHAR, record VARCHAR)
SELECT location FROM table_18118221_1 WHERE total_passengers__millions__2011_12 = "103.534"
Which location has 103.534 million passengers in 2011-12?
CREATE TABLE table_18118221_1 (location VARCHAR, total_passengers__millions__2011_12 VARCHAR)
SELECT winner FROM table_25214321_1 WHERE third_place = "Mateus Rocha"
Who was the winner when Mateus Rocha finished in 3rd place?
CREATE TABLE table_25214321_1 (winner VARCHAR, third_place VARCHAR)
SELECT class_aAAA FROM table_14603057_2 WHERE school_year = "2006-07"
Who was the Class AAAA champion in 2006-07?
CREATE TABLE table_14603057_2 (class_aAAA VARCHAR, school_year VARCHAR)
SELECT COUNT(position) FROM table_21321804_1 WHERE college = "Utah"
How many total positions are there for utah college?
CREATE TABLE table_21321804_1 (position VARCHAR, college VARCHAR)
SELECT SUM(game) FROM table_name_47 WHERE score = "4–1"
Which Game has a Score of 4–1?
CREATE TABLE table_name_47 (game INTEGER, score VARCHAR)
SELECT nationality FROM table_name_10 WHERE college = "louisiana tech"
What's the nationality of Louisiana Tech?
CREATE TABLE table_name_10 (nationality VARCHAR, college VARCHAR)
SELECT name FROM table_24990183_7 WHERE rank = 17
If the rank is 17, what are the names?
CREATE TABLE table_24990183_7 (name VARCHAR, rank VARCHAR)
SELECT arena FROM table_name_33 WHERE opponent = "sharks"
In what arena was the game against the Sharks played?
CREATE TABLE table_name_33 (arena VARCHAR, opponent VARCHAR)
SELECT Address FROM Restaurant WHERE ResName = "Subway"
What is the address of the restaurant Subway?
CREATE TABLE Restaurant (Address VARCHAR, ResName VARCHAR)
SELECT format FROM table_1949994_7 WHERE end_date = "June 25"
What's the format of the season that ended on June 25?
CREATE TABLE table_1949994_7 (format VARCHAR, end_date VARCHAR)
SELECT MIN(attendance) FROM table_name_68 WHERE home = "pittsburgh"
What was the lowest attendance at a game when Pittsburgh was the home team?
CREATE TABLE table_name_68 (attendance INTEGER, home VARCHAR)
SELECT team FROM table_27091128_2 WHERE replaced_by = "Ercan Ertemçöz"
What team's manager was replaced by Ercan Ertemçöz?
CREATE TABLE table_27091128_2 (team VARCHAR, replaced_by VARCHAR)
SELECT week_8 FROM table_name_52 WHERE week_1 = "carol roopali"
Who did the housemate that nominated Carol Roopali in week 1 nominate in week 8?
CREATE TABLE table_name_52 (week_8 VARCHAR, week_1 VARCHAR)
SELECT label FROM table_name_65 WHERE catalog = "cdzap22"
Which label has the catalog CDZAP22?
CREATE TABLE table_name_65 (label VARCHAR, catalog VARCHAR)
SELECT MIN(pick__number) FROM table_name_13 WHERE college = "cornell"
What is cornell's lowest pick number?
CREATE TABLE table_name_13 (pick__number INTEGER, college VARCHAR)
SELECT office_running_for FROM table_1855841_1 WHERE candidate = "Anthony Mussara"
Name the office running for for anthony mussara
CREATE TABLE table_1855841_1 (office_running_for VARCHAR, candidate VARCHAR)
SELECT s_color_commentator FROM table_2941848_10 WHERE pregame_hosts = "Jon Sciambi"
Who is the s color commentator when the pregame host is jon sciambi?
CREATE TABLE table_2941848_10 (s_color_commentator VARCHAR, pregame_hosts VARCHAR)
SELECT player FROM table_name_21 WHERE to_par = 12 AND country = "fiji"
Which Player has a To par of 12, and a Country of fiji?
CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT MIN(grid) FROM table_name_88 WHERE time_retired = "clutch" AND driver = "peter collins" AND laps < 26
what is the lowest grid when the time retired is clutch, the driver is peter collins and the laps is smaller than 26?
CREATE TABLE table_name_88 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT COUNT(*) FROM conductor
How many conductors are there?
CREATE TABLE conductor (Id VARCHAR)
SELECT MIN(round) FROM table_name_97 WHERE college_junior_club_team__league_ = "kitchener rangers (oha)"
What is the lowest round of the Kitchener Rangers (OHA)?
CREATE TABLE table_name_97 (round INTEGER, college_junior_club_team__league_ VARCHAR)
SELECT state_province_county, country FROM addresses WHERE zip_postcode LIKE "4%"
Find the state and country of all cities with post code starting with 4.
CREATE TABLE addresses (state_province_county VARCHAR, country VARCHAR, zip_postcode VARCHAR)
SELECT MAX(finishes) FROM table_name_48 WHERE points < 337 AND stage_wins = 2 AND wins > 0
what is the highest finishes when the points is less than 337, the stage wins is 2 and the wins is more than 0?
CREATE TABLE table_name_48 (finishes INTEGER, wins VARCHAR, points VARCHAR, stage_wins VARCHAR)
SELECT COUNT(other_mozilla) FROM table_1876262_10 WHERE period = "September 2009"
For period September 2009, what is the other Mozilla total number?
CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, period VARCHAR)
SELECT MAX(game) FROM table_name_62 WHERE score = "94-116"
What is the highest game whose score was 94-116
CREATE TABLE table_name_62 (game INTEGER, score VARCHAR)
SELECT potassium FROM table_name_76 WHERE lithium = "h a l o g e n s" AND sodium = "bromine"
what is the properties of potassium when lithium is h a l o g e n s and sodium is bromine?
CREATE TABLE table_name_76 (potassium VARCHAR, lithium VARCHAR, sodium VARCHAR)
SELECT score FROM table_name_86 WHERE winner = "suntory sungoliath" AND attendance = "n/a"
What is the Score when the winner was suntory sungoliath, and the number attendance was n/a?
CREATE TABLE table_name_86 (score VARCHAR, winner VARCHAR, attendance VARCHAR)
SELECT team FROM table_name_97 WHERE venue = "dinamo, brest"
What team plays in Dinamo, Brest?
CREATE TABLE table_name_97 (team VARCHAR, venue VARCHAR)
SELECT COUNT(melbourne) FROM table_2923917_4 WHERE distance = "15km"
How many listings under Melbourne has a distance at 15km?
CREATE TABLE table_2923917_4 (melbourne VARCHAR, distance VARCHAR)
SELECT home_team AS score FROM table_name_82 WHERE away_team = "fitzroy"
What home score has an Away team of fitzroy?
CREATE TABLE table_name_82 (home_team VARCHAR, away_team VARCHAR)
SELECT MAX(number_of_major_hurricanes) FROM table_2930244_3
What is the largest overall number of major hurricanes?
CREATE TABLE table_2930244_3 (number_of_major_hurricanes INTEGER)
SELECT MAX(rank) FROM table_name_58 WHERE country = "egypt"
What is the highest rank for the team of egypt?
CREATE TABLE table_name_58 (rank INTEGER, country VARCHAR)
SELECT title FROM table_11665016_2 WHERE written_by = "Anthony E. Zuiker & Ken Solarz"
Which episode was written by anthony e. zuiker & ken solarz
CREATE TABLE table_11665016_2 (title VARCHAR, written_by VARCHAR)
SELECT COUNT(south_australia) FROM table_1057262_2 WHERE victoria = 2173
what's the total number of south australia with victoria value of 2173
CREATE TABLE table_1057262_2 (south_australia VARCHAR, victoria VARCHAR)
SELECT DISTINCT T1.state, T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision.
CREATE TABLE tryout (cName VARCHAR, decision VARCHAR); CREATE TABLE college (state VARCHAR, enr VARCHAR, cName VARCHAR)
SELECT COUNT(no_in_series) FROM table_2468961_2 WHERE written_by = "Ross Brown"
How many episodes were written by Ross brown?
CREATE TABLE table_2468961_2 (no_in_series VARCHAR, written_by VARCHAR)
SELECT position FROM table_18278508_6 WHERE main_contestant = "Kashmira Shah" AND date_performed = "August 14"
What was Kashmira Shah's position on August 14?
CREATE TABLE table_18278508_6 (position VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)
SELECT player FROM table_name_75 WHERE hometown = "wichita, ks"
What Player comes from the Hometown of Wichita, KS?
CREATE TABLE table_name_75 (player VARCHAR, hometown VARCHAR)
SELECT 2 AS nd_leg FROM table_name_41 WHERE home__2nd_leg_ = "estudiantes la plata"
What was the 2nd leg that had the Estudiantes La Plata home for the 2nd leg?
CREATE TABLE table_name_41 (home__2nd_leg_ VARCHAR)
SELECT MIN(bronze) FROM table_name_87 WHERE total < 1
What is the lowest number of bronze medals for a nation with fewer than 1 total medal?
CREATE TABLE table_name_87 (bronze INTEGER, total INTEGER)
SELECT COUNT(field_goals) FROM table_14342480_5 WHERE position = "Right tackle"
Na,e the number of field goals for right tackle
CREATE TABLE table_14342480_5 (field_goals VARCHAR, position VARCHAR)
SELECT 1998 FROM table_name_3 WHERE 2000 = "25"
What is the 1998 value if the 2000 value is 25?
CREATE TABLE table_name_3 (Id VARCHAR)
SELECT AVG(bronze) FROM table_name_89 WHERE rank = "total" AND gold > 59
When the number of gold medals is greater than 59, and the rank is total, what is the average bronze medals?
CREATE TABLE table_name_89 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
SELECT AVG(week) FROM table_name_5 WHERE date = "july 25"
WHAT IS THE AVERAGE WEEK WITH A DATE OF JULY 25?
CREATE TABLE table_name_5 (week INTEGER, date VARCHAR)
SELECT height_above_sea_level__m_ FROM table_name_22 WHERE opened > 1876 AND distance_from_wellington = "604.53km"
For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level?
CREATE TABLE table_name_22 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)
SELECT COUNT(gold) FROM table_name_26 WHERE silver < 3 AND total = 9 AND bronze < 1
How much Gold has a Silver smaller than 3, and a Total of 9, and a Bronze smaller than 1?
CREATE TABLE table_name_26 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR)
SELECT T1.problem_description FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Christop"
Give me a list of descriptions of the problems that are reported by the staff whose first name is Christop.
CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR); CREATE TABLE problems (problem_description VARCHAR, reported_by_staff_id VARCHAR)
SELECT SUM(lane) FROM table_name_92 WHERE nationality = "france" AND rank > 8
How many lanes have a Nationality of france, and a Rank larger than 8?
CREATE TABLE table_name_92 (lane INTEGER, nationality VARCHAR, rank VARCHAR)
SELECT partner FROM table_name_74 WHERE opponent = "darija jurak carmen klaschka"
Which Partner had an Opponent of darija jurak carmen klaschka?
CREATE TABLE table_name_74 (partner VARCHAR, opponent VARCHAR)
SELECT east FROM table_name_9 WHERE south = "tus geretsried ii"
Who was in the East when TUS Geretsried II was in the South?
CREATE TABLE table_name_9 (east VARCHAR, south VARCHAR)
SELECT MAX(weight) FROM table_name_6 WHERE height = "7-0"
Of those with a height of 7-0, who weighs the most?
CREATE TABLE table_name_6 (weight INTEGER, height VARCHAR)
SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Marcus Banks"
During which years was Marcus Banks in Toronto?
CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR)
SELECT result FROM table_name_85 WHERE attendance = "1,634"
What is the Result when the Attendance is 1,634?
CREATE TABLE table_name_85 (result VARCHAR, attendance VARCHAR)
SELECT MAX(no) FROM table_26199130_1 WHERE us_viewers__million_ = "11.96"
What numbered episode had 11.96 million US viewers?
CREATE TABLE table_26199130_1 (no INTEGER, us_viewers__million_ VARCHAR)
SELECT AVG(bronze) FROM table_name_29 WHERE total < 1
What average bronze has a total less than 1?
CREATE TABLE table_name_29 (bronze INTEGER, total INTEGER)
SELECT MIN(round) FROM table_name_18 WHERE circuit = "donington"
Which Round is the lowest one that has a Circuit of donington?
CREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR)
SELECT place FROM table_name_3 WHERE score = 71 - 71 - 69 - 71 = 282
What is Place, when Score is "71-71-69-71=282"?
CREATE TABLE table_name_3 (place VARCHAR, score VARCHAR)
SELECT COUNT(song) FROM table_19763199_5 WHERE artist = "Julia Bermejo"
Name the number of song for julia bermejo
CREATE TABLE table_19763199_5 (song VARCHAR, artist VARCHAR)
SELECT AVG(overall_rank) FROM table_name_39 WHERE share = 6 AND timeslot_rank < 4
What is the rank of the episode with a share of 6 and timeslot rank smaller than 4?
CREATE TABLE table_name_39 (overall_rank INTEGER, share VARCHAR, timeslot_rank VARCHAR)
SELECT position FROM table_name_92 WHERE year < 1907 AND cross_code_debut = "inaugural rl test v new zealand" AND test_debut = "inaugural ru test v new zealand"
What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand?
CREATE TABLE table_name_92 (position VARCHAR, test_debut VARCHAR, year VARCHAR, cross_code_debut VARCHAR)
SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE below_60_percentage_of_median_income = "24.4%"
What is the median income for the region where 24.4% pf people make below 60% of the median income?
CREATE TABLE table_25042332_16 (median_income___intl INTEGER, below_60_percentage_of_median_income VARCHAR)