answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT MAX(killeen_rate) FROM table_name_89 WHERE texas_rate < 32.9 AND us_rate > 5.6 | Texas Rate smaller than 32.9, and a U.S. Rate larger than 5.6 is what highest killeen rate? | CREATE TABLE table_name_89 (killeen_rate INTEGER, texas_rate VARCHAR, us_rate VARCHAR) |
SELECT navigator FROM table_name_3 WHERE driver = "james" | What is the navigator for James? | CREATE TABLE table_name_3 (navigator VARCHAR, driver VARCHAR) |
SELECT crew FROM table_name_87 WHERE lunar_lander = "falcon" | Who were the crew for the Falcon? | CREATE TABLE table_name_87 (crew VARCHAR, lunar_lander VARCHAR) |
SELECT displacement FROM table_name_78 WHERE model = "2000" | What displacement has a model of 2000? | CREATE TABLE table_name_78 (displacement VARCHAR, model VARCHAR) |
SELECT COUNT(presenter_s_) FROM table_28190363_1 WHERE name = "Celebrity MasterChef" | How many sets of presenters are there for the version of the show named Celebrity Masterchef? | CREATE TABLE table_28190363_1 (presenter_s_ VARCHAR, name VARCHAR) |
SELECT pennant FROM table_1220125_4 WHERE laid_down = "4 May 1943" | What is the pennant for 4 may 1943? | CREATE TABLE table_1220125_4 (pennant VARCHAR, laid_down VARCHAR) |
SELECT sydney FROM table_24291077_4 WHERE melbourne = 334000 | How many viewers were there in Sydney for the episode when there were 334000 in Melbourne? | CREATE TABLE table_24291077_4 (sydney VARCHAR, melbourne VARCHAR) |
SELECT first_airdate FROM table_name_68 WHERE episodes < 24 AND nielsen_ranking = "#38" | What was the first airdate or the season that had less than 24 episodes and a Nielsen ranking of #38? | CREATE TABLE table_name_68 (first_airdate VARCHAR, episodes VARCHAR, nielsen_ranking VARCHAR) |
SELECT species FROM table_name_22 WHERE genes > 2 OFFSET 030 | What species has more than 2,030 genes? | CREATE TABLE table_name_22 (species VARCHAR, genes INTEGER) |
SELECT away_team FROM table_name_18 WHERE tie_no = "2" | What is the away team at the game with a Tie no of 2? | CREATE TABLE table_name_18 (away_team VARCHAR, tie_no VARCHAR) |
SELECT time_retired FROM table_name_88 WHERE grid = 23 | What is the time/retired for grid 23? | CREATE TABLE table_name_88 (time_retired VARCHAR, grid VARCHAR) |
SELECT production FROM table_26686908_2 WHERE championship = "David Wall" AND challenge = "Jordan Ormsby" | Who handled production for the race when the championship went to david wall and challenge was jordan ormsby? | CREATE TABLE table_26686908_2 (production VARCHAR, championship VARCHAR, challenge VARCHAR) |
SELECT score FROM table_name_59 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND date = "february 26" | What is the score of the game on February 26 with the Chicago black hawks as the home team and the New York Rangers as the visitor team? | CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR) |
SELECT home_away FROM table_29033869_3 WHERE position_on_ladder = "6th" | Was the round where they were in 6th at home or away? | CREATE TABLE table_29033869_3 (home_away VARCHAR, position_on_ladder VARCHAR) |
SELECT name FROM table_name_69 WHERE games > 299 AND period = "1995–07" | What is the name of the person with more than 299 games during the 1995–07 period? | CREATE TABLE table_name_69 (name VARCHAR, games VARCHAR, period VARCHAR) |
SELECT iata FROM table_name_66 WHERE icao = "vcct" | For an ICAO of VCCT, what is the IATA? | CREATE TABLE table_name_66 (iata VARCHAR, icao VARCHAR) |
SELECT city FROM table_name_46 WHERE venue = "mackey arena" | What city is Mackey Arena in? | CREATE TABLE table_name_46 (city VARCHAR, venue VARCHAR) |
SELECT to_par FROM table_name_7 WHERE player = "tino schuster" | What was the to par for Tino Schuster? | CREATE TABLE table_name_7 (to_par VARCHAR, player VARCHAR) |
SELECT SUM(enrollment) FROM table_name_38 WHERE location = "platteville, wi" | How many people are enrolled in platteville, wi? | CREATE TABLE table_name_38 (enrollment INTEGER, location VARCHAR) |
SELECT player FROM table_name_94 WHERE competition = "ballarat football league" | Tell me the player for ballarat football league | CREATE TABLE table_name_94 (player VARCHAR, competition VARCHAR) |
SELECT goals_for_against FROM table_14181578_1 WHERE w_l_d = "3-1-1" | what's the goals for/against with w-l-d being 3-1-1 | CREATE TABLE table_14181578_1 (goals_for_against VARCHAR, w_l_d VARCHAR) |
SELECT lost FROM table_name_94 WHERE drawn = "2" AND points = "36" | What is Lost, when Drawn is "2", and when Points is "36"? | CREATE TABLE table_name_94 (lost VARCHAR, drawn VARCHAR, points VARCHAR) |
SELECT in_office FROM table_name_71 WHERE electorate = "hume" | What office is held by Electorate Hume? | CREATE TABLE table_name_71 (in_office VARCHAR, electorate VARCHAR) |
SELECT laps FROM table_2144863_1 WHERE driver = "Ryan Newman" | Name the laps for ryan newman | CREATE TABLE table_2144863_1 (laps VARCHAR, driver VARCHAR) |
SELECT season FROM table_name_90 WHERE margin = "195 runs" | What season has 195 runs as a margin? | CREATE TABLE table_name_90 (season VARCHAR, margin VARCHAR) |
SELECT gvm__kg__technical_capacity FROM table_11497980_1 WHERE model = "15.180E" | If the model is 15.180e, what is the GVM (kg) Technical Capacity? | CREATE TABLE table_11497980_1 (gvm__kg__technical_capacity VARCHAR, model VARCHAR) |
SELECT turbo FROM table_11167610_1 WHERE trim = "2.0 20v" | what's the turbo where trim is 2.0 20v | CREATE TABLE table_11167610_1 (turbo VARCHAR, trim VARCHAR) |
SELECT score FROM table_name_84 WHERE date = "february 9" | What was the score on February 9? | CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR) |
SELECT position FROM table_name_52 WHERE years_in_orlando = "1989–1999" | What is the Position for Orlando for 1989–1999? | CREATE TABLE table_name_52 (position VARCHAR, years_in_orlando VARCHAR) |
SELECT MAX(seed) FROM table_20711545_1 WHERE lyon__32_ = "DNQ" | What is the seed for lyon (32) was DNQ? | CREATE TABLE table_20711545_1 (seed INTEGER, lyon__32_ VARCHAR) |
SELECT MIN(selection) FROM table_name_33 WHERE player = "jamaar taylor" AND round > 6 | Which Selection has a Player of jamaar taylor, and a Round larger than 6? | CREATE TABLE table_name_33 (selection INTEGER, player VARCHAR, round VARCHAR) |
SELECT DISTINCT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Dan' OR T2.friend = 'Alice' | Find the name and age of the person who is a friend of Dan or Alice. | CREATE TABLE Person (name VARCHAR, age VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR) |
SELECT AVG(balance) FROM checking | Find the average checking balance. | CREATE TABLE checking (balance INTEGER) |
SELECT result FROM table_name_74 WHERE week = 11 | What was the result week 11? | CREATE TABLE table_name_74 (result VARCHAR, week VARCHAR) |
SELECT winner FROM table_name_31 WHERE winter_olympics = "1968" | Which Winner has a Winter Olympics of 1968? | CREATE TABLE table_name_31 (winner VARCHAR, winter_olympics VARCHAR) |
SELECT COUNT(species_in_the_peruvian_amazon) FROM table_11727969_1 WHERE species_in_the_world = 8411 | what's the total number of species in the peruvian amazon with 8411 species in the world | CREATE TABLE table_11727969_1 (species_in_the_peruvian_amazon VARCHAR, species_in_the_world VARCHAR) |
SELECT COUNT(gold_medals) FROM table_name_27 WHERE total_medals = 2 AND bronze_medals < 0 | How many gold medals for the school with 2 total medals and under 0 bronzes? | CREATE TABLE table_name_27 (gold_medals VARCHAR, total_medals VARCHAR, bronze_medals VARCHAR) |
SELECT release_date FROM table_name_95 WHERE title = "i wanna play house" | What is the release date of I Wanna Play House? | CREATE TABLE table_name_95 (release_date VARCHAR, title VARCHAR) |
SELECT chassis FROM table_name_76 WHERE team = "bms scuderia italia" AND tyres = "g" AND engine = "ferrari 037 3.5 v12" | What Chassis did Team BMS Scuderia Italia use with G Tyres and a Ferrari 037 3.5 v12 engine? | CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR, team VARCHAR, tyres VARCHAR) |
SELECT AVG(year) FROM table_name_97 WHERE team = "suzuki" AND points = 4 | What year did they get 4 points with Suzuki? | CREATE TABLE table_name_97 (year INTEGER, team VARCHAR, points VARCHAR) |
SELECT TMS AS number FROM table_1166023_1 WHERE builder = "NZR Addington" AND year_built = 1913 | What tms were built nzr addington in the year 1913 | CREATE TABLE table_1166023_1 (TMS VARCHAR, builder VARCHAR, year_built VARCHAR) |
SELECT elector FROM table_name_92 WHERE nationality = "french" AND elevated = "1288, may 16" | Who was the French Elector Elevated on 1288, May 16? | CREATE TABLE table_name_92 (elector VARCHAR, nationality VARCHAR, elevated VARCHAR) |
SELECT week FROM table_name_40 WHERE home_team = "detroit" AND divisional_record = "(3-0)" AND overall_record = "(5-1)" AND away_team = "minnesota" | Can you tell me the Week that has the Home Team of detroit, and the Divisional Record of (3-0), and the Overall Record of (5-1), and the Away Team of minnesota? | CREATE TABLE table_name_40 (week VARCHAR, away_team VARCHAR, overall_record VARCHAR, home_team VARCHAR, divisional_record VARCHAR) |
SELECT translation FROM table_name_47 WHERE us_customary = "0.263 pt" | What is the Translation of the US Customary value 0.263 pt? | CREATE TABLE table_name_47 (translation VARCHAR, us_customary VARCHAR) |
SELECT points_against___tests__ FROM table_name_16 WHERE year_s_ = 2001 AND games_won___tests__ = "5 (3)" | What are the points against for 2001, and games won of 5 (3)? | CREATE TABLE table_name_16 (points_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR) |
SELECT MAX(matches) FROM table_name_35 WHERE wickets > 13 AND team = "australia" AND best_bowling = "5/36" AND average < 23.33 | What is the highest number of matches for Australia when the wickets are more than 13, the average is less than 23.33, and the best bowling is 5/36? | CREATE TABLE table_name_35 (matches INTEGER, average VARCHAR, best_bowling VARCHAR, wickets VARCHAR, team VARCHAR) |
SELECT position FROM table_name_80 WHERE pick = "7" | What is Position, when Pick is 7? | CREATE TABLE table_name_80 (position VARCHAR, pick VARCHAR) |
SELECT runners_up FROM table_name_7 WHERE club = "fc viktoria plzeň" | Who were the runners-up for the FC Viktoria Plzeň club? | CREATE TABLE table_name_7 (runners_up VARCHAR, club VARCHAR) |
SELECT date__opening_ FROM table_name_5 WHERE year < 2010 AND date__closing_ = "september 28" | What is Date (Opening), when Year is less than 2010, and when Date (Closing) is "September 28"? | CREATE TABLE table_name_5 (date__opening_ VARCHAR, year VARCHAR, date__closing_ VARCHAR) |
SELECT score FROM table_name_11 WHERE game = 19 | What is Score, when Game is "19"? | CREATE TABLE table_name_11 (score VARCHAR, game VARCHAR) |
SELECT MIN(rec) FROM table_name_57 WHERE avg > 13 | What was the lowest recorded record for a player with an average larger than 13? | CREATE TABLE table_name_57 (rec INTEGER, avg INTEGER) |
SELECT home FROM table_name_14 WHERE geust = "fc basel (asl)" | What is the home of the geust fc basel (asl)? | CREATE TABLE table_name_14 (home VARCHAR, geust VARCHAR) |
SELECT round FROM table_name_34 WHERE player = "jamie cooke" | What round did Jamie Cooke play in? | CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR) |
SELECT human_resources_ & _operations FROM table_name_56 WHERE academic_ & _university_affairs = "david hornsby" | Who was in Human Resources & Operations when David Hornsby was in Academic & University Affairs? | CREATE TABLE table_name_56 (human_resources_ VARCHAR, _operations VARCHAR, academic_ VARCHAR, _university_affairs VARCHAR) |
SELECT date FROM table_name_60 WHERE opponent_in_the_final = "flavio cipolla" | When did Mathieu play against Flavio Cipolla? | CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR) |
SELECT 2009 FROM table_name_32 WHERE 2011 = "25" | What shows for 2009 when 25 shows for 2011? | CREATE TABLE table_name_32 (Id VARCHAR) |
SELECT SUM(round) FROM table_name_70 WHERE record = "19-25-5" | What is the sum of Round, when Record is "19-25-5"? | CREATE TABLE table_name_70 (round INTEGER, record VARCHAR) |
SELECT venue FROM table_name_2 WHERE result = "eng by 10 runs" | What venue has eng by 10 runs as the result? | CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR) |
SELECT points_for FROM table_13940275_5 WHERE points_against = "556" | what's the points for with points against being 556 | CREATE TABLE table_13940275_5 (points_for VARCHAR, points_against VARCHAR) |
SELECT college FROM table_name_86 WHERE pick = "14" | Which college's pick was 14? | CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR) |
SELECT season FROM table_name_65 WHERE losses = "30" | Which season has Losses of 30? | CREATE TABLE table_name_65 (season VARCHAR, losses VARCHAR) |
SELECT batting_team FROM table_name_61 WHERE season = "2006" | Who was the batting team in the 2006 season? | CREATE TABLE table_name_61 (batting_team VARCHAR, season VARCHAR) |
SELECT date FROM table_name_20 WHERE score = "5-1" | Which date had a score of 5-1? | CREATE TABLE table_name_20 (date VARCHAR, score VARCHAR) |
SELECT group FROM table_name_66 WHERE year < 2010 AND film_series = "thirst" | Which group nominated Kim in years before 2010 for Thirst? | CREATE TABLE table_name_66 (group VARCHAR, year VARCHAR, film_series VARCHAR) |
SELECT SUM(league_goals) FROM table_name_80 WHERE total_goals = 8 AND league_cup_goals > 0 | What was the sum of league goals where the toal was 8 and league cup goals were larger than 0? | CREATE TABLE table_name_80 (league_goals INTEGER, total_goals VARCHAR, league_cup_goals VARCHAR) |
SELECT COUNT(game) FROM table_name_50 WHERE march = 19 AND points < 83 | How many games have a March of 19, and Points smaller than 83? | CREATE TABLE table_name_50 (game VARCHAR, march VARCHAR, points VARCHAR) |
SELECT AVG(year) FROM table_name_97 WHERE venue = "antwerp, belgium" | What is the average year of events that took place in Antwerp, Belgium? | CREATE TABLE table_name_97 (year INTEGER, venue VARCHAR) |
SELECT high_rebounds FROM table_23248869_6 WHERE high_points = "Larry Hughes (21)" | Who did the high rebounds in the game where Larry Hughes (21) did the high ponts? | CREATE TABLE table_23248869_6 (high_rebounds VARCHAR, high_points VARCHAR) |
SELECT school FROM table_name_91 WHERE pick < 125 AND player = "will allen" | What school did draft pick before 125, will allen go to? | CREATE TABLE table_name_91 (school VARCHAR, pick VARCHAR, player VARCHAR) |
SELECT car_s_ FROM table_name_24 WHERE rounds < 12 AND owner_s_ = "scott deware" | What car does Scott Deware own that has rounds under 12? | CREATE TABLE table_name_24 (car_s_ VARCHAR, rounds VARCHAR, owner_s_ VARCHAR) |
SELECT ground FROM table_name_83 WHERE opponent = "aston villa" | On which ground did the team play Aston Villa? | CREATE TABLE table_name_83 (ground VARCHAR, opponent VARCHAR) |
SELECT MAX(others_number) FROM table_1302886_1 WHERE bush_percentage = "57.0%" | What is the others# when bush% is 57.0%? | CREATE TABLE table_1302886_1 (others_number INTEGER, bush_percentage VARCHAR) |
SELECT AVG(losses) FROM table_name_39 WHERE wins < 4 AND against = 2510 AND byes > 0 | How many losses for the team with less than 4 wins, more than 0 byes and 2510 against? | CREATE TABLE table_name_39 (losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR) |
SELECT paris__48___byes_ FROM table_20711545_1 WHERE seed = 3 | What was the result for Paris(48-byes) for 3 seed? | CREATE TABLE table_20711545_1 (paris__48___byes_ VARCHAR, seed VARCHAR) |
SELECT SUM(cuts_made) FROM table_name_80 WHERE wins < 2 AND top_25 > 7 AND top_10 < 2 | Name the sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2 | CREATE TABLE table_name_80 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_25 VARCHAR) |
SELECT SUM(points__pts_) FROM table_name_37 WHERE place__posición_ > 8 | What is the sum of all points for places above 8? | CREATE TABLE table_name_37 (points__pts_ INTEGER, place__posición_ INTEGER) |
SELECT MAX(first_elected) FROM table_1341738_11 | What is the highest year that a candidate was first elected? | CREATE TABLE table_1341738_11 (first_elected INTEGER) |
SELECT callback_audition_date FROM table_27455867_1 WHERE callback_venue = "Hilton Riverside Hotel" | When were the callback auditions at Hilton Riverside Hotel held? | CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, callback_venue VARCHAR) |
SELECT 2009 FROM table_name_64 WHERE 2003 = "2r" AND 2000 = "2r" | Who in 2009, has a 2003 2r and a 2000 2r? | CREATE TABLE table_name_64 (Id VARCHAR) |
SELECT english_name FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "太湖县 / 太湖縣" | What's the English name of the county called 太湖县 / 太湖縣 in Chinese? | CREATE TABLE table_1976898_1 (english_name VARCHAR, chinese_name__simplified___traditional_ VARCHAR) |
SELECT unemployment_rate FROM table_22815568_7 WHERE status = "Transitional" AND county = "Alexander" | What is the unemployment rate in those places in Alexander county whose status is transitional? | CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, status VARCHAR, county VARCHAR) |
SELECT venue FROM table_name_41 WHERE home_team = "hawthorn" | Where did Hawthorn play as the home team? | CREATE TABLE table_name_41 (venue VARCHAR, home_team VARCHAR) |
SELECT AVG(wins) FROM table_name_41 WHERE losses = 14 AND against > 2200 | What is the average number of wins for teams with 14 losses and against over 2200? | CREATE TABLE table_name_41 (wins INTEGER, losses VARCHAR, against VARCHAR) |
SELECT college FROM table_14650162_1 WHERE position = "Defensive Back" | What college did the defensive back attend? | CREATE TABLE table_14650162_1 (college VARCHAR, position VARCHAR) |
SELECT COUNT(pick__number) FROM table_2679061_11 WHERE nhl_team = "Chicago Black Hawks" | How many picks did the Chicago Black Hawks get? | CREATE TABLE table_2679061_11 (pick__number VARCHAR, nhl_team VARCHAR) |
SELECT broadcaster FROM table_24919137_2 WHERE opposition = "Melbourne" | Which network broadcast the game when the Western Bulldogs played melbourne? | CREATE TABLE table_24919137_2 (broadcaster VARCHAR, opposition VARCHAR) |
SELECT census_ranking FROM table_176529_2 WHERE population = 959 | What is the census ranking of the location with population of 959? | CREATE TABLE table_176529_2 (census_ranking VARCHAR, population VARCHAR) |
SELECT COUNT(game) FROM table_name_17 WHERE result = "l" AND record = "2-6" | How many games have a Result of l, and a Record of 2-6? | CREATE TABLE table_name_17 (game VARCHAR, result VARCHAR, record VARCHAR) |
SELECT driver_s FROM table_name_67 WHERE race_title = "iii coppa acerbo" | Who won the III Coppa Acerbo title? | CREATE TABLE table_name_67 (driver_s VARCHAR, race_title VARCHAR) |
SELECT MIN(round) FROM table_name_12 WHERE time = "1:09" | What is the lowest round number for the fight that had a time of 1:09? | CREATE TABLE table_name_12 (round INTEGER, time VARCHAR) |
SELECT location_attendance FROM table_23248940_6 WHERE date = "November 18" | What is every value for location attendance on date of November 18? | CREATE TABLE table_23248940_6 (location_attendance VARCHAR, date VARCHAR) |
SELECT colonized FROM table_name_83 WHERE chartered = "1958" | What is the colonized year for the chartered year 1958? | CREATE TABLE table_name_83 (colonized VARCHAR, chartered VARCHAR) |
SELECT away_team AS score FROM table_name_15 WHERE away_team = "st kilda" | what was the away team with st kilda as the away team? | CREATE TABLE table_name_15 (away_team VARCHAR) |
SELECT _percentage_yes FROM table_256286_61 WHERE yes_votes = 218846 | What is the percentage of yes when there were 218846 yes votes | CREATE TABLE table_256286_61 (_percentage_yes VARCHAR, yes_votes VARCHAR) |
SELECT title FROM table_16951593_1 WHERE no_in_season = "9" | Name the title for number in season 9 | CREATE TABLE table_16951593_1 (title VARCHAR, no_in_season VARCHAR) |
SELECT COUNT(total) FROM table_name_73 WHERE nation = "chile" AND silver > 0 | How many totals does Chile have when the number of silvers is more than 0? | CREATE TABLE table_name_73 (total VARCHAR, nation VARCHAR, silver VARCHAR) |
SELECT player FROM table_name_27 WHERE score = 70 | With a score of 70, this player's name is listed as what? | CREATE TABLE table_name_27 (player VARCHAR, score VARCHAR) |
SELECT athlete FROM table_name_53 WHERE date = "11 july 2003" | On 11 July 2003, which athlete performed? | CREATE TABLE table_name_53 (athlete VARCHAR, date VARCHAR) |
SELECT COUNT(sales) FROM table_name_88 WHERE artist = "kelly clarkson" | What is the sales when the artist is kelly clarkson? | CREATE TABLE table_name_88 (sales VARCHAR, artist VARCHAR) |
SELECT manner_of_departure FROM table_name_77 WHERE outgoing_manager = "giuseppe iachini" | What was the manner of departure for the outgoing manager, giuseppe iachini? | CREATE TABLE table_name_77 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.