answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT date FROM table_name_34 WHERE result = "l 30-27" | What date was the game that resulted in L 30-27? | CREATE TABLE table_name_34 (date VARCHAR, result VARCHAR) |
SELECT opponent FROM table_name_37 WHERE home_away = "home" AND result = "w 16-15" | Name the opponent when the result is w 16-15 and has home/away of home | CREATE TABLE table_name_37 (opponent VARCHAR, home_away VARCHAR, result VARCHAR) |
SELECT s_acre FROM table_28802165_1 WHERE townland = "Maddenstown Middle" | How many acres is the townland of Maddenstown Middle? | CREATE TABLE table_28802165_1 (s_acre VARCHAR, townland VARCHAR) |
SELECT artist FROM table_name_52 WHERE draw = 1 | What artist had 1 draw? | CREATE TABLE table_name_52 (artist VARCHAR, draw VARCHAR) |
SELECT player FROM table_name_80 WHERE school_country = "gonzaga" | Which player went to Gonzaga? | CREATE TABLE table_name_80 (player VARCHAR, school_country VARCHAR) |
SELECT Investor FROM entrepreneur WHERE Money_Requested > 140000 INTERSECT SELECT Investor FROM entrepreneur WHERE Money_Requested < 120000 | Show the investors shared by entrepreneurs that requested more than 140000 and entrepreneurs that requested less than 120000. | CREATE TABLE entrepreneur (Investor VARCHAR, Money_Requested INTEGER) |
SELECT season FROM table_2771237_1 WHERE average_attendance = 16043 | What season was the average attendance is 16043? | CREATE TABLE table_2771237_1 (season VARCHAR, average_attendance VARCHAR) |
SELECT SUM(built) FROM table_name_54 WHERE class = "dnv" AND type = "panamax" AND vessel_name = "deva" | Which year was the vessel Deva built as a Panamax DNV class ship? | CREATE TABLE table_name_54 (built INTEGER, vessel_name VARCHAR, class VARCHAR, type VARCHAR) |
SELECT MIN(lane) FROM table_name_64 WHERE rank = 6 | What is the smallest lane for rank 6? | CREATE TABLE table_name_64 (lane INTEGER, rank VARCHAR) |
SELECT suburb_town FROM table_name_11 WHERE years = "k-6" AND founded < 1875 AND school = "ashfield public school" | What suburb/town has school years of k-6, was founded before 1875, and has Ashfield Public School as its school? | CREATE TABLE table_name_11 (suburb_town VARCHAR, school VARCHAR, years VARCHAR, founded VARCHAR) |
SELECT country FROM table_name_29 WHERE rank > 5 | What country is ranked higher than 5? | CREATE TABLE table_name_29 (country VARCHAR, rank INTEGER) |
SELECT visitor FROM table_name_29 WHERE home = "buffalo" | Who is the visitor team of the game where Buffalo was the home team? | CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR) |
SELECT MAX(week) FROM table_name_92 WHERE result = "w 23-20" AND attendance < 34 OFFSET 127 | Which Week is the highest one that has a Result of w 23-20, and an Attendance smaller than 34,127? | CREATE TABLE table_name_92 (week INTEGER, result VARCHAR, attendance VARCHAR) |
SELECT place FROM table_name_18 WHERE country = "new zealand" | What is the Place of the Player from New Zealand? | CREATE TABLE table_name_18 (place VARCHAR, country VARCHAR) |
SELECT team FROM table_name_67 WHERE season = "2000-01" | What team has 2000-01 as the season? | CREATE TABLE table_name_67 (team VARCHAR, season VARCHAR) |
SELECT competition FROM table_name_14 WHERE date = "16 january 1996" | what is the competition when the date is 16 january 1996? | CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR) |
SELECT COUNT(nationality) FROM table_2679061_11 WHERE nhl_team = "Philadelphia Flyers" | How many players were drafted by the Philadelphia Flyers? | CREATE TABLE table_2679061_11 (nationality VARCHAR, nhl_team VARCHAR) |
SELECT year__ceremony_ FROM table_20061872_1 WHERE original_title = "Här har du ditt liv" | When was the film Här har du ditt liv used in nomination? | CREATE TABLE table_20061872_1 (year__ceremony_ VARCHAR, original_title VARCHAR) |
SELECT film_title_used_in_nomination FROM table_19625976_1 WHERE persian_title = "گبه" | For the Persian title گبه, What was the film title used for the nomination? | CREATE TABLE table_19625976_1 (film_title_used_in_nomination VARCHAR, persian_title VARCHAR) |
SELECT date FROM table_name_2 WHERE game = "game 3" | On what date was Game 3? | CREATE TABLE table_name_2 (date VARCHAR, game VARCHAR) |
SELECT COUNT(title) FROM table_10718631_2 WHERE no_in_series = 113 | How many titles were there for the 113 episode? | CREATE TABLE table_10718631_2 (title VARCHAR, no_in_series VARCHAR) |
SELECT tv_time FROM table_name_24 WHERE date = "december 6, 1998" | What was the tv time on december 6, 1998? | CREATE TABLE table_name_24 (tv_time VARCHAR, date VARCHAR) |
SELECT torque FROM table_name_73 WHERE engine_code = "m54b25" | What is the Torque of the model with the engine code of M54B25? | CREATE TABLE table_name_73 (torque VARCHAR, engine_code VARCHAR) |
SELECT record FROM table_name_61 WHERE loss = "cook (14–7)" | What was the record at the game with a loss of Cook (14–7)? | CREATE TABLE table_name_61 (record VARCHAR, loss VARCHAR) |
SELECT away_team FROM table_name_96 WHERE home_team = "fitzroy" | What was the away team that played Fitzroy? | CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR) |
SELECT tonnage FROM table_name_69 WHERE date = 1914 | What is the listed Tonnage for the Date of 1914? | CREATE TABLE table_name_69 (tonnage VARCHAR, date VARCHAR) |
SELECT MAX(others_number) FROM table_1756284_1 | What was the highest vote for others? | CREATE TABLE table_1756284_1 (others_number INTEGER) |
SELECT region FROM table_name_6 WHERE date = "february 14, 2002" | Name the region for february 14, 2002 | CREATE TABLE table_name_6 (region VARCHAR, date VARCHAR) |
SELECT date FROM table_name_34 WHERE winning_constructor = "fiat" AND winning_driver = "louis wagner" | Which Date has a Winning constructor of fiat and a Winning driver of louis wagner? | CREATE TABLE table_name_34 (date VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR) |
SELECT moving_to FROM table_name_78 WHERE nat = "tri" | Who is moving with the nationality of Tri? | CREATE TABLE table_name_78 (moving_to VARCHAR, nat VARCHAR) |
SELECT team FROM table_name_40 WHERE score = "89-123" | Which Team has a Score of 89-123? | CREATE TABLE table_name_40 (team VARCHAR, score VARCHAR) |
SELECT result FROM table_name_85 WHERE opponent = "minnesota vikings" | Which Result has an Opponent of minnesota vikings? | CREATE TABLE table_name_85 (result VARCHAR, opponent VARCHAR) |
SELECT frequency FROM table_24096813_15 WHERE part_number_s_ = "TT80503300" | What's the frequency of the model with part number TT80503300? | CREATE TABLE table_24096813_15 (frequency VARCHAR, part_number_s_ VARCHAR) |
SELECT cb_cw FROM table_name_89 WHERE year = 1982 | What was the CB CW for the year of 1982? | CREATE TABLE table_name_89 (cb_cw VARCHAR, year VARCHAR) |
SELECT rank FROM table_name_1 WHERE first_quarter = "industrial and commercial bank of china 277,236" | What is the Rank of industrial and commercial bank of china 277,236? | CREATE TABLE table_name_1 (rank VARCHAR, first_quarter VARCHAR) |
SELECT school FROM table_name_41 WHERE round = "24" | Which school's round was 24? | CREATE TABLE table_name_41 (school VARCHAR, round VARCHAR) |
SELECT narrator FROM table_1681535_1 WHERE notes = "Bonus interview with Frazer Hines" | Which narrator has the bonus interview with Frazer Hines? | CREATE TABLE table_1681535_1 (narrator VARCHAR, notes VARCHAR) |
SELECT record FROM table_27700530_10 WHERE high_points = "Jameer Nelson (19)" | What is the record when jameer nelson (19) had the high points? | CREATE TABLE table_27700530_10 (record VARCHAR, high_points VARCHAR) |
SELECT delegate FROM table_27050732_7 WHERE district = "41" | Who represents district 41? | CREATE TABLE table_27050732_7 (delegate VARCHAR, district VARCHAR) |
SELECT MIN(official_itv1_rating) FROM table_name_32 WHERE share = "45.4%" | What is the lowest official ITV1 rating with 45.4% share? | CREATE TABLE table_name_32 (official_itv1_rating INTEGER, share VARCHAR) |
SELECT complaint_status_code FROM complaints GROUP BY complaint_status_code HAVING COUNT(*) > 3 | Which complaint status has more than 3 records on file? | CREATE TABLE complaints (complaint_status_code VARCHAR) |
SELECT MAX(attendance) FROM table_name_30 WHERE week < 1 | what is the highest attendance when the week is smaller than 1? | CREATE TABLE table_name_30 (attendance INTEGER, week INTEGER) |
SELECT psip_short_name FROM table_name_55 WHERE channel > 63.4 | What is the short name for a channelgreater than 63.4? | CREATE TABLE table_name_55 (psip_short_name VARCHAR, channel INTEGER) |
SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE registration_of_a_minor_child = 114 | what's the naturalisation by marriage with regbeingtration of a minor child being 114 | CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, registration_of_a_minor_child VARCHAR) |
SELECT founded FROM table_11604804_5 WHERE color = "Navy Blue" | What was the founding of navy blue? | CREATE TABLE table_11604804_5 (founded VARCHAR, color VARCHAR) |
SELECT SUM(points) FROM table_name_33 WHERE year = 1975 AND wins < 0 | What is the sum of all points in 1975 with 0 wins? | CREATE TABLE table_name_33 (points INTEGER, year VARCHAR, wins VARCHAR) |
SELECT MIN(average_cards_a_game) FROM table_name_22 WHERE season = "2004/2005" AND red_cards > 3 | Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3? | CREATE TABLE table_name_22 (average_cards_a_game INTEGER, season VARCHAR, red_cards VARCHAR) |
SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin" | In Round 10, what was the Overall for Ed Tomlin? | CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR) |
SELECT opponent FROM table_25380472_2 WHERE week = 7 | On week 7, what were the opponents? | CREATE TABLE table_25380472_2 (opponent VARCHAR, week VARCHAR) |
SELECT name FROM table_name_89 WHERE bodyweight > 89.64 AND total__kg_ > 310 AND clean_ & _jerk < 207.5 AND snatch > 165 | Which name had a bodyweight bigger than 89.64, a total (kg) bigger than 310, a clean and jerk less than 207.5, and a snatch that is bigger than 165? | CREATE TABLE table_name_89 (name VARCHAR, snatch VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR) |
SELECT MIN(year) FROM table_name_17 WHERE notes = "dnf" | Which Year that has Notes of dnf? | CREATE TABLE table_name_17 (year INTEGER, notes VARCHAR) |
SELECT county FROM table_20573232_1 WHERE others_number = 5 | What county has others at 5? | CREATE TABLE table_20573232_1 (county VARCHAR, others_number VARCHAR) |
SELECT title FROM table_name_72 WHERE songwriter_s_ = "hadise açıkgöz, stefaan fernande, elio deepcore" | Which Title has a Songwriter(s) of hadise açıkgöz, stefaan fernande, elio deepcore? | CREATE TABLE table_name_72 (title VARCHAR, songwriter_s_ VARCHAR) |
SELECT vivek_express__15905_15906 FROM table_26745820_5 WHERE kanyakumari = "Bhavnagar" | What is the name of the only route that runs to bhavnagar? | CREATE TABLE table_26745820_5 (vivek_express__15905_15906 VARCHAR, kanyakumari VARCHAR) |
SELECT verb FROM table_name_43 WHERE proto_polynesian = "*mohe" | What is the verb for the Proto-Polynesian word *mohe? | CREATE TABLE table_name_43 (verb VARCHAR, proto_polynesian VARCHAR) |
SELECT general_classification FROM table_name_51 WHERE winner = "guido bontempi" AND stage = "6" | What is guido bontempi's general classification when he has a stage of 6? | CREATE TABLE table_name_51 (general_classification VARCHAR, winner VARCHAR, stage VARCHAR) |
SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium" | Before 1957, what was the largest in Attendance at Varsity Stadium? | CREATE TABLE table_name_82 (attendance INTEGER, season VARCHAR, venue VARCHAR) |
SELECT class AS pos FROM table_name_79 WHERE laps < 304 AND year > 2001 | Which Class Pos have Laps smaller than 304, and a Year after 2001? | CREATE TABLE table_name_79 (class VARCHAR, laps VARCHAR, year VARCHAR) |
SELECT city FROM table_name_49 WHERE year < 1907 AND venue = "old trafford" AND opposition = "sussex" | Which city held the game in Old Trafford before 1907 when the Opposition was sussex? | CREATE TABLE table_name_49 (city VARCHAR, opposition VARCHAR, year VARCHAR, venue VARCHAR) |
SELECT date FROM table_name_41 WHERE tie_no = "2" | On which date was the Tie no 2? | CREATE TABLE table_name_41 (date VARCHAR, tie_no VARCHAR) |
SELECT result FROM table_1342013_12 WHERE incumbent = "Fred E. Busbey" | What was the result when incumbent Fred E. Busbey was elected? | CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR) |
SELECT opponent FROM table_name_54 WHERE result = "win" AND type = "w pts 12" | Who did Tony Oakey win against when he had type of w pts 12? | CREATE TABLE table_name_54 (opponent VARCHAR, result VARCHAR, type VARCHAR) |
SELECT wade_giles FROM table_name_44 WHERE pinyin = "xīn rú yuánhóu" | What is the Wade-Giles translation of the Pinyin xīn rú yuánhóu? | CREATE TABLE table_name_44 (wade_giles VARCHAR, pinyin VARCHAR) |
SELECT gold FROM table_name_7 WHERE total > 12 AND nation = "canada" | How many golds for Canada (12 total)? | CREATE TABLE table_name_7 (gold VARCHAR, total VARCHAR, nation VARCHAR) |
SELECT party FROM table_1341522_41 WHERE incumbent = "Ron Klink" | What party does ron klink represent? | CREATE TABLE table_1341522_41 (party VARCHAR, incumbent VARCHAR) |
SELECT AVG(Price), AVG(Cases) FROM WINE WHERE YEAR = 2009 AND Grape = "Zinfandel" | What are the average prices and cases of wines produced in the year of 2009 and made of Zinfandel grape? | CREATE TABLE WINE (Price INTEGER, Cases INTEGER, YEAR VARCHAR, Grape VARCHAR) |
SELECT college FROM table_name_31 WHERE overall = 9 | Which college had an overall pick of 9? | CREATE TABLE table_name_31 (college VARCHAR, overall VARCHAR) |
SELECT home_team AS score FROM table_name_73 WHERE away_team = "south melbourne" | What was the home teams score while playing the away team of south melbourne? | CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR) |
SELECT AVG(week) FROM table_name_37 WHERE date = "november 10, 1963" | During what week was the match on November 10, 1963? | CREATE TABLE table_name_37 (week INTEGER, date VARCHAR) |
SELECT result FROM table_26842217_4 WHERE site = "Bryant-Denny Stadium • Tuscaloosa, AL" | What were the results in the bryant-denny stadium • tuscaloosa, al? | CREATE TABLE table_26842217_4 (result VARCHAR, site VARCHAR) |
SELECT outcome FROM table_name_7 WHERE score = "4–6, 6–4, 6–3, 7–6 (7–2)" | What is the outcome of the 4–6, 6–4, 6–3, 7–6 (7–2) score? | CREATE TABLE table_name_7 (outcome VARCHAR, score VARCHAR) |
SELECT method FROM table_name_41 WHERE time = "0:38" | How did he win with a time of 0:38? | CREATE TABLE table_name_41 (method VARCHAR, time VARCHAR) |
SELECT income_class FROM table_1691800_2 WHERE area__km²_ = 75 | what is the income class for area 75? | CREATE TABLE table_1691800_2 (income_class VARCHAR, area__km²_ VARCHAR) |
SELECT replaced_by FROM table_29414946_3 WHERE team = "Santos" | Who was the new Santos manager? | CREATE TABLE table_29414946_3 (replaced_by VARCHAR, team VARCHAR) |
SELECT singapore_gross FROM table_name_64 WHERE director = "1998" | For the film with director listed as 1998, what was the gross in Singapore? | CREATE TABLE table_name_64 (singapore_gross VARCHAR, director VARCHAR) |
SELECT metacritic FROM table_name_76 WHERE year_released > 2005 AND platform = "playstation 3" AND gamerankings = "84.44%" | What is the Metacritic released after 2005, with a Platform of playstation 3 and a GameRankings of 84.44%? | CREATE TABLE table_name_76 (metacritic VARCHAR, gamerankings VARCHAR, year_released VARCHAR, platform VARCHAR) |
SELECT builder FROM table_22481967_1 WHERE date = "1930" | List the builder from 1930. | CREATE TABLE table_22481967_1 (builder VARCHAR, date VARCHAR) |
SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_name = "okkar á milli: í hita og þunga dagsins" | Name the film title for okkar á milli: í hita og þunga dagsins | CREATE TABLE table_name_98 (film_title_used_in_nomination VARCHAR, original_name VARCHAR) |
SELECT opponent_number FROM table_name_28 WHERE attendance = "87,453" | Who was the opponent when the attendance was 87,453? | CREATE TABLE table_name_28 (opponent_number VARCHAR, attendance VARCHAR) |
SELECT result FROM table_name_95 WHERE week = 15 | What was the result of the game that was played on week 15? | CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR) |
SELECT COUNT(year) FROM table_22834834_3 WHERE score_in_the_final = "6–3, 6–2" | How many years have a final score of 6–3, 6–2? | CREATE TABLE table_22834834_3 (year VARCHAR, score_in_the_final VARCHAR) |
SELECT location FROM table_name_68 WHERE type = "surveying" | What location has surveying as the type? | CREATE TABLE table_name_68 (location VARCHAR, type VARCHAR) |
SELECT year FROM table_name_26 WHERE movie_title = "jamboree" | What year was Jamboree made? | CREATE TABLE table_name_26 (year VARCHAR, movie_title VARCHAR) |
SELECT location_attendance FROM table_17322817_10 WHERE date = "April 13" | Name the location attendance for april 13 | CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR) |
SELECT format FROM table_name_93 WHERE region = "china" | Which Format is listed that has a Region of China? | CREATE TABLE table_name_93 (format VARCHAR, region VARCHAR) |
SELECT SUM(goal) FROM table_name_13 WHERE date = "november 22, 1994" | How many goals were scored on November 22, 1994? | CREATE TABLE table_name_13 (goal INTEGER, date VARCHAR) |
SELECT MAX(year) FROM table_name_93 WHERE game = "portal" | What year was Portal? | CREATE TABLE table_name_93 (year INTEGER, game VARCHAR) |
SELECT college_junior_club_team FROM table_name_43 WHERE nhl_team = "new york rangers" AND position = "defence" | What is the college/junior/club team of the defence player drafted by the New York Rangers? | CREATE TABLE table_name_43 (college_junior_club_team VARCHAR, nhl_team VARCHAR, position VARCHAR) |
SELECT dixon FROM table_1014319_1 WHERE dance_song = "Samba / Young Hearts Run Free" AND result = "Second place" | What score did Dixon give to the song "samba / young hearts run free", which was in second place? | CREATE TABLE table_1014319_1 (dixon VARCHAR, dance_song VARCHAR, result VARCHAR) |
SELECT COUNT(yards) FROM table_1037590_1 WHERE attempts = 348 | How many years were there with 348 attempts? | CREATE TABLE table_1037590_1 (yards VARCHAR, attempts VARCHAR) |
SELECT MAX(overall) FROM table_name_64 WHERE round = 11 AND pick__number > 14 | Round of 11, and a Pick # larger than 14 is the highest overall pick? | CREATE TABLE table_name_64 (overall INTEGER, round VARCHAR, pick__number VARCHAR) |
SELECT away_team FROM table_name_9 WHERE home_team = "blackpool" | What was the Away Team of Blackpool's Home game? | CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR) |
SELECT TYPE FROM school GROUP BY TYPE HAVING COUNT(*) = 2 | Show the types of schools that have two schools. | CREATE TABLE school (TYPE VARCHAR) |
SELECT MIN(decile) FROM table_name_40 WHERE roll < 3 | What is the lowest Decile for a school with a roll smaller than 3? | CREATE TABLE table_name_40 (decile INTEGER, roll INTEGER) |
SELECT nhl_team FROM table_2886617_8 WHERE player = "Sergei Luchinkin" | What NHL team picked Sergei Luchinkin? | CREATE TABLE table_2886617_8 (nhl_team VARCHAR, player VARCHAR) |
SELECT district FROM table_name_93 WHERE college_name = "thanjavur medical college" | What is the district where the thanjavur medical college is located? | CREATE TABLE table_name_93 (district VARCHAR, college_name VARCHAR) |
SELECT SUM(diameter__km_) FROM table_name_25 WHERE latitude = "62.7n" | COunt the sum of Diameter (km) which has a Latitude of 62.7n? | CREATE TABLE table_name_25 (diameter__km_ INTEGER, latitude VARCHAR) |
SELECT caps FROM table_name_20 WHERE scotland_career = "1920–1923" | Which caps was in scotland in 1920–1923? | CREATE TABLE table_name_20 (caps VARCHAR, scotland_career VARCHAR) |
SELECT district FROM table_2417390_4 WHERE date_successor_seated = "March 28, 1878" | What district was the successor seated in March 28, 1878? | CREATE TABLE table_2417390_4 (district VARCHAR, date_successor_seated VARCHAR) |
SELECT 2009 FROM table_name_25 WHERE 2008 = "a" AND 2011 = "a" AND tournament = "paris masters" | What is 2009, when 2008 is "A", when 2011 is "A", and when Tournament is "Paris Masters"? | CREATE TABLE table_name_25 (tournament VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.