answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT AVG(final) FROM table_name_12 WHERE all_around > 19.4 AND total > 39.9 | What is the average final with an all around larger than 19.4 and total more than 39.9? | CREATE TABLE table_name_12 (final INTEGER, all_around VARCHAR, total VARCHAR) |
SELECT frequency FROM table_name_67 WHERE format = "country / news / sports" | WHich Frequency has a Format of country / news / sports? | CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR) |
SELECT romaji_title FROM table_name_64 WHERE japanese_title = "女王の教室" | Which Romaji Title has a Japanese Title of 女王の教室? | CREATE TABLE table_name_64 (romaji_title VARCHAR, japanese_title VARCHAR) |
SELECT AVG(gold) FROM table_name_55 WHERE bronze = 1 AND total > 2 AND silver < 3 | What is the average number of golds for teams with 1 bronze, less than 3 silver, and a total over 2? | CREATE TABLE table_name_55 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total 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 report FROM table_1140074_2 WHERE rnd = 4 | what's the report with rnd being 4 | CREATE TABLE table_1140074_2 (report VARCHAR, rnd VARCHAR) |
SELECT year_ceremony FROM table_name_53 WHERE english_title = "kelin" | What year was Kelin nominated? | CREATE TABLE table_name_53 (year_ceremony VARCHAR, english_title VARCHAR) |
SELECT party FROM table_1342249_5 WHERE incumbent = "Brooks Hays" | What party did incumbent Brooks Hays belong to? | CREATE TABLE table_1342249_5 (party VARCHAR, incumbent VARCHAR) |
SELECT driver FROM table_name_98 WHERE grid = 1 | What Driver has 1 in Grid? | CREATE TABLE table_name_98 (driver VARCHAR, grid VARCHAR) |
SELECT republican_ticket FROM table_name_46 WHERE socialist_ticket = "edna mitchell blue" | Who's the Republican ticket with a Socialist ticket of edna mitchell blue? | CREATE TABLE table_name_46 (republican_ticket VARCHAR, socialist_ticket VARCHAR) |
SELECT _number FROM table_28194879_1 WHERE production_code = "PABF05" | What is the number in season of the episode whose production code is pabf05? | CREATE TABLE table_28194879_1 (_number VARCHAR, production_code VARCHAR) |
SELECT score FROM table_name_81 WHERE record = "2-1" | What is the score for the team with a record of 2-1? | CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR) |
SELECT MIN(release) FROM table_name_81 WHERE director = "sharon gosling" AND title = "pathogen" | What was the earliest release for Pathogen directed by Sharon Gosling? | CREATE TABLE table_name_81 (release INTEGER, director VARCHAR, title VARCHAR) |
SELECT COUNT(attendance) FROM table_name_28 WHERE date = "september 14, 1968" | How many people attended the September 14, 1968 game? | CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR) |
SELECT AVG(losses) FROM table_name_43 WHERE against > 1255 AND wins = 0 AND draws < 0 | What is the losses average when the against is greater than 1255 and wins is 0 and the draws less than 0? | CREATE TABLE table_name_43 (losses INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR) |
SELECT task_no FROM table_name_98 WHERE hand_grenade_user = "cathy" | Which task had Cathy as the hand grenade user? | CREATE TABLE table_name_98 (task_no VARCHAR, hand_grenade_user VARCHAR) |
SELECT hpfs FROM table_name_51 WHERE refs = "no" | Which HPFS has a no for ReFS? | CREATE TABLE table_name_51 (hpfs VARCHAR, refs VARCHAR) |
SELECT baby_gender FROM table_name_66 WHERE congresswoman = "jaime herrera beutler" | What is the gender of Congresswoman Jaime Herrera Beutler's baby? | CREATE TABLE table_name_66 (baby_gender VARCHAR, congresswoman VARCHAR) |
SELECT COUNT(verbs) FROM table_1977630_2 WHERE yo = "sienta" | how many verbs have the yo form as sienta? | CREATE TABLE table_1977630_2 (verbs VARCHAR, yo VARCHAR) |
SELECT pick FROM table_name_40 WHERE round = "5" AND player = "kellen davis" | Which pick's round was 5 when Kellen Davis was a player? | CREATE TABLE table_name_40 (pick VARCHAR, round VARCHAR, player VARCHAR) |
SELECT license FROM table_name_83 WHERE system = "amiga" AND name = "pocketuae" | Which License has a System of amiga, and a Name of pocketuae? | CREATE TABLE table_name_83 (license VARCHAR, system VARCHAR, name VARCHAR) |
SELECT SUM(share) FROM table_name_25 WHERE timeslot = "8:30 p.m." AND air_date = "march 27, 2008" AND rank__overall_ > 65 | What is the total share with Timeslot of 8:30 p.m., anAir Date of march 27, 2008, and a Rank greater than 65? | CREATE TABLE table_name_25 (share INTEGER, rank__overall_ VARCHAR, timeslot VARCHAR, air_date VARCHAR) |
SELECT Company FROM entrepreneur ORDER BY Money_Requested DESC | List the companies of entrepreneurs in descending order of money requested. | CREATE TABLE entrepreneur (Company VARCHAR, Money_Requested VARCHAR) |
SELECT player FROM table_name_48 WHERE pick = 160 | Which player's pick is 160? | CREATE TABLE table_name_48 (player VARCHAR, pick VARCHAR) |
SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = "colorado" | What is the total average for swimsuits smaller than 9.62 in Colorado? | CREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR) |
SELECT score FROM table_name_46 WHERE record = "15-9" | What is the score of the game that resulted in a 15-9 record? | CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR) |
SELECT result FROM table_20193855_2 WHERE book_title = "Firelands" | What is the result of the book title firelands? | CREATE TABLE table_20193855_2 (result VARCHAR, book_title VARCHAR) |
SELECT programming FROM table_name_62 WHERE video = "audio only" | Which Programming has a Video of audio only? | CREATE TABLE table_name_62 (programming VARCHAR, video VARCHAR) |
SELECT decision FROM table_name_14 WHERE visitor = "boston bruins" | Name the decision for boston bruins visitor | CREATE TABLE table_name_14 (decision VARCHAR, visitor VARCHAR) |
SELECT series FROM table_name_5 WHERE game = 1 | What was the series standing after game 1? | CREATE TABLE table_name_5 (series VARCHAR, game VARCHAR) |
SELECT country FROM table_name_72 WHERE athlete = "ziedonis zaļkalns" | Name the country for athlete of ziedonis zaļkalns | CREATE TABLE table_name_72 (country VARCHAR, athlete VARCHAR) |
SELECT surface FROM table_name_61 WHERE opponent = "shahar pe'er" | What surface was played on against Shahar Pe'er? | CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR) |
SELECT MAX(series_episode) FROM table_27987623_1 WHERE us_viewers__in_million_ = "7.43" | What was the episode number veiwed by 7.43 million viewers? | CREATE TABLE table_27987623_1 (series_episode INTEGER, us_viewers__in_million_ VARCHAR) |
SELECT tujunga FROM table_name_37 WHERE pasadena = "33%" | What is the percentage of Tujunja when Pasadena is 33%? | CREATE TABLE table_name_37 (tujunga VARCHAR, pasadena VARCHAR) |
SELECT MAX(races) FROM table_name_27 WHERE season = "2010" AND flaps > 6 | WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6? | CREATE TABLE table_name_27 (races INTEGER, season VARCHAR, flaps VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_name_48 WHERE position = "right wing" AND round < 3 | Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3? | CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR) |
SELECT producer FROM table_name_31 WHERE director = "richard clark" | Who is the producer for the director Richard Clark? | CREATE TABLE table_name_31 (producer VARCHAR, director VARCHAR) |
SELECT score FROM table_13762472_7 WHERE location_attendance = "Charlotte Arena" | What was the score when the heat played at charlotte arena? | CREATE TABLE table_13762472_7 (score VARCHAR, location_attendance VARCHAR) |
SELECT score FROM table_name_8 WHERE high_assists = "maurice williams (7)" | What was the score of the game when Maurice Williams (7) had the high assists? | CREATE TABLE table_name_8 (score VARCHAR, high_assists VARCHAR) |
SELECT score FROM table_name_50 WHERE tie_no = "11" | What is the score for the game with an 11 tie number? | CREATE TABLE table_name_50 (score VARCHAR, tie_no VARCHAR) |
SELECT score_points FROM table_name_35 WHERE total = "16" | What is the score points when the total is 16? | CREATE TABLE table_name_35 (score_points VARCHAR, total VARCHAR) |
SELECT started_round FROM table_name_57 WHERE last_match = "january 16, 2008" | What was the started round for the competition that had the last match on January 16, 2008? | CREATE TABLE table_name_57 (started_round VARCHAR, last_match VARCHAR) |
SELECT cat__number FROM table_name_85 WHERE release_date = "november 2007" | What is the category number that was released in November 2007? | CREATE TABLE table_name_85 (cat__number VARCHAR, release_date VARCHAR) |
SELECT party FROM table_1341453_34 WHERE incumbent = "John McHugh" | What party is John McHugh a member of? | CREATE TABLE table_1341453_34 (party VARCHAR, incumbent VARCHAR) |
SELECT COUNT(simplified) FROM table_2847477_2 WHERE english_name = "Xin County" | How many simplified names are there for xin county? | CREATE TABLE table_2847477_2 (simplified VARCHAR, english_name VARCHAR) |
SELECT date FROM table_1358608_4 WHERE result = "6th" | On what date did Northerly place 6th? | CREATE TABLE table_1358608_4 (date VARCHAR, result VARCHAR) |
SELECT title FROM table_name_78 WHERE series__number > 175 AND production_code < 706 | Tell me the title for the production code less than 706 with series number more than 175 | CREATE TABLE table_name_78 (title VARCHAR, series__number VARCHAR, production_code VARCHAR) |
SELECT latitude FROM table_18600760_10 WHERE water__sqmi_ = "4.243" | What was the lattitude for the area with 4.243 square miles of water? | CREATE TABLE table_18600760_10 (latitude VARCHAR, water__sqmi_ VARCHAR) |
SELECT home_team FROM table_name_89 WHERE away_team = "preston north end" | Who is the home team when Preston North End is the away team? | CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) |
SELECT weight_of_shot FROM table_name_51 WHERE designation__bore_ = "xx-inch" | what is the weight of a shot that is xx-inch? | CREATE TABLE table_name_51 (weight_of_shot VARCHAR, designation__bore_ VARCHAR) |
SELECT urban_sub_area FROM table_name_58 WHERE population = "16,140" | Which urban sub-area has a population of 16,140? | CREATE TABLE table_name_58 (urban_sub_area VARCHAR, population VARCHAR) |
SELECT right_ascension___j2000__ FROM table_name_41 WHERE ngc_number = 3576 | what is the right ascension (j2000) when the ngc number is 3576? | CREATE TABLE table_name_41 (right_ascension___j2000__ VARCHAR, ngc_number VARCHAR) |
SELECT bahia FROM table_name_97 WHERE northeast_total = "6747013" | What is the value for Bahia when the Northeast total was 6747013? | CREATE TABLE table_name_97 (bahia VARCHAR, northeast_total VARCHAR) |
SELECT COUNT(joined) FROM table_255205_1 WHERE location = "Franklin, Indiana" | How many inputs joined this institution located in Franklin, Indiana? | CREATE TABLE table_255205_1 (joined VARCHAR, location VARCHAR) |
SELECT rank FROM table_29218221_2 WHERE tues_31_may = "19' 02.34 118.903mph" | What is the rank of the rider whose Tues 31 May time was 19' 02.34 118.903mph? | CREATE TABLE table_29218221_2 (rank VARCHAR, tues_31_may VARCHAR) |
SELECT rank FROM table_name_7 WHERE start = "3" AND finish = "26" AND year = "1955" | What was Jack McGrath's rank in 1955 when he started at 3 and finished at 26? | CREATE TABLE table_name_7 (rank VARCHAR, year VARCHAR, start VARCHAR, finish VARCHAR) |
SELECT away_team AS score FROM table_name_83 WHERE away_team = "hawthorn" | hat was Hawthorn's score as the away team? | CREATE TABLE table_name_83 (away_team VARCHAR) |
SELECT college_junior_club_team FROM table_name_13 WHERE pick__number = "64" | Which team has the # 64 pick? | CREATE TABLE table_name_13 (college_junior_club_team VARCHAR, pick__number VARCHAR) |
SELECT MIN(draws) FROM table_name_3 WHERE alianza_goals < 317 AND u_goals < 3 AND alianza_wins < 2 | What is the lowest Draws, when Alianza Goals is less than 317, when U Goals is less than 3, and when Alianza Wins is less than 2? | CREATE TABLE table_name_3 (draws INTEGER, alianza_wins VARCHAR, alianza_goals VARCHAR, u_goals VARCHAR) |
SELECT T1.date_of_enrolment, T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.personal_name = "Karson" | List the dates of enrollment and completion of the student with personal name "Karson". | CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, personal_name VARCHAR) |
SELECT SUM(wins) FROM table_name_26 WHERE loses > 2 AND against = "73.3" | How many Wins have Losses larger than 2, and an Against of 73.3? | CREATE TABLE table_name_26 (wins INTEGER, loses VARCHAR, against VARCHAR) |
SELECT opposing_team FROM table_name_5 WHERE status = "second test" | What was the opposing team for the second test? | CREATE TABLE table_name_5 (opposing_team VARCHAR, status VARCHAR) |
SELECT player FROM table_name_13 WHERE score = 71 - 72 - 66 = 209 | What player has 71-72-66=209 as the score? | CREATE TABLE table_name_13 (player VARCHAR, score VARCHAR) |
SELECT position FROM table WHERE player = Marcelo | If the player is Marcelo, what is the position? | CREATE TABLE table (position VARCHAR, player VARCHAR, Marcelo VARCHAR) |
SELECT 2009 FROM table_name_96 WHERE 2003 = "grand slam tournaments" | What is the 2009 value for the 2003 grand slam tournaments? | CREATE TABLE table_name_96 (Id VARCHAR) |
SELECT hometown FROM table_27515452_3 WHERE contestant = "Marelissa Him" | where is the participant marelissa him from | CREATE TABLE table_27515452_3 (hometown VARCHAR, contestant VARCHAR) |
SELECT psip_short_name FROM table_name_58 WHERE network = "ion life" | What is ion life network's PSIP Short Name? | CREATE TABLE table_name_58 (psip_short_name VARCHAR, network VARCHAR) |
SELECT city FROM table_name_96 WHERE club = "huntsville stars" | Which city has a club called the Huntsville Stars? | CREATE TABLE table_name_96 (city VARCHAR, club VARCHAR) |
SELECT DISTINCT LOCATION FROM cinema | What are all the locations with a cinema? | CREATE TABLE cinema (LOCATION VARCHAR) |
SELECT score FROM table_name_86 WHERE player = "ernie els" | What was Ernie Els's score? | CREATE TABLE table_name_86 (score VARCHAR, player VARCHAR) |
SELECT AVG(lost) FROM table_name_5 WHERE played < 14 | What was the average amount of losses for teams with played less than 14? | CREATE TABLE table_name_5 (lost INTEGER, played INTEGER) |
SELECT class FROM table_name_91 WHERE verb_meaning = "to run" | Which class has the verb meaning of to run? | CREATE TABLE table_name_91 (class VARCHAR, verb_meaning VARCHAR) |
SELECT title FROM table_27833469_1 WHERE season__number = "11" | What is the title of the episode number 11 of the season? | CREATE TABLE table_27833469_1 (title VARCHAR, season__number VARCHAR) |
SELECT MIN(seats_2010) FROM table_name_46 WHERE seats_2005 < 9 AND governorate = "al muthanna governorate" AND in_de_creased_by > 2 | Name the lowest Seats 2010 which has Seats 2005 smaller than 9, and a Governorate of al muthanna governorate, and an In/de-creased by larger than 2? | CREATE TABLE table_name_46 (seats_2010 INTEGER, in_de_creased_by VARCHAR, seats_2005 VARCHAR, governorate VARCHAR) |
SELECT date FROM table_name_97 WHERE partner = "christophe rochus" AND score = "2–6, 7–6 (7–5) , 0–6" | What is the Date when christophe rochus was partner, and the score was 2–6, 7–6 (7–5) , 0–6? | CREATE TABLE table_name_97 (date VARCHAR, partner VARCHAR, score VARCHAR) |
SELECT writer FROM table_23705843_1 WHERE ratings__millions_ = "2.61" | What is the name of the writer when the ratings was 2.61 million? | CREATE TABLE table_23705843_1 (writer VARCHAR, ratings__millions_ VARCHAR) |
SELECT district FROM table_1341663_6 WHERE incumbent = "Charles H. Wilson" | What district is Charles H. Wilson the incumbent of? | CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR) |
SELECT AVG(overall) FROM table_name_60 WHERE name = "brad scioli" AND pick__number > 5 | What's the Overall average that has brad scioli, and a Pick # larger than 5? | CREATE TABLE table_name_60 (overall INTEGER, name VARCHAR, pick__number VARCHAR) |
SELECT colours FROM table_20095300_1 WHERE jockey = "Andrew McNamara" | What are Andrew McNamara's colors? | CREATE TABLE table_20095300_1 (colours VARCHAR, jockey VARCHAR) |
SELECT SUM(total) FROM table_name_98 WHERE to_par = "–1" | How many totals have a To par of –1? | CREATE TABLE table_name_98 (total INTEGER, to_par VARCHAR) |
SELECT 2007 FROM table_name_26 WHERE 2009 = "1r" AND tournament = "us open" | What is the 2007 value with 1r in 2009 in the US Open? | CREATE TABLE table_name_26 (tournament VARCHAR) |
SELECT product_description FROM products WHERE product_name = "Chocolate" | What is the description of the product named "Chocolate"? | CREATE TABLE products (product_description VARCHAR, product_name VARCHAR) |
SELECT stadium FROM table_name_25 WHERE result = "w 20–16" | What Stadium had a Result of w 20–16? | CREATE TABLE table_name_25 (stadium VARCHAR, result VARCHAR) |
SELECT result_s_ FROM table_name_91 WHERE format_s_ = "album" AND year = 1994 | Give me the result for a format saying album with 1994 as the year. | CREATE TABLE table_name_91 (result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR) |
SELECT ra___j2000__ FROM table_name_64 WHERE name = "ngc 1515" | Which R.A. (J2000) has a Name of ngc 1515? | CREATE TABLE table_name_64 (ra___j2000__ VARCHAR, name VARCHAR) |
SELECT italian FROM table_name_37 WHERE french = "mer" | what is the italian word for the french word 'mer' | CREATE TABLE table_name_37 (italian VARCHAR, french VARCHAR) |
SELECT democratic_ticket FROM table_name_56 WHERE free_libertarian_ticket = "leland w. schubert" | Leland W. Schubert, Free Libertarian ticket, had who listed on the Democratic ticket? | CREATE TABLE table_name_56 (democratic_ticket VARCHAR, free_libertarian_ticket VARCHAR) |
SELECT card_type_code FROM Customers_cards GROUP BY card_type_code ORDER BY COUNT(*) DESC LIMIT 1 | What is the card type code with most number of cards? | CREATE TABLE Customers_cards (card_type_code VARCHAR) |
SELECT team FROM table_11959669_4 WHERE date = "December 5" | Which team played on December 5? | CREATE TABLE table_11959669_4 (team VARCHAR, date VARCHAR) |
SELECT MAX(capacity) FROM table_name_44 WHERE club = "treviso" | What is the largest capacity for the stadium for Treviso club? | CREATE TABLE table_name_44 (capacity INTEGER, club VARCHAR) |
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = "Balls to the Wall" | Which artist does the album "Balls to the Wall" belong to? | CREATE TABLE ALBUM (ArtistId VARCHAR, Title VARCHAR); CREATE TABLE ARTIST (Name VARCHAR, ArtistId VARCHAR) |
SELECT nationality FROM table_name_99 WHERE player = "e.j. bradley" | Which Nation does e.j. bradley play for? | CREATE TABLE table_name_99 (nationality VARCHAR, player VARCHAR) |
SELECT artist FROM table_27711947_1 WHERE choreographer = "Marcos Aguirre" AND rating = "Simple" | List all artists with choreographer Marcos Aguirre and a simple rating. | CREATE TABLE table_27711947_1 (artist VARCHAR, choreographer VARCHAR, rating VARCHAR) |
SELECT MIN(left) FROM table_261946_3 WHERE location__all_in_ohio_ = "Gambier" | Which year did enrolled Gambier members leave? | CREATE TABLE table_261946_3 (left INTEGER, location__all_in_ohio_ VARCHAR) |
SELECT home_team FROM table_name_30 WHERE date = "1 february 1984" AND tie_no = "5" | What is Home Team, when Date is "1 February 1984", and when Tie No is "5"? | CREATE TABLE table_name_30 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR) |
SELECT cyclist FROM table_name_96 WHERE uci_protour_points = 40 | Which cyclist has UCI ProTour points of 40? | CREATE TABLE table_name_96 (cyclist VARCHAR, uci_protour_points VARCHAR) |
SELECT losing_bonus FROM table_name_35 WHERE tries_against = "33" AND lost = "5" | What is the losing bonus for the team that has 33 tries against and 5 lost? | CREATE TABLE table_name_35 (losing_bonus VARCHAR, tries_against VARCHAR, lost VARCHAR) |
SELECT pop_density__per_km²_ FROM table_261951_1 WHERE municipality = "Abra de Ilog" | List the population density per kilometer for the city of abra de ilog. | CREATE TABLE table_261951_1 (pop_density__per_km²_ VARCHAR, municipality VARCHAR) |
SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons" | What was the position in 1959-1960 for the club that had 14 seasons at this level? | CREATE TABLE table_name_45 (position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR) |
SELECT home FROM table_name_6 WHERE score = "136-134" | What home has 136-134 as the score? | CREATE TABLE table_name_6 (home VARCHAR, score VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.