question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the score of the game where the record was 22-55?
CREATE TABLE table_name_7 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_7 WHERE record = "22-55"
What is the Hanja for McCune-Reischauer of chŏn?
CREATE TABLE table_name_56 (hanja VARCHAR, mccune_reischauer VARCHAR)
SELECT hanja FROM table_name_56 WHERE mccune_reischauer = "chŏn"
In what title did he act in 1940?
CREATE TABLE table_name_65 (title VARCHAR, year VARCHAR)
SELECT title FROM table_name_65 WHERE year = 1940
What team was in 1st plate in a year later than 1956?
CREATE TABLE table_name_84 (year INTEGER)
SELECT 1 AS st_place_team FROM table_name_84 WHERE year > 1956
What home team played Hinckley United?
CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_30 WHERE away_team = "hinckley united"
What is the total number of attendance for games where buffalo was the home team?
CREATE TABLE table_name_83 (attendance VARCHAR, home VARCHAR)
SELECT COUNT(attendance) FROM table_name_83 WHERE home = "buffalo"
What conference has 2009 as the season, with super leg final as the format?
CREATE TABLE table_name_8 (conference VARCHAR, season VARCHAR, format VARCHAR)
SELECT conference FROM table_name_8 WHERE season = 2009 AND format = "super leg final"
How many outcomes were there in the elections in California 38?
CREATE TABLE table_1341663_6 (result VARCHAR, district VARCHAR)
SELECT COUNT(result) FROM table_1341663_6 WHERE district = "California 38"
Who is the rider when the grid number is 3?
CREATE TABLE table_name_28 (rider VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_28 WHERE grid = 3
What is the fewest number of games lost?
CREATE TABLE table_17357929_1 (lost INTEGER)
SELECT MIN(lost) FROM table_17357929_1
Who was the first couple in the episode having a fourth couple of Sammy and Nat?
CREATE TABLE table_25664518_3 (first_couple VARCHAR, fourth_couple VARCHAR)
SELECT first_couple FROM table_25664518_3 WHERE fourth_couple = "Sammy and Nat"
Who is the home side when north melbourne is the away side?
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_51 WHERE away_team = "north melbourne"
What is the number of starts for 1987?
CREATE TABLE table_13026799_3 (starts VARCHAR, year VARCHAR)
SELECT COUNT(starts) FROM table_13026799_3 WHERE year = 1987
Which Floors is the highest one that has a Name of one indiana square?
CREATE TABLE table_name_84 (floors INTEGER, name VARCHAR)
SELECT MAX(floors) FROM table_name_84 WHERE name = "one indiana square"
What is 18-49, when Weekly Winner is "Youth Counselor Justin Meece"?
CREATE TABLE table_name_45 (weekly_winner VARCHAR)
SELECT 18 AS _49 FROM table_name_45 WHERE weekly_winner = "youth counselor justin meece"
Who was the opponent on the date of November 29, 1970 and the attendance was less than 31,427?
CREATE TABLE table_name_41 (week INTEGER, date VARCHAR, attendance VARCHAR)
SELECT AVG(week) FROM table_name_41 WHERE date = "november 29, 1970" AND attendance < 31 OFFSET 427
What's Yurchikhin Fyodor Yurchikhin's number?
CREATE TABLE table_14125006_1 (number VARCHAR, astronaut VARCHAR)
SELECT number FROM table_14125006_1 WHERE astronaut = "Yurchikhin Fyodor Yurchikhin"
What is the highest total number?
CREATE TABLE table_14330096_4 (total_number INTEGER)
SELECT MAX(total_number) FROM table_14330096_4
Find the names of courses that have either 3 credits or 1 credit but 4 hours.
CREATE TABLE COURSE (CName VARCHAR, Credits VARCHAR, Hours VARCHAR)
SELECT CName FROM COURSE WHERE Credits = 3 UNION SELECT CName FROM COURSE WHERE Credits = 1 AND Hours = 4
Name the year for clay for boston and guillermo vilas
CREATE TABLE table_23235767_4 (year VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)
SELECT year FROM table_23235767_4 WHERE surface = "Clay" AND championship = "Boston" AND opponent_in_the_final = "Guillermo Vilas"
What is the Memory for a Number 32 with a Clock of 2.26ghz?
CREATE TABLE table_name_68 (memory VARCHAR, clock VARCHAR, number VARCHAR)
SELECT memory FROM table_name_68 WHERE clock = "2.26ghz" AND number = 32
In what year was Montenegro the host country?
CREATE TABLE table_26669939_1 (year VARCHAR, host_country VARCHAR)
SELECT year FROM table_26669939_1 WHERE host_country = "Montenegro"
Which Round has a Player of todd fedoruk?
CREATE TABLE table_name_28 (round INTEGER, player VARCHAR)
SELECT SUM(round) FROM table_name_28 WHERE player = "todd fedoruk"
What song had an index of m6?
CREATE TABLE table_name_68 (song VARCHAR, index VARCHAR)
SELECT song FROM table_name_68 WHERE index = "m6"
Where did the Jet's play with an attendance of 11,309?
CREATE TABLE table_name_98 (game_site VARCHAR, attendance VARCHAR)
SELECT game_site FROM table_name_98 WHERE attendance = "11,309"
What was the total number of average attendance for games of 1311?
CREATE TABLE table_name_11 (average_attendance INTEGER, games VARCHAR)
SELECT SUM(average_attendance) FROM table_name_11 WHERE games = 1311
What is Record, when Method is KO, and when Opponent is Rich Guerin?
CREATE TABLE table_name_99 (record VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_99 WHERE method = "ko" AND opponent = "rich guerin"
who is the player with high assists on january 22?
CREATE TABLE table_13619027_7 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_13619027_7 WHERE date = "January 22"
What is the largest amount of ends lost?
CREATE TABLE table_26912584_2 (Ends INTEGER)
SELECT MAX(Ends) AS lost FROM table_26912584_2
What is the minimum, average, and maximum distance of all aircrafts.
CREATE TABLE Aircraft (distance INTEGER)
SELECT MIN(distance), AVG(distance), MAX(distance) FROM Aircraft
What place is Spain in?
CREATE TABLE table_name_73 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_73 WHERE country = "spain"
What is the production code of the episode written by Jeff Filgo?
CREATE TABLE table_27988281_1 (production_code INTEGER, written_by VARCHAR)
SELECT MAX(production_code) FROM table_27988281_1 WHERE written_by = "Jeff Filgo"
What was the name of the quarterback drafted?
CREATE TABLE table_10360656_1 (player_name VARCHAR, position VARCHAR)
SELECT player_name FROM table_10360656_1 WHERE position = "Quarterback"
What is listed for the RECNet that also has a Frequency of 91.1 FM?
CREATE TABLE table_name_51 (recnet VARCHAR, frequency VARCHAR)
SELECT recnet FROM table_name_51 WHERE frequency = "91.1 fm"
What is the run 3 of the athlete with a run 1 more than 53.75 and a run 2 less than 52.91?
CREATE TABLE table_name_5 (run_3 INTEGER, run_1 VARCHAR, run_2 VARCHAR)
SELECT SUM(run_3) FROM table_name_5 WHERE run_1 > 53.75 AND run_2 < 52.91
If a team has a grid of over 8 with less than 4 points, what's the team name?
CREATE TABLE table_name_31 (team VARCHAR, grid VARCHAR, points VARCHAR)
SELECT team FROM table_name_31 WHERE grid > 8 AND points < 4
I want the manner of departure for 1 june 2007
CREATE TABLE table_name_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
SELECT manner_of_departure FROM table_name_2 WHERE date_of_appointment = "1 june 2007"
List all the document names which contains "CV".
CREATE TABLE documents (document_name VARCHAR)
SELECT document_name FROM documents WHERE document_name LIKE "%CV%"
Which church had a Split off/Continuation in 1836?
CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, date VARCHAR)
SELECT split_off___continuation_of FROM table_name_40 WHERE date = "1836"
Which allergy has most number of students affected?
CREATE TABLE Has_allergy (Allergy VARCHAR)
SELECT Allergy FROM Has_allergy GROUP BY Allergy ORDER BY COUNT(*) DESC LIMIT 1
On which date did Geelong play at home?
CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_74 WHERE home_team = "geelong"
How many pick # are there for the goaltender position?
CREATE TABLE table_22402438_7 (pick__number INTEGER, position VARCHAR)
SELECT MIN(pick__number) FROM table_22402438_7 WHERE position = "Goaltender"
What is the Prize, when the Winner is Aaron Gustavson?
CREATE TABLE table_name_90 (prize VARCHAR, winner VARCHAR)
SELECT prize FROM table_name_90 WHERE winner = "aaron gustavson"
Which power output had a Build date of 1951–1956?
CREATE TABLE table_name_23 (power_output VARCHAR, build_date VARCHAR)
SELECT power_output FROM table_name_23 WHERE build_date = "1951–1956"
What is the Dutch translation of the Latin word navigo?
CREATE TABLE table_name_3 (dutch VARCHAR, latin VARCHAR)
SELECT dutch FROM table_name_3 WHERE latin = "navigo"
Name the team ranked 4
CREATE TABLE table_242813_2 (team VARCHAR, overall_rank VARCHAR)
SELECT COUNT(team) FROM table_242813_2 WHERE overall_rank = 4
Who was Carlton's away team opponents?
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_16 WHERE home_team = "carlton"
Find the captain rank that has no captain in Third-rate ship of the line class.
CREATE TABLE captain (rank VARCHAR, CLASS VARCHAR)
SELECT rank FROM captain EXCEPT SELECT rank FROM captain WHERE CLASS = 'Third-rate ship of the line'
Name who wrote 5ajn11
CREATE TABLE table_23235679_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_23235679_1 WHERE production_code = "5AJN11"
Which Format is listed that has a Region of China?
CREATE TABLE table_name_93 (format VARCHAR, region VARCHAR)
SELECT format FROM table_name_93 WHERE region = "china"
What are the descriptions of the courses with name "database"?
CREATE TABLE COURSES (course_description VARCHAR, course_name VARCHAR)
SELECT course_description FROM COURSES WHERE course_name = "database"
What is the home team score when the home team is Essendon?
CREATE TABLE table_name_80 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_80 WHERE home_team = "essendon"
Who was the trainer with Robert Courtney was owner?
CREATE TABLE table_name_8 (trainer VARCHAR, owner VARCHAR)
SELECT trainer FROM table_name_8 WHERE owner = "robert courtney"
What venue did South Melbourne play as the away team?
CREATE TABLE table_name_61 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_61 WHERE away_team = "south melbourne"
What is the frequency of the radio station with a call sign of WGNR-FM?
CREATE TABLE table_name_19 (frequency VARCHAR, call_sign VARCHAR)
SELECT frequency FROM table_name_19 WHERE call_sign = "wgnr-fm"
What is the maximum series number what is smaller than season 7.0 and directed by Laura Innes?
CREATE TABLE table_17356106_1 (series__number INTEGER, directed_by VARCHAR, season__number VARCHAR)
SELECT MAX(series__number) FROM table_17356106_1 WHERE directed_by = "Laura Innes" AND season__number < 7.0
What is the highest pick for a year after 2010, and a round smaller than 1?
CREATE TABLE table_name_11 (pick INTEGER, year VARCHAR, round VARCHAR)
SELECT MAX(pick) FROM table_name_11 WHERE year > 2010 AND round < 1
What number episode had 5.74 million viewers?
CREATE TABLE table_12976038_1 (episode__number VARCHAR, viewers__in_millions_ VARCHAR)
SELECT episode__number FROM table_12976038_1 WHERE viewers__in_millions_ = "5.74"
Which GDP (nominal) has a Population of 5,550,239?
CREATE TABLE table_name_98 (gdp__nominal_ VARCHAR, population VARCHAR)
SELECT gdp__nominal_ FROM table_name_98 WHERE population = "5,550,239"
Which song directed by datta naik had the ending stranza written by Johnny Walker?
CREATE TABLE table_2528382_1 (additional_info VARCHAR, music_director VARCHAR)
SELECT additional_info FROM table_2528382_1 WHERE music_director = "Datta Naik"
With a club that has 400 Points against, what are the points?
CREATE TABLE table_name_50 (points_for VARCHAR, points_against VARCHAR)
SELECT points_for FROM table_name_50 WHERE points_against = "400"
What is the average year that has a car that won 0 stages with a position of DNF?
CREATE TABLE table_name_68 (year INTEGER, position VARCHAR, class VARCHAR, stages_won VARCHAR)
SELECT AVG(year) FROM table_name_68 WHERE class = "car" AND stages_won = "0" AND position = "dnf"
Who is safe if John and Nicole are eliminated?
CREATE TABLE table_12305325_4 (safe VARCHAR, eliminated VARCHAR)
SELECT safe FROM table_12305325_4 WHERE eliminated = "John and Nicole"
On what date was the catalog scyl-934,623 for Australia?
CREATE TABLE table_name_29 (date VARCHAR, catalog VARCHAR, region VARCHAR)
SELECT date FROM table_name_29 WHERE catalog = "scyl-934,623" AND region = "australia"
WHich Province of Silla has a Modern equivalent of south jeolla, and a Administrative district of seungju?
CREATE TABLE table_name_33 (province_of_silla VARCHAR, modern_equivalent VARCHAR, administrative_district VARCHAR)
SELECT province_of_silla FROM table_name_33 WHERE modern_equivalent = "south jeolla" AND administrative_district = "seungju"
What is the average number of laps for the driver Piero Taruffi?
CREATE TABLE table_name_50 (laps INTEGER, driver VARCHAR)
SELECT AVG(laps) FROM table_name_50 WHERE driver = "piero taruffi"
What country made the Flieger-Doppelpistole 1919?
CREATE TABLE table_29474407_11 (country_of_origin VARCHAR, name__designation VARCHAR)
SELECT country_of_origin FROM table_29474407_11 WHERE name__designation = "Flieger-Doppelpistole 1919"
What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11?
CREATE TABLE table_26362472_1 (left_office VARCHAR, election_number VARCHAR)
SELECT left_office FROM table_26362472_1 WHERE election_number = 11
What was their record on week 11?
CREATE TABLE table_name_15 (record VARCHAR, week VARCHAR)
SELECT record FROM table_name_15 WHERE week = 11
What was the regular season listing in 2007?
CREATE TABLE table_1243601_1 (regular_season VARCHAR, year VARCHAR)
SELECT regular_season FROM table_1243601_1 WHERE year = "2007"
Who was the manufacter of the car with a time/retired of +0.122?
CREATE TABLE table_name_79 (manufacturer VARCHAR, time_retired VARCHAR)
SELECT manufacturer FROM table_name_79 WHERE time_retired = "+0.122"
What date did Sigurd Rushfeldt score less than 2 points in the UEFA Euro 2004 qualifying competition?
CREATE TABLE table_name_24 (date VARCHAR, scored VARCHAR, competition VARCHAR)
SELECT date FROM table_name_24 WHERE scored < 2 AND competition = "uefa euro 2004 qualifying"
What is the manhattan for richmond 35%?
CREATE TABLE table_1108394_24 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
SELECT manhattan FROM table_1108394_24 WHERE richmond_[staten_is] = "35_percentage"
How many times has the Cornwall HC team, that has scored more than 18 goals, lost ?
CREATE TABLE table_name_12 (losses VARCHAR, team VARCHAR, goals_for VARCHAR)
SELECT COUNT(losses) FROM table_name_12 WHERE team = "cornwall hc" AND goals_for > 18
If the position is AM and the league is larger than 7.0, what is the total R number?
CREATE TABLE table (r VARCHAR, position VARCHAR, AM VARCHAR, league VARCHAR)
SELECT COUNT(r) FROM table WHERE position = AM AND league > 7.0
List all students' first names and last names who majored in 600.
CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, Major VARCHAR)
SELECT Fname, Lname FROM Student WHERE Major = 600
Name the number of players for louisiana state
CREATE TABLE table_15621965_14 (player VARCHAR, school_club_team VARCHAR)
SELECT COUNT(player) FROM table_15621965_14 WHERE school_club_team = "Louisiana State"
What is the least number of Gold for a Rank smaller than 5, and 1 silver medal for Poland with more than 1 medal in total?
CREATE TABLE table_name_31 (gold INTEGER, total VARCHAR, nation VARCHAR, rank VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_31 WHERE rank < 5 AND silver = 1 AND nation = "poland" AND total > 1
What is the most common participant type?
CREATE TABLE participants (participant_type_code VARCHAR)
SELECT participant_type_code FROM participants GROUP BY participant_type_code ORDER BY COUNT(*) DESC LIMIT 1
What is average to par when Bud Holscher is the player?
CREATE TABLE table_name_38 (to_par INTEGER, player VARCHAR)
SELECT AVG(to_par) FROM table_name_38 WHERE player = "bud holscher"
What is Relax-Gam's average UCI Rating?
CREATE TABLE table_name_88 (uci_rating INTEGER, team VARCHAR)
SELECT AVG(uci_rating) FROM table_name_88 WHERE team = "relax-gam"
In what barony are both the townland Dawstown and the civil parish Matehy located?
CREATE TABLE table_30120566_1 (barony VARCHAR, townland VARCHAR, civil_parish VARCHAR)
SELECT barony FROM table_30120566_1 WHERE townland = "Dawstown" AND civil_parish = "Matehy"
Name the entrant for bruno sterzi
CREATE TABLE table_28578594_1 (entrant VARCHAR, driver VARCHAR)
SELECT entrant FROM table_28578594_1 WHERE driver = "Bruno Sterzi"
How many seats were won, when the seats contested was 48?
CREATE TABLE table_20728138_1 (seats_won VARCHAR, seats_contested VARCHAR)
SELECT seats_won FROM table_20728138_1 WHERE seats_contested = 48
What is the round where winners from the previous round totals 8?
CREATE TABLE table_18328569_1 (round VARCHAR, winners_from_previous_round VARCHAR)
SELECT round FROM table_18328569_1 WHERE winners_from_previous_round = "8"
What is the Australian letter with a British of ɪ and a letter of æ /i/??
CREATE TABLE table_name_67 (australian VARCHAR, british VARCHAR, letter VARCHAR)
SELECT australian FROM table_name_67 WHERE british = "ɪ" AND letter = "æ /i/"
What is the title for episode number in series of 28?
CREATE TABLE table_2156758_4 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_2156758_4 WHERE no_in_series = "28"
For the Loss of Plesac (1-5), what is the Record?
CREATE TABLE table_name_63 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_63 WHERE loss = "plesac (1-5)"
what is the title of episode 28
CREATE TABLE table_16390576_3 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_16390576_3 WHERE no_in_series = 28
What City of license has a Frequency MHz smaller than 95.9 with w223au as the call sign?
CREATE TABLE table_name_43 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_43 WHERE frequency_mhz < 95.9 AND call_sign = "w223au"
How was Sammy Lee's team doing on the table before being replaced?
CREATE TABLE table_name_49 (position_in_table VARCHAR, outgoing_manager VARCHAR)
SELECT position_in_table FROM table_name_49 WHERE outgoing_manager = "sammy lee"
What is the attendance when the st kilda score is 13.10.88?
CREATE TABLE table_28211103_1 (attendance VARCHAR, st_kilda_score VARCHAR)
SELECT attendance FROM table_28211103_1 WHERE st_kilda_score = "13.10.88"
What is the aspect ratio for the September 1, 2009 release?
CREATE TABLE table_name_56 (aspect_ratio VARCHAR, release_date VARCHAR)
SELECT aspect_ratio FROM table_name_56 WHERE release_date = "september 1, 2009"
Was the third place winner Yannick Noah?
CREATE TABLE table_name_87 (winner VARCHAR, third_place VARCHAR)
SELECT winner FROM table_name_87 WHERE third_place = "yannick noah"
How many stamps were designed for the theme of XII Summit de la Francophonie?
CREATE TABLE table_11900773_6 (design VARCHAR, theme VARCHAR)
SELECT COUNT(design) FROM table_11900773_6 WHERE theme = "XII Summit de la Francophonie"
Who were the opponents of the final on June 23, 2003?
CREATE TABLE table_name_4 (opponents_in_the_final VARCHAR, date VARCHAR)
SELECT opponents_in_the_final FROM table_name_4 WHERE date = "june 23, 2003"
Which Tournament has a 1984 of 1r?
CREATE TABLE table_name_26 (tournament VARCHAR)
SELECT tournament FROM table_name_26 WHERE 1984 = "1r"
Who directs before 1949 with linda darnell leading and jonathan kent?
CREATE TABLE table_name_60 (director VARCHAR, role VARCHAR, year VARCHAR, leading_lady VARCHAR)
SELECT director FROM table_name_60 WHERE year < 1949 AND leading_lady = "linda darnell" AND role = "jonathan kent"
When rangitikei is the electorate who is the winner?
CREATE TABLE table_28898948_3 (winner VARCHAR, electorate VARCHAR)
SELECT winner FROM table_28898948_3 WHERE electorate = "Rangitikei"
What is the pos with weight less than 205?
CREATE TABLE table_name_37 (pos VARCHAR, weight INTEGER)
SELECT pos FROM table_name_37 WHERE weight < 205