answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT MIN(games_played) FROM table_14181578_1 WHERE goals_for_against = "7-5" | what is the minimum games played with goals for/against being 7-5 | CREATE TABLE table_14181578_1 (games_played INTEGER, goals_for_against VARCHAR) |
SELECT score FROM table_name_9 WHERE year = "1969" | What was the score in 1969? | CREATE TABLE table_name_9 (score VARCHAR, year VARCHAR) |
SELECT COUNT(score_in_the_final) FROM table_2201724_2 WHERE year = 1963 | How many different final scores were there in 1963? | CREATE TABLE table_2201724_2 (score_in_the_final VARCHAR, year VARCHAR) |
SELECT venue FROM table_name_12 WHERE conv = "5 players on 20 points" | Name the venue that has conv of 5 players on 20 points | CREATE TABLE table_name_12 (venue VARCHAR, conv VARCHAR) |
SELECT fa_cup_apps FROM table_name_28 WHERE league_apps = "21" | Which FA Cup Apps have League Apps of 21? | CREATE TABLE table_name_28 (fa_cup_apps VARCHAR, league_apps VARCHAR) |
SELECT opponent FROM table_name_94 WHERE record = "5–0" | What team was the opponent with a record of 5–0? | CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR) |
SELECT position FROM table_name_6 WHERE country = "brazil" AND period = "2008" AND goals = "0 1" | Name the position for brazil 2008 with goals of 0 1 | CREATE TABLE table_name_6 (position VARCHAR, goals VARCHAR, country VARCHAR, period VARCHAR) |
SELECT auditory_comprehension FROM table_2088_1 WHERE fluency = "non-fluent, effortful, slow" | Name the comprehension for non-fluent, effortful, slow | CREATE TABLE table_2088_1 (auditory_comprehension VARCHAR, fluency VARCHAR) |
SELECT bachelorette FROM table_name_37 WHERE premiered = "may 24, 2010" | Who is the bachelorette of the season that premiered on May 24, 2010? | CREATE TABLE table_name_37 (bachelorette VARCHAR, premiered VARCHAR) |
SELECT chapter FROM table_name_65 WHERE city = "lubbock" | What is the chapter in Lubbock? | CREATE TABLE table_name_65 (chapter VARCHAR, city VARCHAR) |
SELECT h_rempel FROM table_name_31 WHERE j_j_neufeld = "sajen" | Which of the H. Rempel has J. J. Neufeld of Sajen? | CREATE TABLE table_name_31 (h_rempel VARCHAR, j_j_neufeld VARCHAR) |
SELECT loss FROM table_name_45 WHERE opponent = "yankees" AND attendance = "27,652" | What was the loss of the game against the Yankees that was attended by 27,652? | CREATE TABLE table_name_45 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR) |
SELECT emma_bunton FROM table_28352386_1 WHERE total = "22" | What was Emma Bunton's score for the performance with a total score of 22? | CREATE TABLE table_28352386_1 (emma_bunton VARCHAR, total VARCHAR) |
SELECT mountains_classification FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini" | Who got the mountains classification when Michael Albasini won the stage? | CREATE TABLE table_21804557_18 (mountains_classification VARCHAR, metas_volantes_classification VARCHAR) |
SELECT laps FROM table_name_77 WHERE manufacturer = "yamaha" AND rider = "valentino rossi" | How many laps did Valentino rossi have when riding a vehicle manufactured by yamaha? | CREATE TABLE table_name_77 (laps VARCHAR, manufacturer VARCHAR, rider VARCHAR) |
SELECT constructor FROM table_name_72 WHERE q1 + q2_time = "2:45.416" | Constructor with total time of 2:45.416 | CREATE TABLE table_name_72 (constructor VARCHAR, q1 VARCHAR, q2_time VARCHAR) |
SELECT name FROM table_16799784_12 WHERE longitude = "152.0E" | What is every name for longitude of 152.0E? | CREATE TABLE table_16799784_12 (name VARCHAR, longitude VARCHAR) |
SELECT scientific_name FROM table_175442_1 WHERE common_name = "Veiled chameleon" | Name the scientific name for veiled chameleon | CREATE TABLE table_175442_1 (scientific_name VARCHAR, common_name VARCHAR) |
SELECT status FROM table_name_32 WHERE artist = "freddie jackson" | What Status does Freddie Jackson have? | CREATE TABLE table_name_32 (status VARCHAR, artist VARCHAR) |
SELECT open_cup FROM table_1990460_1 WHERE year = 2006 | What's the team's status in the Open Cup in 2006? | CREATE TABLE table_1990460_1 (open_cup VARCHAR, year VARCHAR) |
SELECT opponent FROM table_name_12 WHERE record = "0-1" | Who is the Opponent of the match with a Record of 0-1? | CREATE TABLE table_name_12 (opponent VARCHAR, record VARCHAR) |
SELECT 2006 FROM table_name_96 WHERE 2001 = "4r" | Which 2006 tournament had a 4R performance in 2001? | CREATE TABLE table_name_96 (Id VARCHAR) |
SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig" | Which Score has an Opponent in the final of chris haggard robbie koenig? | CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR) |
SELECT away_team FROM table_name_7 WHERE home_team = "carlton" | What was the away team when the home team was Carlton? | CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR) |
SELECT comparative FROM table_name_71 WHERE name = "pictar" | Which Comparative has a Name of pictar? | CREATE TABLE table_name_71 (comparative VARCHAR, name VARCHAR) |
SELECT host_team FROM table_name_24 WHERE visiting_team = "baltimore ravens" | Who hosted the visiting team Baltimore Ravens? | CREATE TABLE table_name_24 (host_team VARCHAR, visiting_team VARCHAR) |
SELECT to_par FROM table_name_91 WHERE score = 73 - 68 = 141 | What is the to par for the player who scored 73-68=141? | CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR) |
SELECT MAX(no_of_episodes) FROM table_17697980_1 WHERE year = "1989" | What is the largest number of episodes for a 1989 season dvd release? | CREATE TABLE table_17697980_1 (no_of_episodes INTEGER, year VARCHAR) |
SELECT directed___undirected FROM table_name_13 WHERE induced___non_induced = "induced" AND counting_method = "exact" AND name = "mfinder" | What is the directed/undirected for mfinder, which has an induced/non-induced of induced and an exact counting method? | CREATE TABLE table_name_13 (directed___undirected VARCHAR, name VARCHAR, induced___non_induced VARCHAR, counting_method VARCHAR) |
SELECT COUNT(total) FROM table_26375386_22 WHERE public = 3 | Name the total number for 3 public | CREATE TABLE table_26375386_22 (total VARCHAR, public VARCHAR) |
SELECT COUNT(car_no) FROM table_17304308_1 WHERE team = "Panther Racing" AND grid = 9 | Name the total number of cars for panther racing and grid of 9 | CREATE TABLE table_17304308_1 (car_no VARCHAR, team VARCHAR, grid VARCHAR) |
SELECT winner FROM table_19930660_1 WHERE first_broadcast = "26 January 2009" | Name the winner for 26 january 2009 | CREATE TABLE table_19930660_1 (winner VARCHAR, first_broadcast VARCHAR) |
SELECT winning_yacht FROM table_256862_1 WHERE entries = "14" | Name the wininng yacht for 14 entries | CREATE TABLE table_256862_1 (winning_yacht VARCHAR, entries VARCHAR) |
SELECT hindi FROM table_name_36 WHERE kannada = "shanivara" | WHAT HINDI HAS A KANNADA OF SHANIVARA? | CREATE TABLE table_name_36 (hindi VARCHAR, kannada VARCHAR) |
SELECT original_airdate FROM table_24222929_3 WHERE episode_number_production_number = "4 1-04" | When did the fourth episode of the season (4 1-04) first air? | CREATE TABLE table_24222929_3 (original_airdate VARCHAR, episode_number_production_number VARCHAR) |
SELECT SUM(lost) FROM table_name_5 WHERE games < 7 | How many lost are there before game 7? | CREATE TABLE table_name_5 (lost INTEGER, games INTEGER) |
SELECT college FROM table_name_50 WHERE pick < 160 AND round > 2 | What college did the player drafted after round 2 before pick 160 attend? | CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR, round VARCHAR) |
SELECT year FROM table_name_14 WHERE finish = "12th" AND record = "23-36" | Name the year with finish of 12th and record of 23-36 | CREATE TABLE table_name_14 (year VARCHAR, finish VARCHAR, record VARCHAR) |
SELECT lead FROM table_name_79 WHERE third = "tara george" | WHAT IS THE LEAD WITH THIRD AS TARA GEORGE? | CREATE TABLE table_name_79 (lead VARCHAR, third VARCHAR) |
SELECT MIN(no) FROM table_28578594_1 WHERE driver = "Nello Pagani" | Name the least number for nello pagani | CREATE TABLE table_28578594_1 (no INTEGER, driver VARCHAR) |
SELECT SUM(week) FROM table_name_79 WHERE date = "september 14, 2008" | How many weeks have September 14, 2008 as the date? | CREATE TABLE table_name_79 (week INTEGER, date VARCHAR) |
SELECT score FROM table_name_66 WHERE bowl_game = "bcs national championship" | What was the score of the BCS National Championship game? | CREATE TABLE table_name_66 (score VARCHAR, bowl_game VARCHAR) |
SELECT player FROM table_name_67 WHERE country = "united states" AND place = "t6" AND score = 71 - 70 - 76 - 72 = 289 | Who is the player from the United States with a t6 place and a 71-70-76-72=289 score? | CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) |
SELECT COUNT(loses) FROM table_name_96 WHERE position = 4 AND goals_conceded < 23 | What is the total number of loses of the club with a 4 position and less than 23 goals conceded? | CREATE TABLE table_name_96 (loses VARCHAR, position VARCHAR, goals_conceded VARCHAR) |
SELECT constructor FROM table_name_50 WHERE driver = "heinz-harald frentzen" | What is the constructor of the driver Heinz-Harald Frentzen? | CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR) |
SELECT title_in_country FROM table_29487895_2 WHERE country___region = "France" | What country is in the region of France? | CREATE TABLE table_29487895_2 (title_in_country VARCHAR, country___region VARCHAR) |
SELECT position FROM table_name_93 WHERE nationality = "sweden" | What is the position of the player from Sweden? | CREATE TABLE table_name_93 (position VARCHAR, nationality VARCHAR) |
SELECT winner FROM table_1359212_2 WHERE second_place = "United Kingdom" | where is hte second place winner from united kingdom? | CREATE TABLE table_1359212_2 (winner VARCHAR, second_place VARCHAR) |
SELECT MAX(points) FROM table_name_92 WHERE grade = "a" | How many points are there, when the grade is A? | CREATE TABLE table_name_92 (points INTEGER, grade VARCHAR) |
SELECT english FROM table_1841901_1 WHERE french = "j'avais entendu" | Name the english for j'avais entendu | CREATE TABLE table_1841901_1 (english VARCHAR, french VARCHAR) |
SELECT home_town FROM table_name_78 WHERE senator = "dan shelley" | Which Home Town has a Senator of dan shelley? | CREATE TABLE table_name_78 (home_town VARCHAR, senator VARCHAR) |
SELECT fractievoorzitter FROM table_name_80 WHERE lijsttrekker = "no elections" AND year > 2005 | What is Fractievoorzitter, when Lijsttrekker is "No Elections", and when Year is after 2005? | CREATE TABLE table_name_80 (fractievoorzitter VARCHAR, lijsttrekker VARCHAR, year VARCHAR) |
SELECT MIN(week) FROM table_name_90 WHERE attendance > 63 OFFSET 369 | Which Week has an Attendance larger than 63,369? | CREATE TABLE table_name_90 (week INTEGER, attendance INTEGER) |
SELECT best_player FROM table_2527617_1 WHERE season = 1998 | Who is the best player in the 1998 season? | CREATE TABLE table_2527617_1 (best_player VARCHAR, season VARCHAR) |
SELECT date FROM table_27319183_5 WHERE share___percentage_ = "41.5" | When was the episode that had a share (%) of 41.5? | CREATE TABLE table_27319183_5 (date VARCHAR, share___percentage_ VARCHAR) |
SELECT date FROM table_name_9 WHERE tournament = "masters tournament" | When was the Masters Tournament? | CREATE TABLE table_name_9 (date VARCHAR, tournament VARCHAR) |
SELECT AVG(year) FROM table_name_52 WHERE rank = "12.0 12" | What Year has a Rank of 12.0 12? | CREATE TABLE table_name_52 (year INTEGER, rank VARCHAR) |
SELECT loss FROM table_name_61 WHERE record = "27-17" | What was the loss of the game when the record was 27-17? | CREATE TABLE table_name_61 (loss VARCHAR, record VARCHAR) |
SELECT 2011 FROM table_name_2 WHERE 2006 = "a" AND tournament = "french open" | What is the 2011 value of the French Open, which has a 2006 value of A? | CREATE TABLE table_name_2 (tournament VARCHAR) |
SELECT party FROM table_name_98 WHERE elected > 1983 AND district = 28 | What party has a district of 28 and was elected after 1983? | CREATE TABLE table_name_98 (party VARCHAR, elected VARCHAR, district VARCHAR) |
SELECT AVG(social_democratic_party) FROM table_name_10 WHERE green < 0 | Which Social Democratic Party has a Green smaller than 0? | CREATE TABLE table_name_10 (social_democratic_party INTEGER, green INTEGER) |
SELECT date FROM table_name_70 WHERE location = "polo grounds" AND winner = "philadelphia eagles" AND year = 1948 | What is Date, when Location is Polo Grounds, when Winner is Philadelphia Eagles, and when Year is 1948? | CREATE TABLE table_name_70 (date VARCHAR, year VARCHAR, location VARCHAR, winner VARCHAR) |
SELECT country FROM table_name_84 WHERE player = "david toms" | What Country is David Toms from? | CREATE TABLE table_name_84 (country VARCHAR, player VARCHAR) |
SELECT result FROM table_1342233_24 WHERE incumbent = "W. Arthur Winstead" | What is the result for w. arthur winstead? | CREATE TABLE table_1342233_24 (result VARCHAR, incumbent VARCHAR) |
SELECT entrant FROM table_name_3 WHERE year = 1971 | Who was the entrant in 1971? | CREATE TABLE table_name_3 (entrant VARCHAR, year VARCHAR) |
SELECT chassis FROM table_name_15 WHERE rounds = "7" AND entrant = "ecurie rosier" | Which chassis had Rounds of 7, and an Entrant of Ecurie Rosier? | CREATE TABLE table_name_15 (chassis VARCHAR, rounds VARCHAR, entrant VARCHAR) |
SELECT opponent FROM table_name_49 WHERE date = "september 20, 2010" | Who was the opponent in the September 20, 2010 match? | CREATE TABLE table_name_49 (opponent VARCHAR, date VARCHAR) |
SELECT film_name FROM table_11827596_2 WHERE co_singer = "Vinod Rathod" | what are the film names with the co-singer vinod rathod? | CREATE TABLE table_11827596_2 (film_name VARCHAR, co_singer VARCHAR) |
SELECT AVG(Gross_in_dollar) FROM film | What is the average ticket sales gross in dollars of films? | CREATE TABLE film (Gross_in_dollar INTEGER) |
SELECT campus FROM table_name_12 WHERE year_opened = "1970" | What campus opened in 1970? | CREATE TABLE table_name_12 (campus VARCHAR, year_opened VARCHAR) |
SELECT candidates FROM table_2668347_17 WHERE district = "Pennsylvania 14" | Name the candidates for pennsylvania 14 | CREATE TABLE table_2668347_17 (candidates VARCHAR, district VARCHAR) |
SELECT MIN(year) FROM table_name_7 WHERE event = "foil team" AND venue = "melbourne" | What is the lowest year that had foil team as the event at Melbourne? | CREATE TABLE table_name_7 (year INTEGER, event VARCHAR, venue VARCHAR) |
SELECT edition_publisher FROM table_name_5 WHERE language = "italian" AND page_size = "8 inches (20cm) x 5.4 inches (14cm)" | Who published in Italian with a page size of 8 inches (20cm) x 5.4 inches (14cm)? | CREATE TABLE table_name_5 (edition_publisher VARCHAR, language VARCHAR, page_size VARCHAR) |
SELECT vessel_type FROM table_26168687_3 WHERE vessel_operator = "Jumbo Shipping" | What is the vessel type for vessel operator Jumbo shipping? | CREATE TABLE table_26168687_3 (vessel_type VARCHAR, vessel_operator VARCHAR) |
SELECT provider FROM table_3005999_1 WHERE destination = "Liverpool" | Who are all providers with destination of Liverpool? | CREATE TABLE table_3005999_1 (provider VARCHAR, destination VARCHAR) |
SELECT fatalities FROM table_name_79 WHERE epicenter = "māzandarān" | What number of Fatalities did the Epicenter Māzandarān have? | CREATE TABLE table_name_79 (fatalities VARCHAR, epicenter VARCHAR) |
SELECT category FROM table_name_77 WHERE result = "won" AND year > 2009 | Tell me the category for result of won and year more than 2009 | CREATE TABLE table_name_77 (category VARCHAR, result VARCHAR, year VARCHAR) |
SELECT COUNT(games_won) FROM table_name_58 WHERE bonus_points > 1 AND points_difference < 50 AND points_against = 106 AND points_for < 152 | Which Games won has Bonus points larger than 1, a Points difference smaller than 50, Points against of 106, and Points for smaller than 152? | CREATE TABLE table_name_58 (games_won VARCHAR, points_for VARCHAR, points_against VARCHAR, bonus_points VARCHAR, points_difference VARCHAR) |
SELECT decision FROM table_name_18 WHERE date = "november 26" | What was the decision on November 26? | CREATE TABLE table_name_18 (decision VARCHAR, date VARCHAR) |
SELECT COUNT(founded) FROM table_12434380_1 WHERE institution = "Kansas City Kansas Community College" | When was the institution of Kansas city Kansas community college founded? | CREATE TABLE table_12434380_1 (founded VARCHAR, institution VARCHAR) |
SELECT segment_c FROM table_15187735_21 WHERE series_ep = "21-08" | What are the titles of segment c for series episode is 21-08? | CREATE TABLE table_15187735_21 (segment_c VARCHAR, series_ep VARCHAR) |
SELECT MIN(pa) FROM table_29546142_2 WHERE w = 2 | Name the least pa for w being 2 | CREATE TABLE table_29546142_2 (pa INTEGER, w VARCHAR) |
SELECT COUNT(*) FROM Aircraft WHERE distance BETWEEN 1000 AND 5000 | How many aircrafts have distance between 1000 and 5000? | CREATE TABLE Aircraft (distance INTEGER) |
SELECT competition FROM table_name_17 WHERE score = "1–0" AND result = "3–0" | What is the Competition with a Score of 1–0, and a Result with 3–0? | CREATE TABLE table_name_17 (competition VARCHAR, score VARCHAR, result VARCHAR) |
SELECT T4.name FROM stay AS T1 JOIN patient AS T2 ON T1.Patient = T2.SSN JOIN Prescribes AS T3 ON T3.Patient = T2.SSN JOIN Medication AS T4 ON T3.Medication = T4.Code WHERE room = 111 | Find the name of medication used on the patient who stays in room 111? | CREATE TABLE Prescribes (Patient VARCHAR, Medication VARCHAR); CREATE TABLE Medication (name VARCHAR, Code VARCHAR); CREATE TABLE patient (SSN VARCHAR); CREATE TABLE stay (Patient VARCHAR) |
SELECT AVG(round) FROM table_name_42 WHERE overall = 62 | Overall of 62 is what average round? | CREATE TABLE table_name_42 (round INTEGER, overall VARCHAR) |
SELECT event FROM table_name_66 WHERE round < 2 AND location = "hong kong" | What event was in hong kong and went less than 2 rounds? | CREATE TABLE table_name_66 (event VARCHAR, round VARCHAR, location VARCHAR) |
SELECT 1991 FROM table_name_25 WHERE 1999 = "14" | What's the 1991 when 1999 is 14? | CREATE TABLE table_name_25 (Id VARCHAR) |
SELECT COUNT(draw) FROM table_name_75 WHERE artist = "dav mcnamara" AND place > 4 | What is the draw number of the Artist Dav Mcnamara and a place bigger than 4? | CREATE TABLE table_name_75 (draw VARCHAR, artist VARCHAR, place VARCHAR) |
SELECT description FROM table_256286_20 WHERE _percentage_yes = "41.76%" | Who had 41.76% yes votes | CREATE TABLE table_256286_20 (description VARCHAR, _percentage_yes VARCHAR) |
SELECT date FROM table_name_38 WHERE score = "92-134" | When was the score 92-134? | CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR) |
SELECT date FROM table_name_15 WHERE result = "loss" AND competition = "europe/africa group i, round robin" AND location = "murcia (esp)" AND year > 1998 | What is the date of the game with a loss result in the Europe/Africa Group I, Round Robin competition in Murcia (esp) after 1998? | CREATE TABLE table_name_15 (date VARCHAR, year VARCHAR, location VARCHAR, result VARCHAR, competition VARCHAR) |
SELECT nationality FROM table_2850912_1 WHERE nhl_team = "Minnesota North Stars" | What nationality is the draft pick player going to Minnesota North Stars? | CREATE TABLE table_2850912_1 (nationality VARCHAR, nhl_team VARCHAR) |
SELECT date FROM table_name_92 WHERE location_attendance = "the spectrum" | What was the date for the game that had a Location/Attendance of the spectrum? | CREATE TABLE table_name_92 (date VARCHAR, location_attendance VARCHAR) |
SELECT driver FROM table_name_15 WHERE laps < 498 AND points < 58 AND car__number > 22 AND winnings = "$93,514" | Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514? | CREATE TABLE table_name_15 (driver VARCHAR, winnings VARCHAR, car__number VARCHAR, laps VARCHAR, points VARCHAR) |
SELECT name FROM table_25794010_1 WHERE company = "company D" | Name the name for company d | CREATE TABLE table_25794010_1 (name VARCHAR, company VARCHAR) |
SELECT profits__billion_$_ FROM table_1682026_3 WHERE company = "Wells Fargo" | What are the profits of Wells Fargo (in billions)? | CREATE TABLE table_1682026_3 (profits__billion_$_ VARCHAR, company VARCHAR) |
SELECT week FROM table_name_6 WHERE finalist = "martina hingis" | What week was the finalist Martina Hingis? | CREATE TABLE table_name_6 (week VARCHAR, finalist VARCHAR) |
SELECT player FROM table_name_25 WHERE college = "akron" | Which players plays at Akron College? | CREATE TABLE table_name_25 (player VARCHAR, college VARCHAR) |
SELECT label FROM table_name_45 WHERE year = "1993" | Which label's year is 1993? | CREATE TABLE table_name_45 (label VARCHAR, year VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.