answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT evening_gown FROM table_17088705_2 WHERE swimsuit = "8.988" | Evening gown scores of participants with 8.988 swimsuit score | CREATE TABLE table_17088705_2 (evening_gown VARCHAR, swimsuit VARCHAR) |
SELECT qld_cup_premierships FROM table_2383498_4 WHERE home_ground = "Dairy Farmers Stadium" | What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium? | CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, home_ground VARCHAR) |
SELECT 2 AS nd_party FROM table_name_53 WHERE election = "1885" | What 2nd Party has an Election of 1885? | CREATE TABLE table_name_53 (election VARCHAR) |
SELECT jockey FROM table_24915874_1 WHERE weight__kg_ = "53.5" | For which jockey was the weight in kg 53.5? | CREATE TABLE table_24915874_1 (jockey VARCHAR, weight__kg_ VARCHAR) |
SELECT title FROM table_23958944_2 WHERE production_number = 103 | What's the title of the episode with production number 103? | CREATE TABLE table_23958944_2 (title VARCHAR, production_number VARCHAR) |
SELECT COUNT(hometown) FROM table_11677100_15 WHERE position = "Catcher" | How many hometowns does the catcher have? | CREATE TABLE table_11677100_15 (hometown VARCHAR, position VARCHAR) |
SELECT country FROM table_name_95 WHERE year > 2008 | Name the country with year more than 2008 | CREATE TABLE table_name_95 (country VARCHAR, year INTEGER) |
SELECT spokespersons FROM table_184803_4 WHERE voting_order = 9 | list the spokespersons where voting order is 9 | CREATE TABLE table_184803_4 (spokespersons VARCHAR, voting_order VARCHAR) |
SELECT MAX(rank) FROM table_name_66 WHERE rider = "colin martin" | What is the highest rank of rider colin martin? | CREATE TABLE table_name_66 (rank INTEGER, rider VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_name_70 WHERE player = "carl hagelin" | Tell me the college for carl hagelin | CREATE TABLE table_name_70 (college_junior_club_team__league_ VARCHAR, player VARCHAR) |
SELECT episodes_used FROM table_2144389_9 WHERE _number = 1 | When 1 is the number what episodes were used? | CREATE TABLE table_2144389_9 (episodes_used VARCHAR, _number VARCHAR) |
SELECT regular_season_winner FROM table_28365816_2 WHERE conference = "Big Seven conference" | During the Big Seven Conference which team was the regular season winner? | CREATE TABLE table_28365816_2 (regular_season_winner VARCHAR, conference VARCHAR) |
SELECT home_team FROM table_name_6 WHERE score = "1-3" | Which home team had the score 1-3? | CREATE TABLE table_name_6 (home_team VARCHAR, score VARCHAR) |
SELECT date FROM table_name_9 WHERE venue = "mexico city, mexico" AND goal = 8 | When was the venue mexico city, mexico with a goal of 8? | CREATE TABLE table_name_9 (date VARCHAR, venue VARCHAR, goal VARCHAR) |
SELECT loss FROM table_name_96 WHERE record = "22-35" | What was the loss of the Mariners game when they had a record of 22-35? | CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR) |
SELECT opponents FROM table_name_91 WHERE competition = "league cup" AND score = "3-1" | Who was the opponent at the League Cup competition with a score of 3-1? | CREATE TABLE table_name_91 (opponents VARCHAR, competition VARCHAR, score VARCHAR) |
SELECT SUM(no_of_customers) FROM bank | How many customers are there? | CREATE TABLE bank (no_of_customers INTEGER) |
SELECT outcome FROM table_name_43 WHERE opponent_in_the_final = "simone colombo" | Which Outcome has an Opponent in the final of simone colombo? | CREATE TABLE table_name_43 (outcome VARCHAR, opponent_in_the_final VARCHAR) |
SELECT away_team FROM table_name_91 WHERE home_team = "melbourne" | What is the name of the away team that played Melbourne? | CREATE TABLE table_name_91 (away_team VARCHAR, home_team VARCHAR) |
SELECT nhl_team FROM table_2886617_3 WHERE player = "Kevin McKay" | Which nhl team has the player kevin mckay? | CREATE TABLE table_2886617_3 (nhl_team VARCHAR, player VARCHAR) |
SELECT record FROM table_name_15 WHERE date = "may 21" | What was the record on May 21? | CREATE TABLE table_name_15 (record VARCHAR, date VARCHAR) |
SELECT COUNT(rank) FROM table_name_14 WHERE nation = "turkey (tur)" AND total > 2 | What's the rank of Turkey (TUR) with a total more than 2? | CREATE TABLE table_name_14 (rank VARCHAR, nation VARCHAR, total VARCHAR) |
SELECT MAX(support_rate), MIN(consider_rate), MIN(oppose_rate) FROM candidate | find the highest support percentage, lowest consider rate and oppose rate of all candidates. | CREATE TABLE candidate (support_rate INTEGER, consider_rate INTEGER, oppose_rate INTEGER) |
SELECT host_s_ FROM table_27487310_5 WHERE air_dates = "18 January 2012" | Who is the host on the series aired on 18 January 2012? | CREATE TABLE table_27487310_5 (host_s_ VARCHAR, air_dates VARCHAR) |
SELECT 2009 FROM table_name_77 WHERE tournament = "year-end ranking" | What is 2009, when Tournament is "Year-End Ranking"? | CREATE TABLE table_name_77 (tournament VARCHAR) |
SELECT week FROM table_name_93 WHERE attendance = "51,265" | Which week had an attendance of 51,265? | CREATE TABLE table_name_93 (week VARCHAR, attendance VARCHAR) |
SELECT hdtv FROM table_name_60 WHERE content = "music" | What is the HDTV of the Music Content Channel? | CREATE TABLE table_name_60 (hdtv VARCHAR, content VARCHAR) |
SELECT COUNT(player) FROM table_26077092_7 WHERE college = "Purdue" | How many players are from Purdue? | CREATE TABLE table_26077092_7 (player VARCHAR, college VARCHAR) |
SELECT COUNT(*), District FROM city WHERE Population > (SELECT AVG(Population) FROM city) GROUP BY District | Find the number of cities in each district whose population is greater than the average population of cities? | CREATE TABLE city (District VARCHAR, Population INTEGER) |
SELECT school FROM table_name_21 WHERE mascot = "generals" | Which School has a Mascot of generals? | CREATE TABLE table_name_21 (school VARCHAR, mascot VARCHAR) |
SELECT MIN(stolen_ends) FROM table_25107064_2 WHERE country = Germany | Name the stolen ends for germany | CREATE TABLE table_25107064_2 (stolen_ends INTEGER, country VARCHAR, Germany VARCHAR) |
SELECT air_date FROM table_name_89 WHERE episode_number < 11 AND event_1 = "atlasphere" | What is the air date the had atlasphere for event 1 before episode 11? | CREATE TABLE table_name_89 (air_date VARCHAR, episode_number VARCHAR, event_1 VARCHAR) |
SELECT district FROM table_name_7 WHERE first_elected = 1882 AND result = "re-elected" | Which district had a first elected in 1882 with a result of re-elected? | CREATE TABLE table_name_7 (district VARCHAR, first_elected VARCHAR, result VARCHAR) |
SELECT country FROM table_name_52 WHERE player = "jeff sluman" | What country does Jeff Sluman play for? | CREATE TABLE table_name_52 (country VARCHAR, player VARCHAR) |
SELECT masthead FROM table_name_15 WHERE end_month = "oct–69" | Which masthead ends on oct–69? | CREATE TABLE table_name_15 (masthead VARCHAR, end_month VARCHAR) |
SELECT league FROM table_name_13 WHERE position = "7th of 24" AND goals < 24 | Position of 7th of 24, and a Goals smaller than 24 is what league? | CREATE TABLE table_name_13 (league VARCHAR, position VARCHAR, goals VARCHAR) |
SELECT tournament FROM table_name_5 WHERE 2010 = "a" AND 2009 = "a" AND 2011 = "q1" | WHAT IS THE TOURNAMENT WITH A 2010 OF A, 2009 OF A, AND 001 PERFORMANCE OF Q1? | CREATE TABLE table_name_5 (tournament VARCHAR) |
SELECT COUNT(rank) FROM table_name_8 WHERE rider = "ray pickrell" | How many Ranks have ray pickrell as a Rider? | CREATE TABLE table_name_8 (rank VARCHAR, rider VARCHAR) |
SELECT winner FROM table_name_29 WHERE team = "r.j.macarthur onslow" AND circuit = "oran park raceway" | What is Winner, when Team is "R.J.MacArthur Onslow", and when Circuit is "Oran Park Raceway"? | CREATE TABLE table_name_29 (winner VARCHAR, team VARCHAR, circuit VARCHAR) |
SELECT name FROM Person ORDER BY age DESC | Find the names of all person sorted in the descending order using age. | CREATE TABLE Person (name VARCHAR, age VARCHAR) |
SELECT jockey FROM table_name_70 WHERE year < 2012 AND owner = "michael house" | What jockey rode for Michael House before 2012 | CREATE TABLE table_name_70 (jockey VARCHAR, year VARCHAR, owner VARCHAR) |
SELECT prize_money FROM table_name_56 WHERE commercial_name = "michelob light challenge of champions" | What prize money has michelob light challenge of champions as the commercial name? | CREATE TABLE table_name_56 (prize_money VARCHAR, commercial_name VARCHAR) |
SELECT entrant FROM table_name_6 WHERE engine = "ferrari v8" AND points < 4 | what is the entrant for the ferrari v8 with points less than 4? | CREATE TABLE table_name_6 (entrant VARCHAR, engine VARCHAR, points VARCHAR) |
SELECT wins FROM table_name_10 WHERE league = "playoffs" | What is the number of wins in the playoffs league? | CREATE TABLE table_name_10 (wins VARCHAR, league VARCHAR) |
SELECT score FROM table_name_2 WHERE game < 4 AND date = "april 19" | What score has a game less than 4, and april 19 as the date? | CREATE TABLE table_name_2 (score VARCHAR, game VARCHAR, date VARCHAR) |
SELECT T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID WHERE T3.Age < 34 | Show the fleet series of the aircrafts flied by pilots younger than 34 | CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_ID VARCHAR, Age INTEGER); CREATE TABLE aircraft (Fleet_Series VARCHAR, Aircraft_ID VARCHAR) |
SELECT date FROM table_name_54 WHERE record = "3-4" | Which Date has a Record of 3-4? | CREATE TABLE table_name_54 (date VARCHAR, record VARCHAR) |
SELECT eliminated FROM table_24233848_2 WHERE finish = "7th voted Out Day 21" | Name the eliminated 7th voted out day 21 | CREATE TABLE table_24233848_2 (eliminated VARCHAR, finish VARCHAR) |
SELECT MAX(grid) FROM table_name_89 WHERE laps > 137 AND rank < 8 | Name the highest grid for Laps more than 137 and rank is less than 8 | CREATE TABLE table_name_89 (grid INTEGER, laps VARCHAR, rank VARCHAR) |
SELECT home_team AS score FROM table_name_85 WHERE home_team = "fitzroy" | When fitzroy what was the home team score? | CREATE TABLE table_name_85 (home_team VARCHAR) |
SELECT COUNT(lane) FROM table_name_2 WHERE name = "emily seebohm" | What lane was Emily Seebohm in? | CREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR) |
SELECT particle FROM table_name_61 WHERE rest_mass_mev___c_2 = "1192.642(24)" | Which Particle has a Rest mass MeV/c 2 of 1192.642(24)? | CREATE TABLE table_name_61 (particle VARCHAR, rest_mass_mev___c_2 VARCHAR) |
SELECT original_airing FROM table_name_60 WHERE audience_share__average_ = "8%" | Where the audience share is 8%, what is the original airing? | CREATE TABLE table_name_60 (original_airing VARCHAR, audience_share__average_ VARCHAR) |
SELECT AVG(tournaments) FROM table_name_90 WHERE highest_rank = "maegashira 1" | What is the average Tournaments, when Highest Rank is "Maegashira 1"? | CREATE TABLE table_name_90 (tournaments INTEGER, highest_rank VARCHAR) |
SELECT MIN(laps) FROM table_name_12 WHERE grid = 14 | What is the low lap total for a grid of 14? | CREATE TABLE table_name_12 (laps INTEGER, grid VARCHAR) |
SELECT MIN(wins) FROM table_name_87 WHERE player = "ben crenshaw" | What is the lowest number of wins for ben crenshaw? | CREATE TABLE table_name_87 (wins INTEGER, player VARCHAR) |
SELECT television_commentator FROM table_1998037_9 WHERE spokesperson = "Kateryna Osadcha" | Who is the television commentator when the spokesperson is Kateryna Osadcha? | CREATE TABLE table_1998037_9 (television_commentator VARCHAR, spokesperson VARCHAR) |
SELECT team FROM table_17323092_5 WHERE score = "L 97–107 (OT)" | Whic teams scored l 97–107 (ot) | CREATE TABLE table_17323092_5 (team VARCHAR, score VARCHAR) |
SELECT team FROM table_18461635_1 WHERE county = "Derbyshire" | What is the name of the team from Derbyshire county? | CREATE TABLE table_18461635_1 (team VARCHAR, county VARCHAR) |
SELECT outcome FROM table_name_64 WHERE surface = "grass" | What was the outcome of the match played on grass? | CREATE TABLE table_name_64 (outcome VARCHAR, surface VARCHAR) |
SELECT name FROM table_name_96 WHERE years = "1974" | What is the name of the head coach of 1974? | CREATE TABLE table_name_96 (name VARCHAR, years VARCHAR) |
SELECT winner FROM table_name_76 WHERE win__number > 1 AND points < 94 | What is Winner, when Win # is greater than 1, and when Points is less than 94? | CREATE TABLE table_name_76 (winner VARCHAR, win__number VARCHAR, points VARCHAR) |
SELECT name FROM table_name_92 WHERE moving_to = "union" AND country = "cmr" | What is the union moving name and is from cmr? | CREATE TABLE table_name_92 (name VARCHAR, moving_to VARCHAR, country VARCHAR) |
SELECT AVG(floors) FROM table_name_45 WHERE building = "td building redevelopment (office)" | What are the number of floors for the building of td building redevelopment (office)? | CREATE TABLE table_name_45 (floors INTEGER, building VARCHAR) |
SELECT MAX(year) FROM table_name_54 WHERE nominated_work = "the mineola twins" AND category = "outstanding actress in a play" AND award = "drama desk award" | What is the most recent year that the Mineola Twins was nominated for outstanding actress in a play and a Drama Desk award? | CREATE TABLE table_name_54 (year INTEGER, award VARCHAR, nominated_work VARCHAR, category VARCHAR) |
SELECT air_date FROM table_name_65 WHERE viewers = 7.3 | When did the episode air that had 7.3 viewers? | CREATE TABLE table_name_65 (air_date VARCHAR, viewers VARCHAR) |
SELECT opponent FROM table_name_33 WHERE game = 63 | Which Opponent has a Game of 63? | CREATE TABLE table_name_33 (opponent VARCHAR, game VARCHAR) |
SELECT AVG(attendance) FROM table_name_43 WHERE date = "november 1, 1964" AND week > 8 | After week 8, what was the Attendance on November 1, 1964? | CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, week VARCHAR) |
SELECT score FROM table_name_68 WHERE set_3 = "26–28" | What is the Score when the set 3 is 26–28? | CREATE TABLE table_name_68 (score VARCHAR, set_3 VARCHAR) |
SELECT country FROM table_name_64 WHERE player = "raymond floyd" | What is player raymond floyd's country? | CREATE TABLE table_name_64 (country VARCHAR, player VARCHAR) |
SELECT death FROM table_name_75 WHERE birth = "1309" | What is the date of death of the Countess of Flanders who was born in 1309? | CREATE TABLE table_name_75 (death VARCHAR, birth VARCHAR) |
SELECT SUM(glyph) FROM table_name_4 WHERE hexadecimal = 38 AND binary < 111000 | What is the sum of the glyph with a 38 hexadecimal and a binary less than 111000? | CREATE TABLE table_name_4 (glyph INTEGER, hexadecimal VARCHAR, binary VARCHAR) |
SELECT player FROM table_1965650_10 WHERE nhl_team = "California Golden Seals" | What player is from the California Golden Seals? | CREATE TABLE table_1965650_10 (player VARCHAR, nhl_team VARCHAR) |
SELECT date FROM table_name_21 WHERE away_team = "gold coast blaze" | What was the date that featured a game against Gold Coast Blaze? | CREATE TABLE table_name_21 (date VARCHAR, away_team VARCHAR) |
SELECT semi_final_dual_television_commentator FROM table_name_96 WHERE grand_final_television_commentator = "pierre tchernia" AND spokesperson = "unknown" | What is the semi-final dual television commentator status of the year with Pierre Tchernia as the grand final television commentator and an unknown spokesperson? | CREATE TABLE table_name_96 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR) |
SELECT player FROM table_name_52 WHERE nhl_team = "pittsburgh penguins" | Which player(s) was drafted by the Pittsburgh Penguins? | CREATE TABLE table_name_52 (player VARCHAR, nhl_team VARCHAR) |
SELECT score FROM table_name_40 WHERE money___$__ = "3,600" | What is the score for the player who won $3,600? | CREATE TABLE table_name_40 (score VARCHAR, money___$__ VARCHAR) |
SELECT COUNT(played) FROM table_name_60 WHERE position > 5 AND points = 11 AND drawn < 1 | Can you tell me the total number of Played that has the Position larger than 5, and the Points of 11, and the Drawn smaller than 1? | CREATE TABLE table_name_60 (played VARCHAR, drawn VARCHAR, position VARCHAR, points VARCHAR) |
SELECT home FROM table_name_76 WHERE visitor = "chicago" | Name the home with chicago visiting | CREATE TABLE table_name_76 (home VARCHAR, visitor VARCHAR) |
SELECT sprint_classification FROM table_29332810_14 WHERE winner = "Francisco Ventoso" | Who is the sprint classification where Francisco Ventoso wins? | CREATE TABLE table_29332810_14 (sprint_classification VARCHAR, winner VARCHAR) |
SELECT score FROM table_23286112_7 WHERE date = "December 7" | What is the score for the date of December 7? | CREATE TABLE table_23286112_7 (score VARCHAR, date VARCHAR) |
SELECT COUNT(first_elected) FROM table_name_29 WHERE incumbent = "norm dicks" | What is the total of the first elected year of incumbent norm dicks? | CREATE TABLE table_name_29 (first_elected VARCHAR, incumbent VARCHAR) |
SELECT position FROM table_name_84 WHERE player = "van waiters" | What is Van Waiters position? | CREATE TABLE table_name_84 (position VARCHAR, player VARCHAR) |
SELECT days FROM table_name_18 WHERE year = "1945" AND constituency = "heywood and radcliffe" | What are the number of days in 1945 where the constituent was heywood and radcliffe? | CREATE TABLE table_name_18 (days VARCHAR, year VARCHAR, constituency VARCHAR) |
SELECT COUNT(original_air_date) FROM table_28859177_3 WHERE directed_by = "Bethany Rooney" | How many original air dates did the episode directed by Bethany rooney have? | CREATE TABLE table_28859177_3 (original_air_date VARCHAR, directed_by VARCHAR) |
SELECT ht_brewer FROM table_1320857_1 WHERE je_armstrong = "A.J. Wilson" | Who is h.t. brewer when j.e. armstrong is a.j. wilson? | CREATE TABLE table_1320857_1 (ht_brewer VARCHAR, je_armstrong VARCHAR) |
SELECT AVG(wins) FROM table_name_43 WHERE club = "terang" AND draws < 0 | What is the average number of wins for the Terang Club, when there are less than 0 draws? | CREATE TABLE table_name_43 (wins INTEGER, club VARCHAR, draws VARCHAR) |
SELECT award FROM table_name_90 WHERE year < 2004 AND episode = "—" | What award has a year earlier than 2004 and the episode shows —? | CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR) |
SELECT AVG(tries) FROM table_name_22 WHERE start > 32 AND player = "seremaia bai" AND conv > 47 | What is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47? | CREATE TABLE table_name_22 (tries INTEGER, conv VARCHAR, start VARCHAR, player VARCHAR) |
SELECT COUNT(game) FROM table_28768469_7 WHERE high_assists = "Earl Watson (11)" AND location_attendance = "KeyArena 16,841" | How many games have high assists as earl watson (11) and location attendance as Keyarena 16,841? | CREATE TABLE table_28768469_7 (game VARCHAR, high_assists VARCHAR, location_attendance VARCHAR) |
SELECT home_team AS score FROM table_name_99 WHERE venue = "vfl park" | What was the home team score at VFL Park? | CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR) |
SELECT score FROM table_name_39 WHERE date = "april 8" | What was the score on April 8? | CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR) |
SELECT club FROM table_name_74 WHERE league_cup_goals = 0 AND league_goals = "11" AND scorer = "joe laidlaw" | Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe laidlaw? | CREATE TABLE table_name_74 (club VARCHAR, scorer VARCHAR, league_cup_goals VARCHAR, league_goals VARCHAR) |
SELECT loss FROM table_name_82 WHERE record = "42-36" | What is the loss for the record of 42-36? | CREATE TABLE table_name_82 (loss VARCHAR, record VARCHAR) |
SELECT COUNT(top_25) FROM table_name_65 WHERE events > 86 | What is the total number of Top-25, when Events is greater than 86? | CREATE TABLE table_name_65 (top_25 VARCHAR, events INTEGER) |
SELECT MAX(bronze) FROM table_name_53 WHERE total < 82 AND nation = "san marino" AND gold < 3 | What is the highest bronze for San Marino with less than 82 total and less than 3 golds? | CREATE TABLE table_name_53 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR) |
SELECT i_o_bus FROM table_name_28 WHERE sspec_number = "sr0n5(l1)" | what is the i/o bus when the sspec numebr is sr0n5(l1)? | CREATE TABLE table_name_28 (i_o_bus VARCHAR, sspec_number VARCHAR) |
SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo" | Which track has the original album turbulent indigo? | CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR) |
SELECT COUNT(year) FROM table_name_95 WHERE game = "the walking dead" | What year was The Walking Dead? | CREATE TABLE table_name_95 (year VARCHAR, game VARCHAR) |
SELECT young_rider_classification FROM table_25999087_2 WHERE winner = "Jelle Vanendert" | Who is every young rider classification when Jelle Vanendert is the winner? | CREATE TABLE table_25999087_2 (young_rider_classification VARCHAR, winner VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.