answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT branding FROM table_19131921_1 WHERE format = "Southern Country" | Which branding has the format of southern country? | CREATE TABLE table_19131921_1 (branding VARCHAR, format VARCHAR) |
SELECT time_retired FROM table_name_80 WHERE driver = "ludovico scarfiotti" | What is the Time/Retired value for Ludovico Scarfiotti? | CREATE TABLE table_name_80 (time_retired VARCHAR, driver VARCHAR) |
SELECT venue FROM table_name_28 WHERE date = "10 september 2010" | Which venue was used on 10 september 2010? | CREATE TABLE table_name_28 (venue VARCHAR, date VARCHAR) |
SELECT team_classification FROM table_29332810_14 WHERE aggressive_rider = "Richie Porte" | What is aggressive rider Richie Porte's team classifaction? | CREATE TABLE table_29332810_14 (team_classification VARCHAR, aggressive_rider VARCHAR) |
SELECT AVG(points) FROM table_name_18 WHERE chassis = "ferrari 1512" AND year > 1965 | What is the average points of the Ferrari 1512 Chassis after 1965? | CREATE TABLE table_name_18 (points INTEGER, chassis VARCHAR, year VARCHAR) |
SELECT title FROM table_name_87 WHERE prod_code = "40811-002" | What is the title of the episode with production code 40811-002? | CREATE TABLE table_name_87 (title VARCHAR, prod_code VARCHAR) |
SELECT SUM(total) FROM table_name_93 WHERE bronze > 4 | How many totals had more than 4 bronze? | CREATE TABLE table_name_93 (total INTEGER, bronze INTEGER) |
SELECT money___$__ FROM table_name_42 WHERE score = 68 - 67 - 69 - 76 = 280 | What was the money value that went along with the score of 68-67-69-76=280? | CREATE TABLE table_name_42 (money___$__ VARCHAR, score VARCHAR) |
SELECT successor FROM table_1013168_2 WHERE date_of_successors_formal_installation = "November 8, 1978" | Who was the succesor that was formally installed on November 8, 1978? | CREATE TABLE table_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR) |
SELECT local_time FROM table_name_46 WHERE date = "september 1" | What was the time on September 1? | CREATE TABLE table_name_46 (local_time VARCHAR, date VARCHAR) |
SELECT country FROM table_name_41 WHERE airport = "shanghai pudong international airport" | Which country contains the Shanghai Pudong International airport? | CREATE TABLE table_name_41 (country VARCHAR, airport VARCHAR) |
SELECT 1996 FROM table_name_4 WHERE 1994 = "lq" AND 1992 = "3r" | What is 1996 Grand Slam Tournament if 1994 is LQ and 1992 is 3R? | CREATE TABLE table_name_4 (Id VARCHAR) |
SELECT location FROM table_name_68 WHERE position_in_2012_13 = "13th, third division" | When the position in 2012-13 is 13th, third division what is the location? | CREATE TABLE table_name_68 (location VARCHAR, position_in_2012_13 VARCHAR) |
SELECT round FROM table_name_31 WHERE fixtures = 2 | What is the Round when the value for Fixtures is 2? | CREATE TABLE table_name_31 (round VARCHAR, fixtures VARCHAR) |
SELECT country FROM table_name_38 WHERE director = "julian schnabel" | Tell me the country for julian schnabel | CREATE TABLE table_name_38 (country VARCHAR, director VARCHAR) |
SELECT winning_team FROM table_21373283_3 WHERE pole_position = "Max Chilton" AND circuit = "Oulton Park" | What is the winning team at Oulton Park when Max Chilton held the pole position? | CREATE TABLE table_21373283_3 (winning_team VARCHAR, pole_position VARCHAR, circuit VARCHAR) |
SELECT race FROM table_name_96 WHERE nation = "kenya" AND time = "30:27" | What is the name of the race in Kenya with a time of 30:27? | CREATE TABLE table_name_96 (race VARCHAR, nation VARCHAR, time VARCHAR) |
SELECT COUNT(points) FROM table_name_7 WHERE performer = "rob burke band" | Which Points has a Performer of rob burke band? | CREATE TABLE table_name_7 (points VARCHAR, performer VARCHAR) |
SELECT district FROM table_1342233_24 WHERE incumbent = "Jamie L. Whitten" | Which district is jamie l. whitten from? | CREATE TABLE table_1342233_24 (district VARCHAR, incumbent VARCHAR) |
SELECT capital___endonym__ FROM table_1008653_9 WHERE capital___exonym__ = "Douglas" | What is the capital (endonym) where Douglas is the Capital (exonym)? | CREATE TABLE table_1008653_9 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR) |
SELECT home_team FROM table_name_91 WHERE attendance = "160" | Which Home team had attendance 160? | CREATE TABLE table_name_91 (home_team VARCHAR, attendance VARCHAR) |
SELECT tv_station FROM table_name_36 WHERE average_ratings = "19.5%" | what is the tv station when the average ratings is 19.5%? | CREATE TABLE table_name_36 (tv_station VARCHAR, average_ratings VARCHAR) |
SELECT MAX(time) FROM table_name_64 WHERE nationality = "south africa" AND lane > 3 | What is the most time for the swimmer from South Africa who was in a lane greater than 3? | CREATE TABLE table_name_64 (time INTEGER, nationality VARCHAR, lane VARCHAR) |
SELECT result FROM table_name_17 WHERE week < 16 AND opponent = "san francisco 49ers" | What was the result of the game against San Francisco 49ers before week 16? | CREATE TABLE table_name_17 (result VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT MAX(district) FROM table_26416704_2 WHERE incumbent = "Brian W. Thomas" | What is the highest numbred district that has brian w. thomas as an incumbent? | CREATE TABLE table_26416704_2 (district INTEGER, incumbent VARCHAR) |
SELECT COUNT(club) FROM table_17510803_2 WHERE points = "62" | How many clubs have 62 points? | CREATE TABLE table_17510803_2 (club VARCHAR, points VARCHAR) |
SELECT date FROM table_name_49 WHERE runner_s__up = "ian mosey" | On which date did Ian Mosey finish runner-up? | CREATE TABLE table_name_49 (date VARCHAR, runner_s__up VARCHAR) |
SELECT netflix FROM table_15187735_5 WHERE segment_b = "Marshmallow Cookies" | When marshmallow cookies is segment b what episode is it on netflix? | CREATE TABLE table_15187735_5 (netflix VARCHAR, segment_b VARCHAR) |
SELECT college_junior_club_team FROM table_1965650_2 WHERE player = "Jimmy Jones" | Name the college/junior club team for jimmy jones | CREATE TABLE table_1965650_2 (college_junior_club_team VARCHAR, player VARCHAR) |
SELECT COUNT(*), major FROM student GROUP BY major | Find the number of students in each major. | CREATE TABLE student (major VARCHAR) |
SELECT record FROM table_name_20 WHERE game > 34 AND december < 23 | Game larger than 34, and a December smaller than 23 had what record? | CREATE TABLE table_name_20 (record VARCHAR, game VARCHAR, december VARCHAR) |
SELECT time_retired FROM table_name_17 WHERE grid = 17 | I want the time/retired for grid of 17 | CREATE TABLE table_name_17 (time_retired VARCHAR, grid VARCHAR) |
SELECT COUNT(pick__number) FROM table_1213511_7 WHERE nhl_team = "Philadelphia Flyers" | what is the total number of pick # where nhl team is philadelphia flyers | CREATE TABLE table_1213511_7 (pick__number VARCHAR, nhl_team VARCHAR) |
SELECT record FROM table_name_75 WHERE attendance = "19,823" | What was the Indians record during the game that had 19,823 fans attending? | CREATE TABLE table_name_75 (record VARCHAR, attendance VARCHAR) |
SELECT trial_phase FROM table_name_59 WHERE expected_end_date = "june 2007" | What is Trial Phase, when Expected End Date is June 2007? | CREATE TABLE table_name_59 (trial_phase VARCHAR, expected_end_date VARCHAR) |
SELECT Product_Name FROM Products ORDER BY Product_Price | List the name of products in ascending order of price. | CREATE TABLE Products (Product_Name VARCHAR, Product_Price VARCHAR) |
SELECT lead FROM table_name_83 WHERE skip = "john shuster" AND season = "2009β10" | Who was the lead with John Shuster as skip in the season of 2009β10? | CREATE TABLE table_name_83 (lead VARCHAR, skip VARCHAR, season VARCHAR) |
SELECT school_club_team FROM table_name_53 WHERE player = "steve smith" | Where did steve smith go to school? | CREATE TABLE table_name_53 (school_club_team VARCHAR, player VARCHAR) |
SELECT parish FROM table_16226584_1 WHERE name = "Highworth" | Which parishes have the highworth railroad? | CREATE TABLE table_16226584_1 (parish VARCHAR, name VARCHAR) |
SELECT second_year FROM table_12148147_2 WHERE first_year = "Pag-unawa" | What is the second year class following pag-unawa? | CREATE TABLE table_12148147_2 (second_year VARCHAR, first_year VARCHAR) |
SELECT tie_no FROM table_name_32 WHERE date = "18 nov 1989" AND home_team = "doncaster rovers" | What is Tie no, when Date is "18 Nov 1989", and when Home Team is "Doncaster Rovers"? | CREATE TABLE table_name_32 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR) |
SELECT result FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.9%" | Candiates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% had what result? | CREATE TABLE table_2668336_17 (result VARCHAR, candidates VARCHAR) |
SELECT MIN(ranking) FROM table_217785_2 WHERE viewers__in_millions_of_households_ = "11.2" | What's the lowest rating with 11.2 million viewers? | CREATE TABLE table_217785_2 (ranking INTEGER, viewers__in_millions_of_households_ VARCHAR) |
SELECT opponent FROM table_23466021_4 WHERE attendance = 36102 | Which opponent has 36102 is the attendance? | CREATE TABLE table_23466021_4 (opponent VARCHAR, attendance VARCHAR) |
SELECT MIN(mundubbera) FROM table_12526990_1 WHERE biggenden = 1882 | What is the minimum mundubbera when biggenden is 1882 | CREATE TABLE table_12526990_1 (mundubbera INTEGER, biggenden VARCHAR) |
SELECT MAX(enrollment) FROM table_1971074_1 | What's the highest enrollment among the schools? | CREATE TABLE table_1971074_1 (enrollment INTEGER) |
SELECT high_rebounds FROM table_15780718_6 WHERE score = "W 105β91 (OT)" | Name for the high rebounds when score is w 105β91 (ot) | CREATE TABLE table_15780718_6 (high_rebounds VARCHAR, score VARCHAR) |
SELECT attendance FROM table_name_89 WHERE opponent = "washington redskins" | What attendance has Washington redskins as the opponent? | CREATE TABLE table_name_89 (attendance VARCHAR, opponent VARCHAR) |
SELECT round FROM table_28039032_1 WHERE winners_from_previous_round = "16" | What was the round when there were 16 winners from the previous round? | CREATE TABLE table_28039032_1 (round VARCHAR, winners_from_previous_round VARCHAR) |
SELECT lead FROM table_name_83 WHERE third = "jeanna schraeder" | WHAT IS THE LEAD WITH THIRD AS JEANNA SCHRAEDER? | CREATE TABLE table_name_83 (lead VARCHAR, third VARCHAR) |
SELECT COUNT(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "University of Pennsylvania" | Find the number of papers published by the institution "University of Pennsylvania". | CREATE TABLE inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR) |
SELECT MAX(week) FROM table_name_80 WHERE venue = "metropolitan stadium" AND attendance > 47 OFFSET 644 | Tell me the highest week for metropolitan stadium for attendance more than 47,644 | CREATE TABLE table_name_80 (week INTEGER, venue VARCHAR, attendance VARCHAR) |
SELECT fatalities FROM table_name_50 WHERE country = "italy" | How many fatalities does Italy have? | CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR) |
SELECT away_team FROM table_name_62 WHERE tie_no = "14" | Which away team has a tie number of 14? | CREATE TABLE table_name_62 (away_team VARCHAR, tie_no VARCHAR) |
SELECT rich_savage FROM table_name_82 WHERE undecided = "68%" | What is the Rich Savage percentage in the poll that had undecideds at 68%? | CREATE TABLE table_name_82 (rich_savage VARCHAR, undecided VARCHAR) |
SELECT player FROM table_name_94 WHERE college = "graceland" | What player attended Graceland College? | CREATE TABLE table_name_94 (player VARCHAR, college VARCHAR) |
SELECT trophy FROM table_name_78 WHERE season = "2008β2009" | What is the Trophy with a Season with 2008β2009? | CREATE TABLE table_name_78 (trophy VARCHAR, season VARCHAR) |
SELECT opponent FROM table_name_68 WHERE record = "15β15" | Who was the opponent at the game when the record was 15β15? | CREATE TABLE table_name_68 (opponent VARCHAR, record VARCHAR) |
SELECT id, name, market_share FROM browser | List the ids, names and market shares of all browsers. | CREATE TABLE browser (id VARCHAR, name VARCHAR, market_share VARCHAR) |
SELECT venue FROM table_name_87 WHERE home_team = "essendon" | If essendon is the home team, what venue did they play at? | CREATE TABLE table_name_87 (venue VARCHAR, home_team VARCHAR) |
SELECT time FROM table_name_20 WHERE record = "nascar camping world truck series" | What is the record time at the Nascar Camping World Truck Series? | CREATE TABLE table_name_20 (time VARCHAR, record VARCHAR) |
SELECT location_attendance FROM table_23186738_6 WHERE record = "5-15" | Name the location attendance of 5-15 | CREATE TABLE table_23186738_6 (location_attendance VARCHAR, record VARCHAR) |
SELECT MAX(total) FROM table_name_12 WHERE country = "scotland" AND year_s__won = 1985 | What is the highest total for Scotland with a year won of 1985? | CREATE TABLE table_name_12 (total INTEGER, country VARCHAR, year_s__won VARCHAR) |
SELECT country FROM table_184803_4 WHERE commentator = "Gordana Bonetti" | which countries were commentated on by gordana bonetti | CREATE TABLE table_184803_4 (country VARCHAR, commentator VARCHAR) |
SELECT COUNT(passengers) FROM table_name_54 WHERE airport = "mco" AND rank > 9 | What was the number of passengers going to MCO with a rank larger than 9? | CREATE TABLE table_name_54 (passengers VARCHAR, airport VARCHAR, rank VARCHAR) |
SELECT result FROM table_name_89 WHERE competition = "international friendly" AND date = "may 15, 1966" | What is the result of the International Friendly competition on May 15, 1966? | CREATE TABLE table_name_89 (result VARCHAR, competition VARCHAR, date VARCHAR) |
SELECT third_vice_president FROM table_name_16 WHERE second_vice_president = "baudelio palma" | What is Third Vice President, when Second Vice President is "Baudelio Palma"? | CREATE TABLE table_name_16 (third_vice_president VARCHAR, second_vice_president VARCHAR) |
SELECT tickets_sold___available FROM table_name_44 WHERE gross_revenue__2011_ = "$366,916" | How many tickets were sold/available when the gross revenue (2011) was $366,916? | CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR) |
SELECT to_par FROM table_name_33 WHERE place = "t5" AND score = 71 - 68 - 76 = 215 | What is the To par of the T5 Place Player with a Score of 71-68-76=215? | CREATE TABLE table_name_33 (to_par VARCHAR, place VARCHAR, score VARCHAR) |
SELECT production_number FROM table_name_96 WHERE series = "mm" AND release_date = "1964-06-27" | What is the Production Number of the Filmography in MM Series with a Release date of 1964-06-27? | CREATE TABLE table_name_96 (production_number VARCHAR, series VARCHAR, release_date VARCHAR) |
SELECT round FROM table_name_85 WHERE venue = "villa park" | What was the round for Villa Park? | CREATE TABLE table_name_85 (round VARCHAR, venue VARCHAR) |
SELECT week FROM table_name_59 WHERE date = "december 21, 2003" | Which week was the December 21, 2003 game? | CREATE TABLE table_name_59 (week VARCHAR, date VARCHAR) |
SELECT catalog FROM table_name_16 WHERE label = "epic records" AND format = "cd" | What catalog had an Epic Records label in CD format? | CREATE TABLE table_name_16 (catalog VARCHAR, label VARCHAR, format VARCHAR) |
SELECT score FROM table_name_11 WHERE surface = "clay" AND date = "19 may 2008" | What was Olga Govortsova's score when she played on a clay surface on 19 May 2008? | CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR) |
SELECT COUNT(capital___endonym__) FROM table_1008653_1 WHERE country___endonym__ = "Australia" | How many capital cities does Australia have? | CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, country___endonym__ VARCHAR) |
SELECT team_1 FROM table_name_87 WHERE team_2 = "usl dunkerque (d2)" | who is team 1 when team 2 is usl dunkerque (d2)? | CREATE TABLE table_name_87 (team_1 VARCHAR, team_2 VARCHAR) |
SELECT document_id, receipt_date FROM Documents | List all document ids and receipt dates of documents. | CREATE TABLE Documents (document_id VARCHAR, receipt_date VARCHAR) |
SELECT MIN(rank) FROM table_name_97 WHERE name = "carmelita jeter" AND time < 11.08 | Name the lowest Rank of carmelita jeter with a Time smaller than 11.08? | CREATE TABLE table_name_97 (rank INTEGER, name VARCHAR, time VARCHAR) |
SELECT location_of_the_church FROM table_178389_1 WHERE church_name = "Ortnevik kyrkje" | What is the location of the church when the church name is Ortnevik Kyrkje? | CREATE TABLE table_178389_1 (location_of_the_church VARCHAR, church_name VARCHAR) |
SELECT order FROM table_name_68 WHERE nationality = "ese milan" | Which Order has a Nationality of ese milan? | CREATE TABLE table_name_68 (order VARCHAR, nationality VARCHAR) |
SELECT COUNT(round) FROM table_name_49 WHERE pick > 9 AND school = "duke" | In what Round does Duke have a Pick larger than 9? | CREATE TABLE table_name_49 (round VARCHAR, pick VARCHAR, school VARCHAR) |
SELECT to_par FROM table_name_59 WHERE place = "t2" AND player = "mark james" | Which To par has a Place of t2, and a Player of mark james? | CREATE TABLE table_name_59 (to_par VARCHAR, place VARCHAR, player VARCHAR) |
SELECT MAX(year) FROM table_14319023_2 WHERE mixed_doubles = "Didit Juang Indrianto Yayu Rahayu" | When mixed doubles is didit juang indrianto yayu rahayu what is the most current year? | CREATE TABLE table_14319023_2 (year INTEGER, mixed_doubles VARCHAR) |
SELECT MIN(february) FROM table_name_90 WHERE opponent = "boston bruins" | What is the earliest day that had a game against the Boston Bruins? | CREATE TABLE table_name_90 (february INTEGER, opponent VARCHAR) |
SELECT metas_volantes_classification FROM table_name_36 WHERE stage = 4 | Who led the metas volantes classification for stage 4? | CREATE TABLE table_name_36 (metas_volantes_classification VARCHAR, stage VARCHAR) |
SELECT behind FROM table_name_72 WHERE day_2 = "3:42.162" | For the team with 3:42.162 on day 2, what was the behind? | CREATE TABLE table_name_72 (behind VARCHAR, day_2 VARCHAR) |
SELECT stacks FROM table_23958917_1 WHERE in_service_dates = "1 1969 2 1995" | Name the stacks for 1 1969 2 1995 | CREATE TABLE table_23958917_1 (stacks VARCHAR, in_service_dates VARCHAR) |
SELECT COUNT(laps) FROM table_name_51 WHERE grid > 14 AND rider = "sylvain guintoli" | How many Laps have Grid larger than 14, and a Rider of sylvain guintoli? | CREATE TABLE table_name_51 (laps VARCHAR, grid VARCHAR, rider VARCHAR) |
SELECT date FROM table_name_37 WHERE venue = "vfl park" | On which date was the venue of vfl park used? | CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR) |
SELECT recnet FROM table_name_57 WHERE city_of_license = "elk lake" | What RECNet has elk lake as the city of license? | CREATE TABLE table_name_57 (recnet VARCHAR, city_of_license VARCHAR) |
SELECT set_1 FROM table_name_34 WHERE set_3 = "25β15" | What is the Set 1 when Set 3 was 25β15? | CREATE TABLE table_name_34 (set_1 VARCHAR, set_3 VARCHAR) |
SELECT score FROM table_name_15 WHERE player = "ernie els" | What is Score, when Player is "Ernie Els"? | CREATE TABLE table_name_15 (score VARCHAR, player VARCHAR) |
SELECT AVG(mrc_championships) FROM table_name_31 WHERE pct > 0.685 AND co_champions > 1 AND solo < 5 | What is the average value of MRC Championships with more than 0.685 PCT., more than 1 for co-champions, and less than 5 solo? | CREATE TABLE table_name_31 (mrc_championships INTEGER, solo VARCHAR, pct VARCHAR, co_champions VARCHAR) |
SELECT date FROM table_name_28 WHERE attendance = 960 | What is the date when the attendance is 960? | CREATE TABLE table_name_28 (date VARCHAR, attendance VARCHAR) |
SELECT tries_for FROM table_name_13 WHERE points_against = "263" | How many tries for does the team with 263 points against have? | CREATE TABLE table_name_13 (tries_for VARCHAR, points_against VARCHAR) |
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Weber State" | Where was the tourney when Weber State won the regular season? | CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR) |
SELECT MIN(played) FROM table_name_90 WHERE position > 2 AND draws < 2 AND goals_against < 18 | Can you tell me the lowest Played that has the Position larger than 2, and the Draws smaller than 2, and the Goals against smaller than 18? | CREATE TABLE table_name_90 (played INTEGER, goals_against VARCHAR, position VARCHAR, draws VARCHAR) |
SELECT AVG(earnings___) AS $__ FROM table_name_34 WHERE rank = 3 AND wins < 3 | Name the average earnings for rank of 3 and wins less than 3 | CREATE TABLE table_name_34 (earnings___ INTEGER, rank VARCHAR, wins VARCHAR) |
SELECT player FROM table_name_6 WHERE place = "t5" AND score = 74 - 70 - 67 = 211 | Who scored 74-70-67=211 and placed t5? | CREATE TABLE table_name_6 (player VARCHAR, place VARCHAR, score VARCHAR) |
SELECT cyrillic_name_other_names FROM table_2562572_25 WHERE settlement = "Ratkovo" | When ratkovo is the settlement what is the cyrllic name other names? | CREATE TABLE table_2562572_25 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.