answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT representing FROM table_name_35 WHERE original_title = "englar alheimsins"
Name the representing for englar alheimsins
CREATE TABLE table_name_35 (representing VARCHAR, original_title VARCHAR)
SELECT school_year FROM table_14603212_1 WHERE class_a = "Lindsay" AND class_aAA = Cuero
Which school years have a class a being lindsay and a class aaa being cuero?
CREATE TABLE table_14603212_1 (school_year VARCHAR, class_a VARCHAR, class_aAA VARCHAR, Cuero VARCHAR)
SELECT points FROM table_name_14 WHERE club = "maesteg rfc"
What is Points, when Club is Maesteg RFC?
CREATE TABLE table_name_14 (points VARCHAR, club VARCHAR)
SELECT name FROM projects ORDER BY hours DESC LIMIT 1
Find the name of project that continues for the longest time.
CREATE TABLE projects (name VARCHAR, hours VARCHAR)
SELECT SUM(capacity) FROM table_name_34 WHERE head_coach = "farhad kazemi"
What is the Capacity of the Venue of Head Coach Farhad Kazemi?
CREATE TABLE table_name_34 (capacity INTEGER, head_coach VARCHAR)
SELECT ceremony FROM table_name_91 WHERE date = "may 15, 1965"
Which award ceremony took place on May 15, 1965?
CREATE TABLE table_name_91 (ceremony VARCHAR, date VARCHAR)
SELECT new_entries FROM table_name_71 WHERE fixtures = 2
What is the value for New entries, when the value for Fixtures is 2?
CREATE TABLE table_name_71 (new_entries VARCHAR, fixtures VARCHAR)
SELECT language FROM table_name_19 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 10"
What language is used when the service is sky primafila 10 and the package/option is qualsiasi?
CREATE TABLE table_name_19 (language VARCHAR, package_option VARCHAR, television_service VARCHAR)
SELECT SUM(money___) AS $__ FROM table_name_99 WHERE player = "angela park"
What's the sum of money ($) that angela park has won?
CREATE TABLE table_name_99 (money___ INTEGER, player VARCHAR)
SELECT league FROM table_name_58 WHERE regular_season = "2nd, southeast"
Which League has a Regular Season of 2nd, southeast?
CREATE TABLE table_name_58 (league VARCHAR, regular_season VARCHAR)
SELECT production_code FROM table_25604014_4 WHERE directed_by = "Sam Weisman"
What is the production code for the episode directed by Sam weisman?
CREATE TABLE table_25604014_4 (production_code VARCHAR, directed_by VARCHAR)
SELECT home_team FROM table_name_37 WHERE venue = "glenferrie oval"
Who was the home side at glenferrie oval?
CREATE TABLE table_name_37 (home_team VARCHAR, venue VARCHAR)
SELECT Box AS score FROM table_name_68 WHERE away_team = "new zealand breakers" AND date = "7 february"
Name the Box Score which has an Away team of new zealand breakers on 7 february?
CREATE TABLE table_name_68 (Box VARCHAR, away_team VARCHAR, date VARCHAR)
SELECT DISTINCT T1.Leader_Name FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID WHERE T2.Country = "Canada"
Show the distinct leader names of colleges associated with members from country "Canada".
CREATE TABLE college (Leader_Name VARCHAR, College_ID VARCHAR); CREATE TABLE member (College_ID VARCHAR, Country VARCHAR)
SELECT discipline FROM table_name_45 WHERE championship = "non-championship"
In which discipline was non-championship under Championship?
CREATE TABLE table_name_45 (discipline VARCHAR, championship VARCHAR)
SELECT traditional FROM table_2013618_1 WHERE area = 544
Name the traditional for area 544
CREATE TABLE table_2013618_1 (traditional VARCHAR, area VARCHAR)
SELECT young_classification FROM table_name_89 WHERE aggressive_rider = "tim johnson"
Which young classification has an aggressive rider of Tim Johnson?
CREATE TABLE table_name_89 (young_classification VARCHAR, aggressive_rider VARCHAR)
SELECT loss FROM table_name_77 WHERE record = "20-16"
What was the loss of the game when the record was 20-16?
CREATE TABLE table_name_77 (loss VARCHAR, record VARCHAR)
SELECT COUNT(written_by) FROM table_12570759_2 WHERE us_viewers__millions_ = "12.72"
How many episodes were watched by 12.72 million U.S. viewers?
CREATE TABLE table_12570759_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT date FROM table_24138601_2 WHERE final_score = "L 28–15"
Name the date for l 28–15
CREATE TABLE table_24138601_2 (date VARCHAR, final_score VARCHAR)
SELECT COUNT(airport) FROM table_13836704_9 WHERE rank = 4
how many airport with rank being 4
CREATE TABLE table_13836704_9 (airport VARCHAR, rank VARCHAR)
SELECT result FROM table_name_82 WHERE score = "4-0"
What is the result when the score is 4-0?
CREATE TABLE table_name_82 (result VARCHAR, score VARCHAR)
SELECT T1.country, T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"
Which country and state does staff with first name as Janessa and last name as Sawayn lived?
CREATE TABLE Addresses (country VARCHAR, state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT 07 AS _08_gp_jgp_2nd FROM table_23938357_5 WHERE name = "Mao Asada"
what is the total 07-08 gp/jgp 2nd with the name mao asada
CREATE TABLE table_23938357_5 (name VARCHAR)
SELECT SUM(pleasure) FROM table_name_57 WHERE drug = "lsd" AND psychological_dependence > 1.1
What is the sum of Pleasure, when Drug is "LSD", and when Psychological Dependence is greater than 1.1?
CREATE TABLE table_name_57 (pleasure INTEGER, drug VARCHAR, psychological_dependence VARCHAR)
SELECT event FROM table_name_75 WHERE alternate = "sun yue" AND skip = "wang bingyu(3rd)"
What event was Sun Yue the alternate and wang bingyu(3rd) the skip?
CREATE TABLE table_name_75 (event VARCHAR, alternate VARCHAR, skip VARCHAR)
SELECT T1.name FROM student AS T1 JOIN advisor AS T2 ON T1.id = T2.s_id GROUP BY T2.s_id HAVING COUNT(*) > 1
Find the name of the students who have more than one advisor?
CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE advisor (s_id VARCHAR)
SELECT district FROM table_1341395_44 WHERE incumbent = "Ron Paul"
What district has Ron Paul?
CREATE TABLE table_1341395_44 (district VARCHAR, incumbent VARCHAR)
SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front"
Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front
CREATE TABLE table_name_43 (ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR)
SELECT MIN(winning__percentage) FROM table_name_95 WHERE lost > 23 AND goals_for > 386
What is the lowest win percentage for teams with more than 23 losses and more than 386 goals for?
CREATE TABLE table_name_95 (winning__percentage INTEGER, lost VARCHAR, goals_for VARCHAR)
SELECT COUNT(week) FROM table_name_23 WHERE attendance = "61,603"
What is the total number of Week(s), when Attendance is 61,603?
CREATE TABLE table_name_23 (week VARCHAR, attendance VARCHAR)
SELECT country FROM table_14523485_9 WHERE channel = "Fox"
Which Country is the show aired on Fox?
CREATE TABLE table_14523485_9 (country VARCHAR, channel VARCHAR)
SELECT place FROM table_name_19 WHERE country = "japan"
Where did Japan place?
CREATE TABLE table_name_19 (place VARCHAR, country VARCHAR)
SELECT english_title FROM table_24856090_1 WHERE hk_viewers = "1.92 million"
What is the English title of the episode with 1.92 million Hong Kong viewers?
CREATE TABLE table_24856090_1 (english_title VARCHAR, hk_viewers VARCHAR)
SELECT record FROM table_name_8 WHERE location = "madison square garden"
Which Record has a Location of madison square garden?
CREATE TABLE table_name_8 (record VARCHAR, location VARCHAR)
SELECT COUNT(high_points) FROM table_23286223_8 WHERE record = "39-22"
How many players did the most high points in the game with 39-22 record?
CREATE TABLE table_23286223_8 (high_points VARCHAR, record VARCHAR)
SELECT AVG(T1.HS), MAX(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
Find the average and maximum hours for the students whose tryout decision is yes.
CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pID VARCHAR, decision VARCHAR)
SELECT Digital AS channel FROM table_name_16 WHERE owner = "three angels broadcasting network"
What digital channel does Three Angels Broadcasting Network own?
CREATE TABLE table_name_16 (Digital VARCHAR, owner VARCHAR)
SELECT COUNT(first_elected) FROM table_1342370_42 WHERE result = "Re-elected" AND incumbent = "Hatton W. Sumners"
How many of the first elected were listed when Hatton W. Sumners was incumbent and re-elected?
CREATE TABLE table_1342370_42 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT chassis FROM table_name_51 WHERE points < 6 AND year = 1961
In 1961, what was the Chassis when the points were lower than 6?
CREATE TABLE table_name_51 (chassis VARCHAR, points VARCHAR, year VARCHAR)
SELECT winners FROM table_name_25 WHERE venue = "krško"
Who won at Krško?
CREATE TABLE table_name_25 (winners VARCHAR, venue VARCHAR)
SELECT passed FROM table_256286_40 WHERE description = "Authorizing State Acceptance of Certain Gifts"
What vote passed for the measure with the description, authorizing state acceptance of certain gifts?
CREATE TABLE table_256286_40 (passed VARCHAR, description VARCHAR)
SELECT 20 AS _questions FROM table_24425491_3 WHERE cover_model = "Pamela Horton"
Who played 20 questions during the issue in which Pamela Horton is on the cover?
CREATE TABLE table_24425491_3 (cover_model VARCHAR)
SELECT date FROM table_name_85 WHERE visitor = "cavaliers" AND home = "knicks"
What day was the game that had the Cavaliers as visiting team and the Knicks as the home team?
CREATE TABLE table_name_85 (date VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT score FROM table_name_49 WHERE country = "united states" AND to_par = "+2" AND player = "phil hancock"
what is the score when the country is united states, the to par is +2 and the player is phil hancock?
CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT nominated_for FROM table_name_95 WHERE year < 2002 AND award = "national television awards" AND category = "most popular comedy performer"
Name what was nominated in years before 2002 for most popular comedy performer at the national television awards
CREATE TABLE table_name_95 (nominated_for VARCHAR, category VARCHAR, year VARCHAR, award VARCHAR)
SELECT frequency FROM table_name_32 WHERE power = "32 kw horizontal" AND channel = 32
On channel 32, when the power is 32 kW horizontal, what is the frequency?
CREATE TABLE table_name_32 (frequency VARCHAR, power VARCHAR, channel VARCHAR)
SELECT founded FROM table_11658094_1 WHERE institution = "Erskine College"
When was erskine college founded
CREATE TABLE table_11658094_1 (founded VARCHAR, institution VARCHAR)
SELECT AVG(pick) FROM table_name_82 WHERE team = "texas rangers"
What was the average pick made by the Texas Rangers?
CREATE TABLE table_name_82 (pick INTEGER, team VARCHAR)
SELECT player FROM table_name_74 WHERE place = "t9" AND country = "united states"
WHo is Player that has a Place of t9 in united states?
CREATE TABLE table_name_74 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT COUNT(pole_position) FROM table_2696531_2 WHERE location = "Homestead, Florida"
how many times is the location is homestead, florida?
CREATE TABLE table_2696531_2 (pole_position VARCHAR, location VARCHAR)
SELECT success FROM table_12078626_1 WHERE deadline_for_completion = "October 7, 2007"
what's the success where deadline for completion is october 7, 2007
CREATE TABLE table_12078626_1 (success VARCHAR, deadline_for_completion VARCHAR)
SELECT team FROM table_name_60 WHERE qual_2 = "1:24.365"
What Team had a 1:24.365 Qual 2?
CREATE TABLE table_name_60 (team VARCHAR, qual_2 VARCHAR)
SELECT tournament FROM table_name_59 WHERE opponents = "petra krejsová tereza smitková"
Which tournament had an opponent of petra krejsová tereza smitková?
CREATE TABLE table_name_59 (tournament VARCHAR, opponents VARCHAR)
SELECT date FROM table_name_89 WHERE opponent_in_the_final = "kyoko nagatsuka"
What is the date of the tournament where Kyoko Nagatsuka was the opponent in the final?
CREATE TABLE table_name_89 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT venue FROM table_name_46 WHERE home_team = "richmond"
What venue is the home field of Richmond?
CREATE TABLE table_name_46 (venue VARCHAR, home_team VARCHAR)
SELECT status FROM table_name_17 WHERE name = "cadeby"
What status is shown for Cadeby?
CREATE TABLE table_name_17 (status VARCHAR, name VARCHAR)
SELECT AVG(overall) FROM table_name_8 WHERE round > 11 AND pick > 10
What is the average value of Overall, when Round is greater than 11, and when Pick is greater than 10?
CREATE TABLE table_name_8 (overall INTEGER, round VARCHAR, pick VARCHAR)
SELECT wins FROM table_2169966_1 WHERE starts = 10
How many wins does he get when he starts at 10?
CREATE TABLE table_2169966_1 (wins VARCHAR, starts VARCHAR)
SELECT email, phone FROM customers WHERE first_name = "Astrid" AND last_name = "Gruber"
What is Astrid Gruber's email and phone number?
CREATE TABLE customers (email VARCHAR, phone VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT COUNT(directed_by) FROM table_23499946_1 WHERE us_viewers__in_millions_ = "2.80"
How many directed by have 2.80 as u.s. viewers (in millions)?
CREATE TABLE table_23499946_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)
SELECT SUM(total) FROM table_name_95 WHERE rank = "8" AND bronze < 1
What is the sum of Total, when Rank is 8, and when Bronze is less than 1?
CREATE TABLE table_name_95 (total INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT acronym FROM table_1160660_1 WHERE university_name = "Beirut Arab University"
What is the acronym used for Beirut Arab University?
CREATE TABLE table_1160660_1 (acronym VARCHAR, university_name VARCHAR)
SELECT score FROM table_name_22 WHERE player = "craig wood"
What was Craig Wood's score?
CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR)
SELECT COUNT(candidates) FROM table_1341604_10 WHERE result = "New seat Democratic gain"
how many candidates with result being new seat democratic gain
CREATE TABLE table_1341604_10 (candidates VARCHAR, result VARCHAR)
SELECT city___municipality FROM table_255812_1 WHERE mayor = "Helen C. De Castro"
What are all the metropolis / municipality where mayor is helen c. De castro
CREATE TABLE table_255812_1 (city___municipality VARCHAR, mayor VARCHAR)
SELECT position FROM table_20872722_1 WHERE weight = "225lb"
Which position has 225lb as weight?
CREATE TABLE table_20872722_1 (position VARCHAR, weight VARCHAR)
SELECT MIN(attendance) FROM table_name_94 WHERE date = "november 18"
What is the lowest attendance on November 18?
CREATE TABLE table_name_94 (attendance INTEGER, date VARCHAR)
SELECT writer FROM table_26866434_1 WHERE series__number = 122
Who wrote episode 122 in the series?
CREATE TABLE table_26866434_1 (writer VARCHAR, series__number VARCHAR)
SELECT venue FROM table_name_1 WHERE position = "27th"
Name the venue for 27th position
CREATE TABLE table_name_1 (venue VARCHAR, position VARCHAR)
SELECT Date FROM performance ORDER BY Attendance DESC LIMIT 1
What is the date of the performance with the highest number of attendees?
CREATE TABLE performance (Date VARCHAR, Attendance VARCHAR)
SELECT date FROM table_name_54 WHERE results¹ = "3:2"
What day were the results 3:2?
CREATE TABLE table_name_54 (date VARCHAR, results¹ VARCHAR)
SELECT 1995 FROM table_name_74 WHERE 1996 = "grand slams"
What shows for 1995 when 1996 shows grand slams?
CREATE TABLE table_name_74 (Id VARCHAR)
SELECT MIN(series__number) FROM table_24639086_3 WHERE season__number = "2.08"
What is the series minimum if the season number is 2.08?
CREATE TABLE table_24639086_3 (series__number INTEGER, season__number VARCHAR)
SELECT MAX(heat) FROM table_name_36 WHERE nation = "australia" AND rank > 7
Which Heat has a Nation of australia, and a Rank larger than 7?
CREATE TABLE table_name_36 (heat INTEGER, nation VARCHAR, rank VARCHAR)
SELECT COUNT(money_list_rank) FROM table_29499399_2 WHERE best_finish = "T10"
How many ranks on the money list had a best finish of t10?
CREATE TABLE table_29499399_2 (money_list_rank VARCHAR, best_finish VARCHAR)
SELECT COUNT(masters) FROM table_14937957_1 WHERE martial_art_style = "Boxing"
How many masters fought using a boxing style?
CREATE TABLE table_14937957_1 (masters VARCHAR, martial_art_style VARCHAR)
SELECT COUNT(erp_w) FROM table_name_58 WHERE class = "c3" AND frequency_mhz < 89.9
What is the total erp w of class c3, which has a frequency mhz less than 89.9?
CREATE TABLE table_name_58 (erp_w VARCHAR, class VARCHAR, frequency_mhz VARCHAR)
SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE original_title = "Vinterkyss"
Which film title used in nomination has vinterkyss as the original title?
CREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT MAX(pick) FROM table_name_29 WHERE school = "naperville central high school"
Which is the biggest pick for Naperville Central High School?
CREATE TABLE table_name_29 (pick INTEGER, school VARCHAR)
SELECT location FROM table_20140132_1 WHERE team = "Saturn"
What is the location of the team Saturn?
CREATE TABLE table_20140132_1 (location VARCHAR, team VARCHAR)
SELECT assists FROM table_19722664_5 WHERE player = "DeLisha Milton-Jones"
How many assists did Delisha Milton-Jones make?
CREATE TABLE table_19722664_5 (assists VARCHAR, player VARCHAR)
SELECT _percentage_of_seats FROM table_name_86 WHERE difference = "0.25"
What is the % of seats where the difference is 0.25?
CREATE TABLE table_name_86 (_percentage_of_seats VARCHAR, difference VARCHAR)
SELECT team FROM table_27712702_11 WHERE date = "March 27"
Who was the other team on march 27?
CREATE TABLE table_27712702_11 (team VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_17355716_10 WHERE date = "April 11"
what is the high rebounds stat on april 11
CREATE TABLE table_17355716_10 (high_rebounds VARCHAR, date VARCHAR)
SELECT player FROM table_name_12 WHERE sets < 5 AND event = "2005 wimbledon"
What Player in 2005 Wimbledon had less than 5 Sets?
CREATE TABLE table_name_12 (player VARCHAR, sets VARCHAR, event VARCHAR)
SELECT AVG(year_opened) FROM table_name_17 WHERE track_name = "chicagoland speedway" AND seating < 75 OFFSET 000
What is the year opened for Chicagoland Speedway with a seating smaller than 75,000?
CREATE TABLE table_name_17 (year_opened INTEGER, track_name VARCHAR, seating VARCHAR)
SELECT AVG(price) FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu"
What is the average price for flights from Los Angeles to Honolulu.
CREATE TABLE Flight (price INTEGER, origin VARCHAR, destination VARCHAR)
SELECT Store_Name FROM Drama_Workshop_Groups
Show all the Store_Name of drama workshop groups.
CREATE TABLE Drama_Workshop_Groups (Store_Name VARCHAR)
SELECT sample_size FROM table_name_80 WHERE republican = "ron paul"
What was the sample size for the poll featuring Republican Ron Paul?
CREATE TABLE table_name_80 (sample_size VARCHAR, republican VARCHAR)
SELECT MIN(crowd) FROM table_name_84 WHERE venue = "junction oval"
What was the smallest crowd size for the match played at Junction Oval?
CREATE TABLE table_name_84 (crowd INTEGER, venue VARCHAR)
SELECT shirt_sponsor FROM table_25527255_2 WHERE average_squad_age = "25.46"
Who is the shirt sponsor of the team with an average squad age of 25.46?
CREATE TABLE table_25527255_2 (shirt_sponsor VARCHAR, average_squad_age VARCHAR)
SELECT constructor FROM table_name_34 WHERE grid = 14
Who constructed grid 14?
CREATE TABLE table_name_34 (constructor VARCHAR, grid VARCHAR)
SELECT SUM(bronze) FROM table_name_37 WHERE total = 4 AND silver < 3
How many bronzes were held by those with a total of 4 and less than 3 silvers.
CREATE TABLE table_name_37 (bronze INTEGER, total VARCHAR, silver VARCHAR)
SELECT to_par FROM table_name_79 WHERE place = "t8" AND score = 72 - 70 - 66 = 208
What is the To par of the T8 Place Player with a Score of 72-70-66=208?
CREATE TABLE table_name_79 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT position FROM table_name_79 WHERE player = "chris robinson"
What was the position that Chris Robinson played?
CREATE TABLE table_name_79 (position VARCHAR, player VARCHAR)
SELECT SUM(podiums) FROM table_name_94 WHERE series = "macau grand prix" AND season < 2008
How many Podiums where their total for the Series of Macau grand prix, as well as being a season before 2008?
CREATE TABLE table_name_94 (podiums INTEGER, series VARCHAR, season VARCHAR)
SELECT country FROM table_name_87 WHERE content = "general television" AND television_service = "rai 1"
What is the Country when the Content was general television, and a Television service of rai 1?
CREATE TABLE table_name_87 (country VARCHAR, content VARCHAR, television_service VARCHAR)
SELECT COUNT(division) FROM table_1986692_1 WHERE year = "1992"
When 1992 is the year how many divisions are there?
CREATE TABLE table_1986692_1 (division VARCHAR, year VARCHAR)
SELECT MAX(jankovic) FROM table_name_68 WHERE round = "sf" AND tournament = "indian wells"
What is the highest result for Jankovic at Indian Wells and round of SF?
CREATE TABLE table_name_68 (jankovic INTEGER, round VARCHAR, tournament VARCHAR)