answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT nation FROM table_name_88 WHERE world_rank = "6" AND birth_date = "1971-07-31" | what is the nation when the world rank is 6 and the birth date is 1971-07-31? | CREATE TABLE table_name_88 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR) |
SELECT nationality FROM table_name_67 WHERE pick = "140" | Tell me the nationality of pick 140 | CREATE TABLE table_name_67 (nationality VARCHAR, pick VARCHAR) |
SELECT channel FROM table_14523485_9 WHERE top_prize = "€100,000" | What channel had the prize of €100,000? | CREATE TABLE table_14523485_9 (channel VARCHAR, top_prize VARCHAR) |
SELECT record FROM table_name_63 WHERE date = "september 7" | On September 7 what was the record? | CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR) |
SELECT COUNT(attendance) FROM table_name_67 WHERE home = "lakers" | What is the attendance total of the game with the Lakers as the home team? | CREATE TABLE table_name_67 (attendance VARCHAR, home VARCHAR) |
SELECT position FROM table_name_35 WHERE player = "adam rachel" | What position does adam rachel play? | CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR) |
SELECT tamil FROM table_name_89 WHERE hindi = "sukravar" | WHAT IS THE TAMIL WITH A SUKRAVAR ? | CREATE TABLE table_name_89 (tamil VARCHAR, hindi VARCHAR) |
SELECT video FROM table_name_14 WHERE aspect = "16:9" | Which Video has an Aspect of 16:9? | CREATE TABLE table_name_14 (video VARCHAR, aspect VARCHAR) |
SELECT score FROM table_name_48 WHERE loss = "williams (1-1)" | What was the score of the game that had a loss of Williams (1-1)? | CREATE TABLE table_name_48 (score VARCHAR, loss VARCHAR) |
SELECT player FROM table_name_15 WHERE position = "f" AND college = "depauw" | Who plays f position for depauw? | CREATE TABLE table_name_15 (player VARCHAR, position VARCHAR, college VARCHAR) |
SELECT losing_team FROM table_name_87 WHERE venue = "sydney football stadium" AND total > 80 AND winning_team = "tigers" | WHich Losing Team has a Venue of sydney football stadium, and a Total larger than 80, and a Winning Team of tigers? | CREATE TABLE table_name_87 (losing_team VARCHAR, winning_team VARCHAR, venue VARCHAR, total VARCHAR) |
SELECT score FROM table_name_89 WHERE player = "jock hutchison" | What is the score for Jock Hutchison? | CREATE TABLE table_name_89 (score VARCHAR, player VARCHAR) |
SELECT MAX(goals) FROM table_name_34 WHERE name = "samuel eto'o" | What is the greatest Goals with a Name of samuel eto'o? | CREATE TABLE table_name_34 (goals INTEGER, name VARCHAR) |
SELECT SUM(position) FROM table_name_88 WHERE lost < 14 AND goal_difference = "+1" AND drawn > 15 | what is the position when lot is less than 14, goal difference is +1 and drawn is more than 15? | CREATE TABLE table_name_88 (position INTEGER, drawn VARCHAR, lost VARCHAR, goal_difference VARCHAR) |
SELECT MIN(goals_against) FROM table_name_31 WHERE points = 83 AND goal_difference > 50 | What is the lowest goals against value for a team with 83 points and a difference over 50? | CREATE TABLE table_name_31 (goals_against INTEGER, points VARCHAR, goal_difference VARCHAR) |
SELECT ground FROM table_name_1 WHERE home_team = "sydney" | The Home team of Sydney had which ground? | CREATE TABLE table_name_1 (ground VARCHAR, home_team VARCHAR) |
SELECT nationality FROM table_name_92 WHERE years_for_jazz = "1984-85" | Which nationality has Years for Jazz of 1984-85? | CREATE TABLE table_name_92 (nationality VARCHAR, years_for_jazz VARCHAR) |
SELECT attendance FROM table_17120964_6 WHERE opponent = "Swindon Wildcats" AND venue = "Home" | What was the total attendance during the home game against the Swindon Wildcats? | CREATE TABLE table_17120964_6 (attendance VARCHAR, opponent VARCHAR, venue VARCHAR) |
SELECT date FROM table_name_55 WHERE home = "st. louis" | What was the date of the game when St. Louis was the home team? | CREATE TABLE table_name_55 (date VARCHAR, home VARCHAR) |
SELECT candidates FROM table_1341395_22 WHERE incumbent = "Ed Markey" | Who were the candidates when ed markey was the incumbent? | CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR) |
SELECT AVG(year) FROM table_name_71 WHERE points < 9 AND rank = "24th" | What's the average Year that has Points that's smaller than 9 with a Rank of 24th? | CREATE TABLE table_name_71 (year INTEGER, points VARCHAR, rank VARCHAR) |
SELECT year FROM table_name_83 WHERE accolade = "scottish albums of the decade" | What year was the accolade for Scottish albums of the decade? | CREATE TABLE table_name_83 (year VARCHAR, accolade 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 COUNT(rank) FROM table_name_65 WHERE country = "ukraine" | What is the Rank of the Athletes from Ukraine? | CREATE TABLE table_name_65 (rank VARCHAR, country VARCHAR) |
SELECT 2010 FROM table_name_30 WHERE 2006 = "a" AND 2011 = "a" | What 2010 has an A 2006 & 2011? | CREATE TABLE table_name_30 (Id VARCHAR) |
SELECT entrant FROM table_name_86 WHERE constructor = "maserati" AND tyre = "p" AND chassis = "250f a6gcm" AND driver = "luigi villoresi" | Can you say what was the entrant of maserati built item with a Tyre of p with a chassis of 250f a6gcm that was driven by Luigi Villoresi? | CREATE TABLE table_name_86 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR, constructor VARCHAR, tyre VARCHAR) |
SELECT engine FROM table_name_49 WHERE chassis = "march" AND drivers = "steve chassey" | What engine does Steve Chassey drive with a march chassis? | CREATE TABLE table_name_49 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR) |
SELECT days_of_the_week FROM table_name_31 WHERE time_of_broadcast = "january–february, june 2002" | Which Days of the week has a Time of broadcast in january–february, june 2002? | CREATE TABLE table_name_31 (days_of_the_week VARCHAR, time_of_broadcast VARCHAR) |
SELECT date FROM table_11960944_11 WHERE score = "L 88–79" | What date was the game for the score L 88–79? | CREATE TABLE table_11960944_11 (date VARCHAR, score VARCHAR) |
SELECT round FROM table_name_40 WHERE name = "jonathan massaquoi" | Which round's name is Jonathan Massaquoi? | CREATE TABLE table_name_40 (round VARCHAR, name VARCHAR) |
SELECT country FROM table_name_47 WHERE score = 66 - 72 - 70 - 69 = 277 | What is the Country of the Player with a Score of 66-72-70-69=277? | CREATE TABLE table_name_47 (country VARCHAR, score VARCHAR) |
SELECT surface FROM table_name_59 WHERE opponent_in_the_final = "anna benzon" | What was the surface of the tournament where Anna Benzon was the opponent in the final? | CREATE TABLE table_name_59 (surface VARCHAR, opponent_in_the_final VARCHAR) |
SELECT COUNT(rnd) FROM table_13512105_3 WHERE race = "Kansas" | tell the number of times where kansas was the location | CREATE TABLE table_13512105_3 (rnd VARCHAR, race VARCHAR) |
SELECT result FROM table_29644931_1 WHERE category = "Opening Night Film" | What was the result when competing in the Opening NIght Film category? | CREATE TABLE table_29644931_1 (result VARCHAR, category VARCHAR) |
SELECT date FROM table_name_91 WHERE runner_s__up = "yani tseng" | What date has yani tseng as the runner (s)-up? | CREATE TABLE table_name_91 (date VARCHAR, runner_s__up VARCHAR) |
SELECT round FROM table_name_63 WHERE nfl_club = "new york jets" | What is the round of the new york jets NFL club? | CREATE TABLE table_name_63 (round VARCHAR, nfl_club VARCHAR) |
SELECT SUM(events) FROM table_name_97 WHERE rank > 5 | the sum of Events that has a Rank larger than 5 is 3 | CREATE TABLE table_name_97 (events INTEGER, rank INTEGER) |
SELECT venue FROM table_name_61 WHERE player = "michael di venuto" AND season = "2000/01" | Which Venue has michael di venuto on Season of 2000/01? | CREATE TABLE table_name_61 (venue VARCHAR, player VARCHAR, season VARCHAR) |
SELECT tourney_name FROM matches GROUP BY tourney_name HAVING COUNT(*) > 10 | Find the name of tourney that has more than 10 matches. | CREATE TABLE matches (tourney_name VARCHAR) |
SELECT tournament FROM table_name_85 WHERE finalist = "richard krajicek" | Which tournament had Richard Krajicek as a finalist? | CREATE TABLE table_name_85 (tournament VARCHAR, finalist VARCHAR) |
SELECT MAX(division) FROM table_1939235_1 WHERE regular_season = "5th" | When 5th is the regular season what is the highest season? | CREATE TABLE table_1939235_1 (division INTEGER, regular_season VARCHAR) |
SELECT 2011 FROM table_name_70 WHERE tournament = "australian open" AND 2010 = "qf" | What is the 2011 Australian Open and a 2010 QF? | CREATE TABLE table_name_70 (tournament VARCHAR) |
SELECT circuit FROM table_25213146_2 WHERE winning_driver = "Bruno Spengler" | In what circuit was Bruno Spengler the winning driver? | CREATE TABLE table_25213146_2 (circuit VARCHAR, winning_driver VARCHAR) |
SELECT AVG(round) FROM table_name_75 WHERE school_club_team = "memphis" | In what Round was the Memphis Player drafted? | CREATE TABLE table_name_75 (round INTEGER, school_club_team VARCHAR) |
SELECT origin, COUNT(*) FROM Flight GROUP BY origin | Show all origins and the number of flights from each origin. | CREATE TABLE Flight (origin VARCHAR) |
SELECT DISTINCT LOCATION FROM cinema | What are all the locations with a cinema? | CREATE TABLE cinema (LOCATION VARCHAR) |
SELECT state FROM table_name_13 WHERE first_elected = "1966" AND member = "alan jarman" | What is the State, when the year First elected is 1966, and when the Member is Alan Jarman? | CREATE TABLE table_name_13 (state VARCHAR, first_elected VARCHAR, member VARCHAR) |
SELECT AVG(wins) FROM table_name_22 WHERE events > 28 | What is the average number of wins for events larger than 28? | CREATE TABLE table_name_22 (wins INTEGER, events INTEGER) |
SELECT opponent FROM table_name_23 WHERE date = "february 8, 1990" | who is the opponent on february 8, 1990? | CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR) |
SELECT college FROM table_14655757_1 WHERE player = "Byron Williams" | What college did Byron Williams attend? | CREATE TABLE table_14655757_1 (college VARCHAR, player VARCHAR) |
SELECT SUM(byes) FROM table_name_85 WHERE wins = 7 AND against > 1412 | What's the number of byes for someone who had 7 wins and an against number greater than 1412? | CREATE TABLE table_name_85 (byes INTEGER, wins VARCHAR, against VARCHAR) |
SELECT record FROM table_name_64 WHERE home = "minnesota" | What was the record when Minnesota was the home team? | CREATE TABLE table_name_64 (record VARCHAR, home VARCHAR) |
SELECT crowd FROM table_name_57 WHERE away_team = "geelong" | What is the crowd size when Geelong is the away team? | CREATE TABLE table_name_57 (crowd VARCHAR, away_team VARCHAR) |
SELECT result FROM table_name_81 WHERE date = "27 august 2003" | What was the result on 27 august 2003? | CREATE TABLE table_name_81 (result VARCHAR, date VARCHAR) |
SELECT womens_u20 FROM table_16724844_1 WHERE mens_45 = "SunWest Razorbacks def Northern Eagles" | What were the results of the womens u20 when the mens 45 was Sunwest Razorbacks def Northern Eagles? | CREATE TABLE table_16724844_1 (womens_u20 VARCHAR, mens_45 VARCHAR) |
SELECT type FROM table_name_91 WHERE state = "chen" AND name = "you" | What type is You from the state of Chen? | CREATE TABLE table_name_91 (type VARCHAR, state VARCHAR, name VARCHAR) |
SELECT driver FROM table_name_39 WHERE constructor = "maserati" AND grid < 6 AND time_retired = "+2 laps" | Who was driving the Maserati with a Grid smaller than 6, and a Time/Retired of +2 laps? | CREATE TABLE table_name_39 (driver VARCHAR, time_retired VARCHAR, constructor VARCHAR, grid VARCHAR) |
SELECT MIN(fa_cup) FROM table_name_9 WHERE league > 0 AND malaysia_cup > 5 | What is the lowest FA cup that has a league greater than 0, with a Malaysia cup greater than 5? | CREATE TABLE table_name_9 (fa_cup INTEGER, league VARCHAR, malaysia_cup VARCHAR) |
SELECT spokespersons FROM table_184803_4 WHERE country = "Luxembourg" | wich spokesperson talked on luxembourg | CREATE TABLE table_184803_4 (spokespersons VARCHAR, country VARCHAR) |
SELECT record FROM table_name_36 WHERE game < 31 | WHAT IS THE RECORD FOR THE GAME SMALLER THAN 31? | CREATE TABLE table_name_36 (record VARCHAR, game INTEGER) |
SELECT result FROM table_17861179_1 WHERE week = 6 | For week 6, what were the results? | CREATE TABLE table_17861179_1 (result VARCHAR, week VARCHAR) |
SELECT Callback AS date FROM table_name_28 WHERE date = "july 29, 2008" | What was the callback date for the auditions held on July 29, 2008? | CREATE TABLE table_name_28 (Callback VARCHAR, date VARCHAR) |
SELECT type_of_work FROM table_207795_1 WHERE published_in_english = "N/A" AND published_in_russian = "1986" | when it published in english is n/a and published in russian is 1986, what is the type of work? | CREATE TABLE table_207795_1 (type_of_work VARCHAR, published_in_english VARCHAR, published_in_russian VARCHAR) |
SELECT tenure FROM table_name_28 WHERE team_nickname = "tritons" | What is the tenure for the Tritons team? | CREATE TABLE table_name_28 (tenure VARCHAR, team_nickname VARCHAR) |
SELECT location FROM table_name_26 WHERE owner = "johnson c. smith university" | What is the location of the venue owned by johnson c. smith university? | CREATE TABLE table_name_26 (location VARCHAR, owner VARCHAR) |
SELECT DISTINCT home_city FROM driver | Show all different home cities. | CREATE TABLE driver (home_city VARCHAR) |
SELECT club FROM table_name_92 WHERE away_result = "1–1" AND round = "1r" AND season = "1967-68" | Away result of 1–1, and a Round of 1r, and a Season of 1967-68 involves what club? | CREATE TABLE table_name_92 (club VARCHAR, season VARCHAR, away_result VARCHAR, round VARCHAR) |
SELECT winning_team FROM table_name_22 WHERE year = 2008 | Who was the winning team in 2008? | CREATE TABLE table_name_22 (winning_team VARCHAR, year VARCHAR) |
SELECT COUNT(total) FROM table_name_90 WHERE player = "oisin mcconville" AND matches < 5 | How many total points did Oisin McConville have from his 5 matches? | CREATE TABLE table_name_90 (total VARCHAR, player VARCHAR, matches VARCHAR) |
SELECT stadium FROM table_name_88 WHERE city = "braga" | What is the stadium for the city of Braga? | CREATE TABLE table_name_88 (stadium VARCHAR, city VARCHAR) |
SELECT jasons_team FROM table_23292220_8 WHERE first_broadcast = "12 June 2009" | Who was on Jason's team for the 12 June 2009 episode? | CREATE TABLE table_23292220_8 (jasons_team VARCHAR, first_broadcast VARCHAR) |
SELECT role_episode FROM table_name_21 WHERE year > 2006 AND recipients_and_nominees = "ellen burstyn" | What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee? | CREATE TABLE table_name_21 (role_episode VARCHAR, year VARCHAR, recipients_and_nominees VARCHAR) |
SELECT state FROM table_name_4 WHERE mountain_peak = "west spanish peak" | Which state is West Spanish Peak in? | CREATE TABLE table_name_4 (state VARCHAR, mountain_peak VARCHAR) |
SELECT method FROM table_name_4 WHERE event = "mars: attack 1" | What was the method of fight completion for the Mars: Attack 1 event? | CREATE TABLE table_name_4 (method VARCHAR, event VARCHAR) |
SELECT manner_of_departure FROM table_17115950_2 WHERE outgoing_manager = "Nicolae Manea" | What was the manner of departure of Nicolae Manea? | CREATE TABLE table_17115950_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) |
SELECT MIN(games) FROM table_name_86 WHERE name = "shaun stonerook" | What is the number of games for Shaun Stonerook? | CREATE TABLE table_name_86 (games INTEGER, name VARCHAR) |
SELECT assist_pass FROM table_name_73 WHERE result = "6-2" | Which Assist/pass has a Result of 6-2? | CREATE TABLE table_name_73 (assist_pass VARCHAR, result VARCHAR) |
SELECT games FROM table_name_61 WHERE bronze = "8" AND gold = "4" | Which game had 8 bronze and 4 gold? | CREATE TABLE table_name_61 (games VARCHAR, bronze VARCHAR, gold VARCHAR) |
SELECT opponent FROM table_name_48 WHERE date = "august 12" | Who did they play on August 12? | CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR) |
SELECT position FROM table_name_88 WHERE round > 2 AND pick < 183 AND player = "jim obradovich" | Jim Obradovich, picked after round 2, but before pick 183, plays what position? | CREATE TABLE table_name_88 (position VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR) |
SELECT record FROM table_name_77 WHERE score = "21-16" | What was the record at the game with a score of 21-16? | CREATE TABLE table_name_77 (record VARCHAR, score VARCHAR) |
SELECT driver FROM table_name_61 WHERE record = "qualifying" AND time = "24.761" | Which driver set the Qualifying record with a time of 24.761 seconds? | CREATE TABLE table_name_61 (driver VARCHAR, record VARCHAR, time VARCHAR) |
SELECT category FROM table_18138132_2 WHERE version = "1.0" AND title = "Chord Finder" | What is the category when the version is 1.0 and the title is Chord finder? | CREATE TABLE table_18138132_2 (category VARCHAR, version VARCHAR, title VARCHAR) |
SELECT player FROM table_name_11 WHERE to_par = "e" AND country = "spain" | Who is from Spain with a to par of e? | CREATE TABLE table_name_11 (player VARCHAR, to_par VARCHAR, country VARCHAR) |
SELECT district FROM table_name_44 WHERE iucn = "iii" AND est = 1998 | Which district has an IUCN of iii and was established in 1998? | CREATE TABLE table_name_44 (district VARCHAR, iucn VARCHAR, est VARCHAR) |
SELECT category FROM table_name_95 WHERE result = "won" AND year = 1998 AND award = "sundance film festival" | Which category won the Sundance Film Festival award in 1998? | CREATE TABLE table_name_95 (category VARCHAR, award VARCHAR, result VARCHAR, year VARCHAR) |
SELECT season FROM table_name_4 WHERE opponent = "hibernians" | Which Season has an Opponent of hibernians? | CREATE TABLE table_name_4 (season VARCHAR, opponent VARCHAR) |
SELECT streak FROM table_name_53 WHERE date = "january 7" | Which Streak has a Date of january 7? | CREATE TABLE table_name_53 (streak VARCHAR, date VARCHAR) |
SELECT SUM(bronze) FROM table_name_79 WHERE gold > 1 AND nation = "france" AND rank < 1 | How many France bronze have a gold of more than 1 and a rank of 0? | CREATE TABLE table_name_79 (bronze INTEGER, rank VARCHAR, gold VARCHAR, nation VARCHAR) |
SELECT location FROM table_25840200_1 WHERE notes = "Undercard of Stevenson/Bellew" | Where was the Undercard of Stevenson/Bellew? | CREATE TABLE table_25840200_1 (location VARCHAR, notes VARCHAR) |
SELECT score_in_the_final FROM table_name_90 WHERE partner = "lindsay lee-waters" | With Lindsay Lee-Waters as a partner, what was the final score? | CREATE TABLE table_name_90 (score_in_the_final VARCHAR, partner VARCHAR) |
SELECT genre FROM table_name_16 WHERE language = "hindi" AND network = "star gold" | What Genre has Hindi as the Language and Star Gold as the Network? | CREATE TABLE table_name_16 (genre VARCHAR, language VARCHAR, network VARCHAR) |
SELECT MAX(home_runs) FROM table_name_92 WHERE team = "cleveland indians" AND year < 1931 | Tell me the highest home runs for cleveland indians years before 1931 | CREATE TABLE table_name_92 (home_runs INTEGER, team VARCHAR, year VARCHAR) |
SELECT date FROM table_30073089_2 WHERE season = 2011 AND position > 2.0 | Name the date for 2011 and position larger than 2.0 | CREATE TABLE table_30073089_2 (date VARCHAR, season VARCHAR, position VARCHAR) |
SELECT MIN(production_code) FROM table_27988408_1 WHERE written_by = "Bryan Moore & Chris Peterson" | Name the least production code for bryan moore & chris peterson | CREATE TABLE table_27988408_1 (production_code INTEGER, written_by VARCHAR) |
SELECT COUNT(game) FROM table_name_56 WHERE series = "4-2" | What is the game number for series 4-2? | CREATE TABLE table_name_56 (game VARCHAR, series VARCHAR) |
SELECT opponent_in_the_final FROM table_name_92 WHERE outcome = "winner" AND date = "14-may-2007" | What is the Opponent in the final with an outcome of winner on 14-may-2007? | CREATE TABLE table_name_92 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) |
SELECT MAX(pick) FROM table_name_40 WHERE college = "syracuse" AND overall < 18 | What is the highest Pick, when College is "Syracuse", and when Overall is less than 18? | CREATE TABLE table_name_40 (pick INTEGER, college VARCHAR, overall VARCHAR) |
SELECT SUM(attendance) FROM table_name_54 WHERE game > 2 AND time = "2:37" | How many people went to the game that lasted 2:37 after game 2? | CREATE TABLE table_name_54 (attendance INTEGER, game VARCHAR, time VARCHAR) |
SELECT COUNT(population_est__2012_) FROM table_name_53 WHERE capital = "montpelier" AND house_seat_s_ > 1 | How many populations have a capital of Montpelier and more than 1 House seat? | CREATE TABLE table_name_53 (population_est__2012_ VARCHAR, capital VARCHAR, house_seat_s_ VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.