question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which city of license has a wriq Call sign?
CREATE TABLE table_name_34 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_34 WHERE call_sign = "wriq"
Which class has a peak named fountains fell south top?
CREATE TABLE table_name_31 (class VARCHAR, peak VARCHAR)
SELECT class FROM table_name_31 WHERE peak = "fountains fell south top"
What country won gold in the year(s) that Chinese Taipei won bronze?
CREATE TABLE table_name_50 (gold VARCHAR, bronze VARCHAR)
SELECT gold FROM table_name_50 WHERE bronze = "chinese taipei"
What is the largest Area (msr) that has an Area less than 291.045, is part of the Per family, and has a rank higher than 78?
CREATE TABLE table_name_70 (area__msr_ INTEGER, rank VARCHAR, area__sqdeg_ VARCHAR, family VARCHAR)
SELECT MAX(area__msr_) FROM table_name_70 WHERE area__sqdeg_ < 291.045 AND family = "per" AND rank > 78
Which artist's work is the butterfly Tiger Swallowtail?
CREATE TABLE table_name_16 (artist VARCHAR, butterfly VARCHAR)
SELECT artist FROM table_name_16 WHERE butterfly = "tiger swallowtail"
What is the smallest finish time for a race where start was less than 3, buick was the manufacturer, and the race was held after 1978?
CREATE TABLE table_name_45 (finish INTEGER, start VARCHAR, year VARCHAR, manufacturer VARCHAR)
SELECT MIN(finish) FROM table_name_45 WHERE year > 1978 AND manufacturer = "buick" AND start < 3
Name the total number of race time for kevin harvick
CREATE TABLE table_2241259_1 (race_time VARCHAR, driver VARCHAR)
SELECT COUNT(race_time) FROM table_2241259_1 WHERE driver = "Kevin Harvick"
Who were the opponents in the final where the score in the final is 6–4, 7–6 2?
CREATE TABLE table_22597626_17 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT opponents_in_the_final FROM table_22597626_17 WHERE score_in_the_final = "6–4, 7–6 2"
Name the past habitual for गर्छ garcha 'he does'
CREATE TABLE table_16337329_5 (past_habitual VARCHAR, probable_future VARCHAR)
SELECT past_habitual FROM table_16337329_5 WHERE probable_future = "गर्छ garcha 'he does'"
What is Tommy Nobis' position that has fewer than 16 picks?
CREATE TABLE table_name_80 (position VARCHAR, pick__number VARCHAR, name VARCHAR)
SELECT position FROM table_name_80 WHERE pick__number < 16 AND name = "tommy nobis"
What date was Apes of Wrath written by Friz Freleng, production number higher than 1496 from series mm released?
CREATE TABLE table_name_37 (release_date VARCHAR, title VARCHAR, series VARCHAR, director VARCHAR, production_number VARCHAR)
SELECT release_date FROM table_name_37 WHERE director = "friz freleng" AND production_number > 1496 AND series = "mm" AND title = "apes of wrath"
In what position did skipper Mark Richards place?
CREATE TABLE table_25561560_2 (position VARCHAR, skipper VARCHAR)
SELECT position FROM table_25561560_2 WHERE skipper = "Mark Richards"
What general classification has david de la fuente as mountains classification, and thor hushovd as points classification?
CREATE TABLE table_name_45 (general_classification VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)
SELECT general_classification FROM table_name_45 WHERE mountains_classification = "david de la fuente" AND points_classification = "thor hushovd"
Which archbishop was ordained as bishop November 30, 1925?
CREATE TABLE table_1656555_1 (archbishop VARCHAR, ordained_bishop VARCHAR)
SELECT archbishop FROM table_1656555_1 WHERE ordained_bishop = "November 30, 1925"
Which Format has a Catalog of vcrdx 106?
CREATE TABLE table_name_72 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_72 WHERE catalog = "vcrdx 106"
Who had the highest points on March 27?
CREATE TABLE table_name_61 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_61 WHERE date = "march 27"
What Engine had a chassis of March 85c?
CREATE TABLE table_name_72 (engine VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_72 WHERE chassis = "march 85c"
At what venue was there a competition with a score reported as 7.14 (56) - 4.5 (29)?
CREATE TABLE table_name_89 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_89 WHERE score = "7.14 (56) - 4.5 (29)"
In what venue is Essendon the home team?
CREATE TABLE table_name_92 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_92 WHERE home_team = "essendon"
Where did the player who won in 1965 finish?
CREATE TABLE table_name_92 (finish VARCHAR, year_s__won VARCHAR)
SELECT finish FROM table_name_92 WHERE year_s__won = "1965"
What was the status of the election featuring incumbent margaret kaiser?
CREATE TABLE table_26416704_2 (status VARCHAR, incumbent VARCHAR)
SELECT status FROM table_26416704_2 WHERE incumbent = "Margaret Kaiser"
Name the opponent in the final for year of 1888
CREATE TABLE table_name_36 (opponent_in_the_final VARCHAR, year VARCHAR)
SELECT opponent_in_the_final FROM table_name_36 WHERE year = 1888
What is the highest game number where the team was Cleveland?
CREATE TABLE table_22883210_9 (game INTEGER, team VARCHAR)
SELECT MAX(game) FROM table_22883210_9 WHERE team = "Cleveland"
Report all advisors that advise more than 2 students.
CREATE TABLE STUDENT (Advisor VARCHAR)
SELECT Advisor FROM STUDENT GROUP BY Advisor HAVING COUNT(*) > 2
What is the margin of victory that has masters gc ladies as the tournament?
CREATE TABLE table_name_45 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_45 WHERE tournament = "masters gc ladies"
What is the total of medium earth orbital regime, accidentally achieved and successes greater than 3?
CREATE TABLE table_name_19 (accidentally_achieved INTEGER, orbital_regime VARCHAR, successes VARCHAR)
SELECT SUM(accidentally_achieved) FROM table_name_19 WHERE orbital_regime = "medium earth" AND successes > 3
What is the sum of Rank when Pat Onstad was the goalkeeper?
CREATE TABLE table_name_30 (rank INTEGER, goalkeeper VARCHAR)
SELECT SUM(rank) FROM table_name_30 WHERE goalkeeper = "pat onstad"
Who won on September 6?
CREATE TABLE table_name_2 (winner VARCHAR, date VARCHAR)
SELECT winner FROM table_name_2 WHERE date = "september 6"
What is the Area of the Parish with a Population of 71?
CREATE TABLE table_name_71 (area_km_2 VARCHAR, population VARCHAR)
SELECT area_km_2 FROM table_name_71 WHERE population = 71
What is the FCC info for the city of Tribune, Kansas?
CREATE TABLE table_name_74 (fcc_info VARCHAR, city_of_license VARCHAR)
SELECT fcc_info FROM table_name_74 WHERE city_of_license = "tribune, kansas"
What Chassis does Reg Parnell drive?
CREATE TABLE table_name_51 (chassis VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_51 WHERE driver = "reg parnell"
Who is the player for the School/Club team in Georgia?
CREATE TABLE table_name_73 (player VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_73 WHERE school_club_team = "georgia"
What is the smallest grid for Bob Anderson?
CREATE TABLE table_name_89 (grid INTEGER, driver VARCHAR)
SELECT MIN(grid) FROM table_name_89 WHERE driver = "bob anderson"
What is the Opponent that has a Rank of 4?
CREATE TABLE table_name_94 (opponent VARCHAR, rank VARCHAR)
SELECT opponent FROM table_name_94 WHERE rank = "4"
When did the away team carlton play?
CREATE TABLE table_name_88 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_88 WHERE away_team = "carlton"
What commune has an area of 12.4 sq.km.?
CREATE TABLE table_1828368_1 (commune VARCHAR, area__km_2__ VARCHAR)
SELECT commune FROM table_1828368_1 WHERE area__km_2__ = "12.4"
How many ships are named Monge?
CREATE TABLE table_name_10 (ordered VARCHAR, name VARCHAR)
SELECT COUNT(ordered) FROM table_name_10 WHERE name = "monge"
Name the competition for score of 3-0
CREATE TABLE table_name_42 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_42 WHERE score = "3-0"
Which Census Ranking has a Population smaller than 879, and an Area km 2 larger than 537.62?
CREATE TABLE table_name_36 (census_ranking VARCHAR, population VARCHAR, area_km_2 VARCHAR)
SELECT census_ranking FROM table_name_36 WHERE population < 879 AND area_km_2 > 537.62
In which host city was Margaret Thatcher the President-in-Office in 1981?
CREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR)
SELECT host_city FROM table_name_85 WHERE president_in_office = "margaret thatcher" AND year = 1981
Who made the decision in the game played on December 26?
CREATE TABLE table_27537518_6 (decision VARCHAR, date VARCHAR)
SELECT decision FROM table_27537518_6 WHERE date = "December 26"
What is the ranktotal number if the Hashan Tillakaratne?
CREATE TABLE table_26041144_16 (rank VARCHAR, player VARCHAR)
SELECT COUNT(rank) FROM table_26041144_16 WHERE player = "Hashan Tillakaratne"
What is the result when the score is 0-2?
CREATE TABLE table_name_20 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_20 WHERE score = "0-2"
What is the arrangement for bets3ab 3alia nafsy?
CREATE TABLE table_28005100_1 (arrangement VARCHAR, title VARCHAR)
SELECT arrangement FROM table_28005100_1 WHERE title = "Bets3ab 3alia Nafsy"
which company released audiobooks authored by day, martin martin day
CREATE TABLE table_20174050_24 (company VARCHAR, author VARCHAR)
SELECT company FROM table_20174050_24 WHERE author = "Day, Martin Martin Day"
what is the commissioned date with laid down of 17 dec 1951?
CREATE TABLE table_name_8 (commissioned VARCHAR, laid_down VARCHAR)
SELECT commissioned FROM table_name_8 WHERE laid_down = "17 dec 1951"
Which position had 3 podiums and F/laps of 4?
CREATE TABLE table_name_14 (position VARCHAR, podiums VARCHAR, f_laps VARCHAR)
SELECT position FROM table_name_14 WHERE podiums = "3" AND f_laps = "4"
How many ranks had marcin mroczek as the celebrity in a season more recent than 4?
CREATE TABLE table_name_13 (rank VARCHAR, celebrity VARCHAR, season VARCHAR)
SELECT COUNT(rank) FROM table_name_13 WHERE celebrity = "marcin mroczek" AND season > 4
What was the score where Olga Lugina played in the Tournament of poitiers , france itf $25,000?
CREATE TABLE table_name_84 (score_in_the_final VARCHAR, partner VARCHAR, tournament VARCHAR)
SELECT score_in_the_final FROM table_name_84 WHERE partner = "olga lugina" AND tournament = "poitiers , france itf $25,000"
What was the elimination number of the fighter who fought within 27:27?
CREATE TABLE table_18598175_2 (elimination_number INTEGER, time VARCHAR)
SELECT MIN(elimination_number) FROM table_18598175_2 WHERE time = "27:27"
How many weeks had a Result of w 20–6?
CREATE TABLE table_name_24 (week INTEGER, result VARCHAR)
SELECT SUM(week) FROM table_name_24 WHERE result = "w 20–6"
what's the record where location attendance is keyarena 13,627
CREATE TABLE table_11964154_9 (record VARCHAR, location_attendance VARCHAR)
SELECT record FROM table_11964154_9 WHERE location_attendance = "KeyArena 13,627"
which institutes gave the democratic renewal 18.0% – 22.0% on a poll from October 6, 1985?
CREATE TABLE table_1919538_1 (institute VARCHAR, democratic_renewal VARCHAR)
SELECT institute FROM table_1919538_1 WHERE democratic_renewal = "18.0% – 22.0%"
Who was the opponent when Steven Smith had 3.3 overs?
CREATE TABLE table_name_45 (opponent VARCHAR, overs VARCHAR)
SELECT opponent FROM table_name_45 WHERE overs = 3.3
Find the id and location of circuits that belong to France or Belgium?
CREATE TABLE circuits (circuitid VARCHAR, LOCATION VARCHAR, country VARCHAR)
SELECT circuitid, LOCATION FROM circuits WHERE country = "France" OR country = "Belgium"
What is the smallest period (days) to have a planetary mass of 1, a stellar mass greater than 0.21 and of the type M0?
CREATE TABLE table_name_1 (period__days_ INTEGER, type VARCHAR, planetary_mass___m⊕__ VARCHAR, stellar_mass___m__ VARCHAR)
SELECT MIN(period__days_) FROM table_name_1 WHERE planetary_mass___m⊕__ = 1 AND stellar_mass___m__ > 0.21 AND type = "m0"
Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa?
CREATE TABLE table_name_4 (enrollment VARCHAR, ihsaa_class VARCHAR, primary_conference VARCHAR, county VARCHAR)
SELECT enrollment FROM table_name_4 WHERE primary_conference = "mid-hoosier" AND county = "16 decatur" AND ihsaa_class = "aa"
Which city has a conference of LCC2 and a year earlier than 2009?
CREATE TABLE table_name_70 (city VARCHAR, year VARCHAR, conference VARCHAR)
SELECT city FROM table_name_70 WHERE year < 2009 AND conference = "lcc2"
Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8?
CREATE TABLE table_name_15 (total INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_15 WHERE silver > 1 AND bronze < 8
Which Interview subject has a Pictorials of vida guerra?
CREATE TABLE table_name_30 (interview_subject VARCHAR, pictorials VARCHAR)
SELECT interview_subject FROM table_name_30 WHERE pictorials = "vida guerra"
Which Years in Assembly has a Name of toni atkins?
CREATE TABLE table_name_27 (years_in_assembly VARCHAR, name VARCHAR)
SELECT years_in_assembly FROM table_name_27 WHERE name = "toni atkins"
When did Motherwell win?
CREATE TABLE table_name_15 (date VARCHAR, winners VARCHAR)
SELECT date FROM table_name_15 WHERE winners = "motherwell"
What was the time of the 5th ranked swimmer who swam after heat 3 and was in a lane under 5?
CREATE TABLE table_name_24 (time VARCHAR, rank VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT time FROM table_name_24 WHERE heat > 3 AND lane < 5 AND rank = 5
How many championships are there on the date January 9, 2005?
CREATE TABLE table_26202788_7 (championship VARCHAR, date VARCHAR)
SELECT COUNT(championship) FROM table_26202788_7 WHERE date = "January 9, 2005"
Who had the save in the game in which Duke (3-2) took the loss?
CREATE TABLE table_28001186_8 (save VARCHAR, loss VARCHAR)
SELECT save FROM table_28001186_8 WHERE loss = "Duke (3-2)"
Name the total number of attendance for october 8
CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_52 WHERE date = "october 8"
I want the type for host interface of pci saa7146 tmx320av7111
CREATE TABLE table_name_89 (type VARCHAR, host_interface VARCHAR)
SELECT type FROM table_name_89 WHERE host_interface = "pci saa7146 tmx320av7111"
What is the score when the record was 40–36?
CREATE TABLE table_name_65 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_65 WHERE record = "40–36"
What is the sales when the artist is kelly clarkson?
CREATE TABLE table_name_88 (sales VARCHAR, artist VARCHAR)
SELECT COUNT(sales) FROM table_name_88 WHERE artist = "kelly clarkson"
What is the airdate when the director is george spenton-foster
CREATE TABLE table_15739098_1 (airdate VARCHAR, director VARCHAR)
SELECT airdate FROM table_15739098_1 WHERE director = "George Spenton-Foster"
What is Director Bona Fajardo's Producer?
CREATE TABLE table_name_32 (producer VARCHAR, director VARCHAR)
SELECT producer FROM table_name_32 WHERE director = "bona fajardo"
In what counties is the unemployment rate 5.8% and the market income per capita is $22,866?
CREATE TABLE table_22815568_7 (county VARCHAR, unemployment_rate VARCHAR, market_income_per_capita VARCHAR)
SELECT county FROM table_22815568_7 WHERE unemployment_rate = "5.8%" AND market_income_per_capita = "$22,866"
How many different countries did the champion Se Ri Pak (2) represent?
CREATE TABLE table_229059_2 (country VARCHAR, champion VARCHAR)
SELECT COUNT(country) FROM table_229059_2 WHERE champion = "Se Ri Pak (2)"
What did Essendon score when they were the away team?
CREATE TABLE table_name_37 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_37 WHERE away_team = "essendon"
What's the name of the episode seen by 9.63 millions of people in the US, whose director is Laura Innes?
CREATE TABLE table_23799653_1 (title VARCHAR, directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_23799653_1 WHERE directed_by = "Laura Innes" AND us_viewers__millions_ = "9.63"
What is the Market Share that has Assets of 25 Million and a rank of 23?
CREATE TABLE table_name_53 (market_share VARCHAR, assets__usd__millions VARCHAR, rank VARCHAR)
SELECT market_share FROM table_name_53 WHERE assets__usd__millions = 25 AND rank = "23"
Name the Place which has To par of –5, in united states?
CREATE TABLE table_name_95 (place VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT place FROM table_name_95 WHERE country = "united states" AND to_par = "–5"
What is the tries for when 52 was the tries against?
CREATE TABLE table_name_89 (tries_for VARCHAR, tries_against VARCHAR)
SELECT tries_for FROM table_name_89 WHERE tries_against = "52"
What is the Song choice with a Theme that is 1960s?
CREATE TABLE table_name_1 (song_choice VARCHAR, theme VARCHAR)
SELECT song_choice FROM table_name_1 WHERE theme = "1960s"
Can you tell me the Score that has the Player of raymond floyd?
CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_76 WHERE player = "raymond floyd"
For the years 1992-93, what position did he play for the Houston Rockets?
CREATE TABLE table_name_4 (position VARCHAR, years_for_rockets VARCHAR)
SELECT position FROM table_name_4 WHERE years_for_rockets = "1992-93"
What is the away team at lake oval?
CREATE TABLE table_name_28 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_28 WHERE venue = "lake oval"
What is a category before 2012?
CREATE TABLE table_name_21 (category VARCHAR, year INTEGER)
SELECT category FROM table_name_21 WHERE year < 2012
What is re-elected Incumbent Jerry Costello's First elected date?
CREATE TABLE table_name_36 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_name_36 WHERE results = "re-elected" AND incumbent = "jerry costello"
Name the points with grid more than 8 and time/retired of +47.487 secs
CREATE TABLE table_name_74 (points VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT points FROM table_name_74 WHERE grid > 8 AND time_retired = "+47.487 secs"
In what genre did Microvision develop a game?
CREATE TABLE table_name_49 (genre VARCHAR, developer VARCHAR)
SELECT genre FROM table_name_49 WHERE developer = "microvision"
What is the D 50 when the D 41 is d 41?
CREATE TABLE table_name_84 (d_50 VARCHAR, d_41 VARCHAR)
SELECT d_50 FROM table_name_84 WHERE d_41 = "d 41"
Tell me thee record for week of hf
CREATE TABLE table_name_87 (record VARCHAR, week VARCHAR)
SELECT record FROM table_name_87 WHERE week = "hf"
What is the largest start for a player with 14 conv, 10 tries and more than 22 pens?
CREATE TABLE table_name_29 (start INTEGER, pens VARCHAR, conv VARCHAR, tries VARCHAR)
SELECT MAX(start) FROM table_name_29 WHERE conv = 14 AND tries = 10 AND pens > 22
What is the hometown of the player who plays pr?
CREATE TABLE table_name_17 (hometown VARCHAR, position VARCHAR)
SELECT hometown FROM table_name_17 WHERE position = "pr"
What is the date of vacancy for 10 december 2007 when quit?
CREATE TABLE table_11713303_2 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR)
SELECT date_of_vacancy FROM table_11713303_2 WHERE date_of_appointment = "10 December 2007" AND manner_of_departure = "Quit"
What are all the typhus number when smallpox is 4
CREATE TABLE table_1007688_1 (typhus VARCHAR, smallpox VARCHAR)
SELECT typhus FROM table_1007688_1 WHERE smallpox = 4
Which Semifinalist has a Tournament of stockholm?
CREATE TABLE table_name_23 (semifinalists VARCHAR, tournament VARCHAR)
SELECT semifinalists FROM table_name_23 WHERE tournament = "stockholm"
Which Year has a Category of best original song (รอเธอหันมา – โฟกัส จิระกุล)?
CREATE TABLE table_name_58 (year INTEGER, category VARCHAR)
SELECT MAX(year) FROM table_name_58 WHERE category = "best original song (รอเธอหันมา – โฟกัส จิระกุล)"
What circuit did Luigi Villoresi win the Lausanne Grand Prix?
CREATE TABLE table_name_58 (circuit VARCHAR, winning_driver VARCHAR, name VARCHAR)
SELECT circuit FROM table_name_58 WHERE winning_driver = "luigi villoresi" AND name = "lausanne grand prix"
What is the highest week for the San Diego Chargers with an attendance that is less than 53,455?
CREATE TABLE table_name_53 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT MAX(week) FROM table_name_53 WHERE opponent = "san diego chargers" AND attendance < 53 OFFSET 455
Name the points won for 1230
CREATE TABLE table_23501776_16 (points VARCHAR)
SELECT points AS won FROM table_23501776_16 WHERE points = 1230
Which Lead Pitch/mm has a Part Number of tsop24/28?
CREATE TABLE table_name_13 (lead_pitch_mm INTEGER, part_number VARCHAR)
SELECT MAX(lead_pitch_mm) FROM table_name_13 WHERE part_number = "tsop24/28"
What is the Total Finale of 女人唔易做?
CREATE TABLE table_name_64 (finale INTEGER, chinese_title VARCHAR)
SELECT SUM(finale) FROM table_name_64 WHERE chinese_title = "女人唔易做"
What is the Week when the kick off was at 4:05 pm, and the result was w 31–14?
CREATE TABLE table_name_92 (week VARCHAR, kickoff___et__ VARCHAR, result VARCHAR)
SELECT week FROM table_name_92 WHERE kickoff___et__ = "4:05 pm" AND result = "w 31–14"