question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the year of appearance for the Prince Albert Raiders?
CREATE TABLE table_17751942_4 (years_of_appearance VARCHAR, team VARCHAR)
SELECT years_of_appearance FROM table_17751942_4 WHERE team = "Prince Albert Raiders"
Who won the Mixed Doubles in 2007?
CREATE TABLE table_name_49 (mixed_doubles VARCHAR, year VARCHAR)
SELECT mixed_doubles FROM table_name_49 WHERE year = "2007"
What is Andreas Kiligkaridis rank?
CREATE TABLE table_name_80 (rank VARCHAR, athletes VARCHAR)
SELECT rank FROM table_name_80 WHERE athletes = "andreas kiligkaridis"
Find the most popular room in the hotel. The most popular room is the room that had seen the largest number of reservations.
CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR)
SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY COUNT(*) DESC LIMIT 1
What is the mean number of caps for Ryota Asano?
CREATE TABLE table_name_67 (caps INTEGER, player VARCHAR)
SELECT AVG(caps) FROM table_name_67 WHERE player = "ryota asano"
On which team was Robbie Earle the captain?
CREATE TABLE table_name_5 (team VARCHAR, captain VARCHAR)
SELECT team FROM table_name_5 WHERE captain = "robbie earle"
Which church was organized by George M. Hinkle?
CREATE TABLE table_name_50 (church_name VARCHAR, organized_by VARCHAR)
SELECT church_name FROM table_name_50 WHERE organized_by = "george m. hinkle"
Where are the broadcasting companys with the callsign DWRH located?
CREATE TABLE table_28794440_1 (location VARCHAR, callsign VARCHAR)
SELECT location FROM table_28794440_1 WHERE callsign = "DWRH"
What was the language score when the reading score was 94.47?
CREATE TABLE table_2534578_1 (language VARCHAR, reading VARCHAR)
SELECT language FROM table_2534578_1 WHERE reading = "94.47"
How many opponents are at Minnesota Vikings?
CREATE TABLE table_18847736_2 (opponents INTEGER, opponent VARCHAR)
SELECT MAX(opponents) FROM table_18847736_2 WHERE opponent = "at Minnesota Vikings"
In what year was the bridge in Clarkdale built?
CREATE TABLE table_name_16 (built VARCHAR, location VARCHAR)
SELECT built FROM table_name_16 WHERE location = "clarkdale"
WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?
CREATE TABLE table_name_27 (moving_to VARCHAR, country VARCHAR)
SELECT moving_to FROM table_name_27 WHERE country = "bel"
Name the sum of points with games less than 5
CREATE TABLE table_name_25 (points INTEGER, games INTEGER)
SELECT SUM(points) FROM table_name_25 WHERE games < 5
When the home team north melbourne was playing what did they score?
CREATE TABLE table_name_78 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_78 WHERE home_team = "north melbourne"
Where does Route 24 intersect?
CREATE TABLE table_10568553_1 (location VARCHAR, roads_intersected VARCHAR)
SELECT location FROM table_10568553_1 WHERE roads_intersected = "Route 24"
What is Drawn, when Club is Newport RFC?
CREATE TABLE table_name_71 (drawn VARCHAR, club VARCHAR)
SELECT drawn FROM table_name_71 WHERE club = "newport rfc"
What is the vote total for elections after 2001 with 44.5% participation?
CREATE TABLE table_name_29 (total_votes VARCHAR, election VARCHAR, share_of_votes VARCHAR)
SELECT total_votes FROM table_name_29 WHERE election > 2001 AND share_of_votes = "44.5%"
who is the tuf competitor when the method id decision (unanimous)?
CREATE TABLE table_name_37 (tuf_competitor VARCHAR, method VARCHAR)
SELECT tuf_competitor FROM table_name_37 WHERE method = "decision (unanimous)"
How many tournament wins were at Volvo Masters Andalucia?
CREATE TABLE table_1615980_4 (no VARCHAR, tournament VARCHAR)
SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia"
In what round did opponent Joe Lauzon play?
CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_39 WHERE opponent = "joe lauzon"
Which episodes have Chris Addison as Rufus's guest?
CREATE TABLE table_19930660_3 (episode VARCHAR, rufus_guest VARCHAR)
SELECT episode FROM table_19930660_3 WHERE rufus_guest = "Chris Addison"
When the Vancouver Canucks were visiting, what was the record when the score was 4-2?
CREATE TABLE table_name_6 (record VARCHAR, score VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_6 WHERE score = "4-2" AND visitor = "vancouver canucks"
When did the 4th, Midwest season happen?
CREATE TABLE table_1990460_1 (year VARCHAR, regular_season VARCHAR)
SELECT year FROM table_1990460_1 WHERE regular_season = "4th, Midwest"
Which Yards have Carries smaller than 23, and a Team of at chi, and an Average smaller than 8.5?
CREATE TABLE table_name_5 (yards INTEGER, average VARCHAR, carries VARCHAR, team VARCHAR)
SELECT MIN(yards) FROM table_name_5 WHERE carries < 23 AND team = "at chi" AND average < 8.5
What year was the first election when Fritz G. Lanham was elected?
CREATE TABLE table_1342331_43 (first_elected INTEGER, incumbent VARCHAR)
SELECT MAX(first_elected) FROM table_1342331_43 WHERE incumbent = "Fritz G. Lanham"
What was the title when there were 14.39 million viewers?
CREATE TABLE table_15717093_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_15717093_1 WHERE us_viewers__millions_ = "14.39"
What Date has a Score in the final of 3–6, 2–6, 4–6?
CREATE TABLE table_name_4 (date VARCHAR, score_in_the_final VARCHAR)
SELECT date FROM table_name_4 WHERE score_in_the_final = "3–6, 2–6, 4–6"
Tell me the sum of number of jamaicans given british citizenship for 2004 and registration of a minor child more than 640
CREATE TABLE table_name_44 (numer_of_jamaicans_granted_british_citizenship INTEGER, year VARCHAR, registration_of_a_minor_child VARCHAR)
SELECT SUM(numer_of_jamaicans_granted_british_citizenship) FROM table_name_44 WHERE year = 2004 AND registration_of_a_minor_child > 640
What are airport names at City 'Aberdeen'?
CREATE TABLE AIRPORTS (AirportName VARCHAR, City VARCHAR)
SELECT AirportName FROM AIRPORTS WHERE City = "Aberdeen"
when was garibaldets (гарибальдиец) launched?
CREATE TABLE table_name_94 (launched VARCHAR, name VARCHAR)
SELECT launched FROM table_name_94 WHERE name = "garibaldets (гарибальдиец)"
In the tournament where Stuart Appleby was the runner-up, what was the margin of victory?
CREATE TABLE table_name_41 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_name_41 WHERE runner_s__up = "stuart appleby"
What's the title of the episode originally aired on September 23, 2008?
CREATE TABLE table_19401346_1 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_19401346_1 WHERE original_air_date = "September 23, 2008"
Who won the most recent favorite rap/hip-hop new artist at the American music awards?
CREATE TABLE table_name_55 (year INTEGER, association VARCHAR, category VARCHAR)
SELECT MAX(year) FROM table_name_55 WHERE association = "american music awards" AND category = "favorite rap/hip-hop new artist"
Which ISHAA school joined in 2012 and has a mascot of the panthers?
CREATE TABLE table_name_64 (ihsaa_class VARCHAR, year_joined VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_64 WHERE year_joined < 2012 AND mascot = "panthers"
What was the result of the game on April 28?
CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_75 WHERE date = "april 28"
The match of at Michael's Eighth Avenue venue against Tim Coleman that went 3:00 has what record?
CREATE TABLE table_name_83 (record VARCHAR, opponent VARCHAR, time VARCHAR, venue VARCHAR)
SELECT record FROM table_name_83 WHERE time = "3:00" AND venue = "michael's eighth avenue" AND opponent = "tim coleman"
What was the series standing after game 1?
CREATE TABLE table_name_5 (series VARCHAR, game VARCHAR)
SELECT series FROM table_name_5 WHERE game = 1
What is the number for rank when gold is less than 0?
CREATE TABLE table_name_91 (rank INTEGER, gold INTEGER)
SELECT SUM(rank) FROM table_name_91 WHERE gold < 0
Show the protein name and the institution name.
CREATE TABLE institution (institution VARCHAR, institution_id VARCHAR); CREATE TABLE protein (protein_name VARCHAR, institution_id VARCHAR)
SELECT T2.protein_name, T1.institution FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id
What role does she play before 1942 with dorothy arzner directing?
CREATE TABLE table_name_97 (role VARCHAR, year VARCHAR, director VARCHAR)
SELECT role FROM table_name_97 WHERE year < 1942 AND director = "dorothy arzner"
What is maximum, minimum and average amount of outstanding of customer?
CREATE TABLE Customers (amount_outstanding INTEGER)
SELECT MAX(amount_outstanding), MIN(amount_outstanding), AVG(amount_outstanding) FROM Customers
What Player has a +3 To par?
CREATE TABLE table_name_11 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_11 WHERE to_par = "+3"
Which city contains the KPIX station?
CREATE TABLE table_name_96 (city_of_license__market VARCHAR, station VARCHAR)
SELECT city_of_license__market FROM table_name_96 WHERE station = "kpix"
How many u.s. viewers (million) have a series # 83?
CREATE TABLE table_22570439_1 (us_viewers__millions_ VARCHAR, series__number VARCHAR)
SELECT us_viewers__millions_ FROM table_22570439_1 WHERE series__number = 83
What label has the 817 catalog?
CREATE TABLE table_name_92 (label VARCHAR, catalog_number VARCHAR)
SELECT label FROM table_name_92 WHERE catalog_number = "817"
Which type has a list entry number more than 1356436, named Albion Congregational Church?
CREATE TABLE table_name_64 (type VARCHAR, list_entry_number VARCHAR, name VARCHAR)
SELECT type FROM table_name_64 WHERE list_entry_number > 1356436 AND name = "albion congregational church"
What is the venue of the team race that was before 2010?
CREATE TABLE table_name_13 (venue VARCHAR, notes VARCHAR, year VARCHAR)
SELECT venue FROM table_name_13 WHERE notes = "team" AND year < 2010
What was the result for the contestant whose background was as a business major?
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)
SELECT result FROM table_19810459_1 WHERE background = "Business major"
Name the El samurai with MAZADA of x for Ryuji Hijikata of draw (30:00)
CREATE TABLE table_name_30 (el_samurai VARCHAR, mazada VARCHAR, ryuji_hijikata VARCHAR)
SELECT el_samurai FROM table_name_30 WHERE mazada = "x" AND ryuji_hijikata = "draw (30:00)"
Which cities have 2 to 4 parks?
CREATE TABLE park (city VARCHAR)
SELECT city FROM park GROUP BY city HAVING COUNT(*) BETWEEN 2 AND 4
What was the result of the game after week 6 against the cleveland browns?
CREATE TABLE table_name_41 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_41 WHERE week < 6 AND opponent = "cleveland browns"
what's the 3rd day with finbeingh position being 16th
CREATE TABLE table_1340667_3 (finish_position VARCHAR)
SELECT 3 AS rd_day FROM table_1340667_3 WHERE finish_position = "16th"
Name the region before 2008 when name of best 1200
CREATE TABLE table_name_58 (region VARCHAR, year VARCHAR, name VARCHAR)
SELECT region FROM table_name_58 WHERE year < 2008 AND name = "best 1200"
Find the name of the department that offers the highest total credits?
CREATE TABLE course (dept_name VARCHAR, credits INTEGER)
SELECT dept_name FROM course GROUP BY dept_name ORDER BY SUM(credits) DESC LIMIT 1
Who is the driver with a time/retired of +5.2684?
CREATE TABLE table_name_23 (driver VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_23 WHERE time_retired = "+5.2684"
What is the date with home team of Stockport County?
CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_35 WHERE home_team = "stockport county"
What is fitzroy's score as the home team?
CREATE TABLE table_name_49 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_49 WHERE home_team = "fitzroy"
What record has pittsburgh as the visitor, and November 23 as the date?
CREATE TABLE table_name_45 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT record FROM table_name_45 WHERE visitor = "pittsburgh" AND date = "november 23"
Who was the color commentator for Andrea Kremer and Tiki Barber?
CREATE TABLE table_name_22 (color_commentator_s_ VARCHAR, sideline_reporter_s_ VARCHAR)
SELECT color_commentator_s_ FROM table_name_22 WHERE sideline_reporter_s_ = "andrea kremer and tiki barber"
What is the highest round reached by an oppo ent of JR schumacher?
CREATE TABLE table_name_77 (round INTEGER, opponent VARCHAR)
SELECT MAX(round) FROM table_name_77 WHERE opponent = "jr schumacher"
Who won when robert kudelski finished with under 13 weeks?
CREATE TABLE table_name_89 (winner VARCHAR, _number_of_weeks VARCHAR, third_place VARCHAR)
SELECT winner FROM table_name_89 WHERE _number_of_weeks < 13 AND third_place = "robert kudelski"
When 228 is the lap and chip ganassi racing is the team what is the race time?
CREATE TABLE table_1771753_3 (race_time VARCHAR, team VARCHAR, laps VARCHAR)
SELECT race_time FROM table_1771753_3 WHERE team = "Chip Ganassi Racing" AND laps = "228"
What was the outcome when the partner was Iryna Bremond?
CREATE TABLE table_name_13 (outcome VARCHAR, partner VARCHAR)
SELECT outcome FROM table_name_13 WHERE partner = "iryna bremond"
Which season has a Staffel E of Stahl Riesa?
CREATE TABLE table_name_21 (season VARCHAR, staffel_e VARCHAR)
SELECT season FROM table_name_21 WHERE staffel_e = "stahl riesa"
ratio of 15:14, and a just (cents) larger than 119.44 is what average size (cents)?
CREATE TABLE table_name_40 (size__cents_ INTEGER, just_ratio VARCHAR, just__cents_ VARCHAR)
SELECT AVG(size__cents_) FROM table_name_40 WHERE just_ratio = "15:14" AND just__cents_ > 119.44
Find the brand and name for each camera lens, and sort in descending order of maximum aperture.
CREATE TABLE camera_lens (brand VARCHAR, name VARCHAR, max_aperture VARCHAR)
SELECT brand, name FROM camera_lens ORDER BY max_aperture DESC
If the enrollment is 3584, what's the largest founded?
CREATE TABLE table_1183842_1 (founded INTEGER, enrollment VARCHAR)
SELECT MAX(founded) FROM table_1183842_1 WHERE enrollment = 3584
who are all the players when season mvp is less than 1.0 and second team is less than 1.0
CREATE TABLE table_26130295_3 (player VARCHAR, season_mvp VARCHAR, second_team VARCHAR)
SELECT player FROM table_26130295_3 WHERE season_mvp < 1.0 AND second_team < 1.0
When 4 is the v-band what is the overall amount of ka-bands?
CREATE TABLE table_186468_1 (ka_band VARCHAR, v_band VARCHAR)
SELECT COUNT(ka_band) FROM table_186468_1 WHERE v_band = "4"
What is the per capital income for Charles county?
CREATE TABLE table_name_9 (per_capita_income VARCHAR, county VARCHAR)
SELECT per_capita_income FROM table_name_9 WHERE county = "charles"
Which of the highest pick numbers had a round of less than 2?
CREATE TABLE table_name_81 (pick__number INTEGER, round INTEGER)
SELECT MAX(pick__number) FROM table_name_81 WHERE round < 2
What is the name in the UK, with a release date of December 1966?
CREATE TABLE table_name_24 (name VARCHAR, location VARCHAR, release_date VARCHAR)
SELECT name FROM table_name_24 WHERE location = "uk" AND release_date = "december 1966"
What is the party of Richard Simpson?
CREATE TABLE table_name_59 (party VARCHAR, name VARCHAR)
SELECT party FROM table_name_59 WHERE name = "richard simpson"
How many television station listing have a radio station as lao national radio?
CREATE TABLE table_2879165_1 (television_station VARCHAR, radio_station VARCHAR)
SELECT COUNT(television_station) FROM table_2879165_1 WHERE radio_station = "Lao National Radio"
Name the Venue which has a Score of 8 – 1?
CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_61 WHERE score = "8 – 1"
Who was the away team on 30 January 1988, when the home team was Everton?
CREATE TABLE table_name_45 (away_team VARCHAR, home_team VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_45 WHERE home_team = "everton" AND date = "30 january 1988"
Name the syrian christians for kollam
CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR)
SELECT syrian_christians FROM table_23214055_2 WHERE district = "Kollam"
What number was the game resulting in a 5-11 record?
CREATE TABLE table_17118657_8 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_17118657_8 WHERE record = "5-11"
List all information about the assessment notes sorted by date in ascending order.
CREATE TABLE Assessment_Notes (date_of_notes VARCHAR)
SELECT * FROM Assessment_Notes ORDER BY date_of_notes
What was the winning score in the year 2002?
CREATE TABLE table_name_28 (winning_score VARCHAR, year VARCHAR)
SELECT winning_score FROM table_name_28 WHERE year = 2002
How many people attended the Royals game with a score of 17 - 6?
CREATE TABLE table_name_17 (attendance INTEGER, opponent VARCHAR, score VARCHAR)
SELECT SUM(attendance) FROM table_name_17 WHERE opponent = "royals" AND score = "17 - 6"
What is the Date of the game in Vancouver?
CREATE TABLE table_name_9 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_9 WHERE home = "vancouver"
What is the left bloc with a 49.0% socialist?
CREATE TABLE table_name_33 (left_bloc VARCHAR, socialist VARCHAR)
SELECT left_bloc FROM table_name_33 WHERE socialist = "49.0%"
On which date after week 11 was the opponent the arizona cardinals?
CREATE TABLE table_name_88 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_88 WHERE week > 11 AND opponent = "arizona cardinals"
What is the title of the episode written by Vanessa Bates?
CREATE TABLE table_19517621_4 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_19517621_4 WHERE written_by = "Vanessa Bates"
What is the smallest quantity having a Class to 1928 of BDi-21?
CREATE TABLE table_name_79 (quantity INTEGER, class_to_1928 VARCHAR)
SELECT MIN(quantity) FROM table_name_79 WHERE class_to_1928 = "bdi-21"
Who was the opponent when Hoeft (19-14) took the loss?
CREATE TABLE table_name_1 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_1 WHERE loss = "hoeft (19-14)"
Which Touchdowns have an Extra points of 0, and Points larger than 5, and a Player of curtis redden?
CREATE TABLE table_name_47 (touchdowns INTEGER, player VARCHAR, extra_points VARCHAR, points VARCHAR)
SELECT AVG(touchdowns) FROM table_name_47 WHERE extra_points = 0 AND points > 5 AND player = "curtis redden"
What place is the player with score of 70-68-70=208 from?
CREATE TABLE table_name_38 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_38 WHERE score = 70 - 68 - 70 = 208
Where Date is september 13, 1998 what is result?
CREATE TABLE table_name_89 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_89 WHERE date = "september 13, 1998"
How many employees do we have?
CREATE TABLE Employee (Id VARCHAR)
SELECT COUNT(*) FROM Employee
What is the result/margin when fox sports 1 broadcast the game played at mcg?
CREATE TABLE table_24919137_2 (result_margin VARCHAR, broadcaster VARCHAR, venue VARCHAR)
SELECT result_margin FROM table_24919137_2 WHERE broadcaster = "Fox Sports 1" AND venue = "MCG"
In the game where richmond was the away team, what venue was it played at?
CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_99 WHERE away_team = "richmond"
What is the average Assists, when Games is greater than 19, and when Name is "Pablo Prigioni"?
CREATE TABLE table_name_64 (assists INTEGER, games VARCHAR, name VARCHAR)
SELECT AVG(assists) FROM table_name_64 WHERE games > 19 AND name = "pablo prigioni"
What was the title of the race at Oran Park Raceway?
CREATE TABLE table_name_72 (race_title VARCHAR, circuit VARCHAR)
SELECT race_title FROM table_name_72 WHERE circuit = "oran park raceway"
What is ids of the songs whose resolution is higher than the resolution of any songs with rating lower than 8?
CREATE TABLE song (f_id VARCHAR, resolution INTEGER, rating INTEGER)
SELECT f_id FROM song WHERE resolution > (SELECT MAX(resolution) FROM song WHERE rating < 8)
What is the venue for the friendly competition and score of 4-0?
CREATE TABLE table_name_53 (venue VARCHAR, score VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_53 WHERE score = "4-0" AND competition = "friendly"
Name the pinyin for ciá-ìng-gâing
CREATE TABLE table_2013618_1 (pinyin VARCHAR, foochow VARCHAR)
SELECT pinyin FROM table_2013618_1 WHERE foochow = "Ciá-ìng-gâing"
What is the theme of the song by Soul Brothers Six
CREATE TABLE table_21501518_1 (theme VARCHAR, original_artist VARCHAR)
SELECT theme FROM table_21501518_1 WHERE original_artist = "Soul Brothers Six"
What is the largest value for Fall 08 when Fall 09 is 792 and Fall 05 is less than 791?
CREATE TABLE table_name_95 (fall_08 INTEGER, fall_09 VARCHAR, fall_05 VARCHAR)
SELECT MAX(fall_08) FROM table_name_95 WHERE fall_09 = 792 AND fall_05 < 791