answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT 2011 FROM table_name_54 WHERE 2008 = "nms" | What is the 2011 value with nms in 2008? | CREATE TABLE table_name_54 (Id VARCHAR) |
SELECT AVG(new_council) FROM table_name_33 WHERE election_result > 24 | Which New council has an Election result larger than 24? | CREATE TABLE table_name_33 (new_council INTEGER, election_result INTEGER) |
SELECT home FROM table_name_90 WHERE score = "0:1" | Who was the home team when the score was 0:1? | CREATE TABLE table_name_90 (home VARCHAR, score VARCHAR) |
SELECT AVG(played) FROM table_name_43 WHERE club = "botev plovdiv" AND wins > 11 | What is the played average that has botev plovdiv as the club and wins larger than 11? | CREATE TABLE table_name_43 (played INTEGER, club VARCHAR, wins VARCHAR) |
SELECT MAX(crowd) FROM table_name_32 WHERE away_team = "st kilda" | What is the largest crowd for an Away team of st kilda? | CREATE TABLE table_name_32 (crowd INTEGER, away_team VARCHAR) |
SELECT catalogue FROM table_name_7 WHERE label = "bronze" AND format = "vinyl" | What is the catalog with a bronze label and in Vinyl format? | CREATE TABLE table_name_7 (catalogue VARCHAR, label VARCHAR, format VARCHAR) |
SELECT chest FROM table_name_28 WHERE supplier = "gilbert" | Which Chest is Supplied by Gilbert? | CREATE TABLE table_name_28 (chest VARCHAR, supplier VARCHAR) |
SELECT venue FROM table_name_51 WHERE opponent = "collingwood" AND score = "7.14 (56) - 4.5 (29)" | At what venue did the team from Collingwood score 7.14 (56) - 4.5 (29)? | CREATE TABLE table_name_51 (venue VARCHAR, opponent VARCHAR, score VARCHAR) |
SELECT identifier FROM table_name_26 WHERE city_of_license = "terrace bay" | What is Identifier, when City of License is Terrace Bay? | CREATE TABLE table_name_26 (identifier VARCHAR, city_of_license VARCHAR) |
SELECT points FROM table_name_54 WHERE wins > 15 AND losses < 10 | How many points has more than 15 wins and less than 10 losses? | CREATE TABLE table_name_54 (points VARCHAR, wins VARCHAR, losses VARCHAR) |
SELECT steals FROM table_17309500_1 WHERE season = "2007/2008" | Name the steals for season 2007/2008 | CREATE TABLE table_17309500_1 (steals VARCHAR, season VARCHAR) |
SELECT run_time FROM table_1723080_1 WHERE viewers__in_millions_ = "7.4" | What is run time when there were 7.4 million viewers? | CREATE TABLE table_1723080_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR) |
SELECT points FROM table_name_85 WHERE played < 76 AND average = 0.763 | How many points were there when the average was 0.763 and the played was less than 76? | CREATE TABLE table_name_85 (points VARCHAR, played VARCHAR, average VARCHAR) |
SELECT opponent FROM table_name_12 WHERE record = "43-56" | Which is the opponent when the record was 43-56? | CREATE TABLE table_name_12 (opponent VARCHAR, record VARCHAR) |
SELECT version FROM table_name_81 WHERE downstream_rate = "20.0 mbit/s" | What's the version that has a 20.0 mbit/s downstream rate? | CREATE TABLE table_name_81 (version VARCHAR, downstream_rate VARCHAR) |
SELECT class FROM table_name_77 WHERE vessel_name = "hyundai tenacity" | In which class would the vessel Hyundai Tenacity be placed? | CREATE TABLE table_name_77 (class VARCHAR, vessel_name VARCHAR) |
SELECT position FROM table_name_77 WHERE overall > 22 AND school_club_team = "cal state-los angeles" | What was Cal State-Los Angeles' position with an Overall above 22? | CREATE TABLE table_name_77 (position VARCHAR, overall VARCHAR, school_club_team VARCHAR) |
SELECT further_cities FROM table_197286_4 WHERE country = "Slovakia" AND direction = "West" | Name the further cities for slovakia and west direction | CREATE TABLE table_197286_4 (further_cities VARCHAR, country VARCHAR, direction VARCHAR) |
SELECT santee_sisseton FROM table_1499791_2 WHERE english_gloss = "morning" | Name the santee sisseton for morning | CREATE TABLE table_1499791_2 (santee_sisseton VARCHAR, english_gloss VARCHAR) |
SELECT date FROM table_name_13 WHERE race_title = "grand prix de monaco" | When did the Grand Prix de Monaco race? | CREATE TABLE table_name_13 (date VARCHAR, race_title VARCHAR) |
SELECT SUM(points) FROM table_name_8 WHERE year = 2010 AND races > 14 AND fl < 0 | What is the sum of points in 2010 when the driver had more than 14 races and an F.L. of less than 0? | CREATE TABLE table_name_8 (points INTEGER, fl VARCHAR, year VARCHAR, races VARCHAR) |
SELECT MIN(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 1.1 / 3 | What is the lowest episode number that had a ratings/share (18-49) of 1.1/3? | CREATE TABLE table_25751274_2 (episode_number INTEGER, rating VARCHAR) |
SELECT high_school FROM table_24055352_1 WHERE number = 5 | What is the high school of the player number 5? | CREATE TABLE table_24055352_1 (high_school VARCHAR, number VARCHAR) |
SELECT age_group FROM table_name_75 WHERE event = "200m breaststroke" AND time = "6:37.73" | What age group has a time of 6:37.73 at the 200m breaststroke? | CREATE TABLE table_name_75 (age_group VARCHAR, event VARCHAR, time VARCHAR) |
SELECT MIN(seasons) FROM table_name_36 WHERE years = "1982" AND lost > 9 | What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses? | CREATE TABLE table_name_36 (seasons INTEGER, years VARCHAR, lost VARCHAR) |
SELECT classroom, COUNT(*) FROM list GROUP BY classroom | Report the number of students in each classroom. | CREATE TABLE list (classroom VARCHAR) |
SELECT interregnum_ended FROM table_name_78 WHERE duration = "3 months, 6 days" | What is the Interregnum ended for the person with a Duration of 3 months, 6 days? | CREATE TABLE table_name_78 (interregnum_ended VARCHAR, duration VARCHAR) |
SELECT competition FROM table_name_90 WHERE score = "2-1" | What is the name of the competition that ended with a score of 2-1? | CREATE TABLE table_name_90 (competition VARCHAR, score VARCHAR) |
SELECT opponent FROM table_name_51 WHERE game < 5 AND record = "2-0-0" | Who is the opponent of the game with a game number less than 5 with a 2-0-0 record? | CREATE TABLE table_name_51 (opponent VARCHAR, game VARCHAR, record VARCHAR) |
SELECT head_coach FROM table_22165661_3 WHERE championship_game_opponent = "Miami University" | Who is the head coach when Miami University is the championship game opponent? | CREATE TABLE table_22165661_3 (head_coach VARCHAR, championship_game_opponent VARCHAR) |
SELECT background_colour FROM table_name_43 WHERE type_of_sign = "mandatory instructions" | Which color is the background of the mandatory instructions? | CREATE TABLE table_name_43 (background_colour VARCHAR, type_of_sign VARCHAR) |
SELECT score_in_the_final FROM table_22597626_17 WHERE opponents_in_the_final = "Fitzgerald Vilas" | What was the score in the final where one of the opponents in the final was fitzgerald vilas? | CREATE TABLE table_22597626_17 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR) |
SELECT animal FROM table_name_75 WHERE resting_potential__mv_ = "−60" | Which animal has a resting potential of −60? | CREATE TABLE table_name_75 (animal VARCHAR, resting_potential__mv_ VARCHAR) |
SELECT MAX(attendance) FROM table_name_25 WHERE opponent = "@ oilers" AND date = "may 25" | Which Attendance has an Opponent of @ oilers, and a Date of may 25? | CREATE TABLE table_name_25 (attendance INTEGER, opponent VARCHAR, date VARCHAR) |
SELECT format FROM table_name_40 WHERE date = "14 october 2008" AND label = "eagle eye media" | Which Format has a Date of 14 october 2008, and a Label of eagle eye media? | CREATE TABLE table_name_40 (format VARCHAR, date VARCHAR, label VARCHAR) |
SELECT MAX(built) FROM table_name_16 WHERE name_of_mill = "moulin de momalle" | What is year Built of the Moulin de Momalle Mill? | CREATE TABLE table_name_16 (built INTEGER, name_of_mill VARCHAR) |
SELECT rank FROM table_name_30 WHERE film = "amelia and michael" | What is the rank of the film, Amelia and Michael? | CREATE TABLE table_name_30 (rank VARCHAR, film VARCHAR) |
SELECT 1994 FROM table_name_46 WHERE 1996 = "3r" | What is 1994 when 1996 is 3R? | CREATE TABLE table_name_46 (Id VARCHAR) |
SELECT winning_driver FROM table_1137695_3 WHERE fastest_lap = "Michael Schumacher" AND pole_position = "Michael Schumacher" | Who was the winning driver when Michael Schumacher had the pole and the fastest lap? | CREATE TABLE table_1137695_3 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) |
SELECT place FROM table_name_25 WHERE player = "tom watson" | What is the place of player tom watson? | CREATE TABLE table_name_25 (place VARCHAR, player VARCHAR) |
SELECT venue FROM table_name_45 WHERE notes = "10.93 secs" | Tell me the venue for notes of 10.93 secs | CREATE TABLE table_name_45 (venue VARCHAR, notes VARCHAR) |
SELECT release_date FROM table_name_88 WHERE frequency = "2300mhz" | When is the release date for a chip that has a Frequency of 2300mhz? | CREATE TABLE table_name_88 (release_date VARCHAR, frequency VARCHAR) |
SELECT marriage FROM table_name_74 WHERE spouse = "christian viii" | Name the marriage of the person who is married for christian viii | CREATE TABLE table_name_74 (marriage VARCHAR, spouse VARCHAR) |
SELECT population__percentage FROM table_10710364_2 WHERE sex_ratio__rural_ = 953 | What is the population percentage of the group where the rural sex ratio is 953? | CREATE TABLE table_10710364_2 (population__percentage VARCHAR, sex_ratio__rural_ VARCHAR) |
SELECT launcher FROM table_179174_2 WHERE flights = "37 Orbital" | What launcher had spacecrafts that did 37 orbital flights? | CREATE TABLE table_179174_2 (launcher VARCHAR, flights VARCHAR) |
SELECT election_date FROM table_26362472_1 WHERE province = "Albacete" | What are the election date for elections held in the province of Albacete? | CREATE TABLE table_26362472_1 (election_date VARCHAR, province VARCHAR) |
SELECT time_elapsed FROM table_name_11 WHERE closest_approach = "14 february 2011" | What Time elapsed has 14 February 2011 as the Closest approach? | CREATE TABLE table_name_11 (time_elapsed VARCHAR, closest_approach VARCHAR) |
SELECT SUM(game) FROM table_name_44 WHERE score = "w 104–90 (ot)" | What is the sum of Game with a Score that is w 104–90 (ot)? | CREATE TABLE table_name_44 (game INTEGER, score VARCHAR) |
SELECT MAX(crowd) FROM table_1139835_1 WHERE scores = "10.12 (72) – 8.11 (59)" | what was the crowd when the scores are 10.12 (72) – 8.11 (59)? | CREATE TABLE table_1139835_1 (crowd INTEGER, scores VARCHAR) |
SELECT COUNT(overall) FROM table_name_5 WHERE name = "brent hawkins" AND pick__number > 28 | Name the total number of overall for brent hawkins and pick # more than 28 | CREATE TABLE table_name_5 (overall VARCHAR, name VARCHAR, pick__number VARCHAR) |
SELECT class_aAAA FROM table_name_76 WHERE school_year = "2000-01" | Name the clas AAAA of school year 2000-01 | CREATE TABLE table_name_76 (class_aAAA VARCHAR, school_year VARCHAR) |
SELECT MAX(league_cup) FROM table_name_38 WHERE total > 19 AND fa_cup > 6 | Name the most league cups for total more than 19 and FA cups more than 6 | CREATE TABLE table_name_38 (league_cup INTEGER, total VARCHAR, fa_cup VARCHAR) |
SELECT league FROM table_2380212_1 WHERE year = 2007 | What League was played in 2007? | CREATE TABLE table_2380212_1 (league VARCHAR, year VARCHAR) |
SELECT away FROM table_name_7 WHERE opponent = "slavia prague" | Which Away has an Opponent of slavia prague? | CREATE TABLE table_name_7 (away VARCHAR, opponent VARCHAR) |
SELECT school FROM table_21995420_6 WHERE basic_elements = 52 | What is every school with basic elements of 52? | CREATE TABLE table_21995420_6 (school VARCHAR, basic_elements VARCHAR) |
SELECT test_standard FROM table_name_28 WHERE usage = "secondary filters" AND class = "f5" | Which Test Standard has a Usage of secondary filters, and a Class of f5? Question 4 | CREATE TABLE table_name_28 (test_standard VARCHAR, usage VARCHAR, class VARCHAR) |
SELECT incumbent FROM table_1342013_9 WHERE district = "Florida 2" | who is the the incumbent with dbeingtrict being florida 2 | CREATE TABLE table_1342013_9 (incumbent VARCHAR, district VARCHAR) |
SELECT launcher FROM table_name_80 WHERE spacecraft = "apollo-soyuz" | What was the launcher vehicle for Apollo-Soyuz? | CREATE TABLE table_name_80 (launcher VARCHAR, spacecraft VARCHAR) |
SELECT built_for FROM table_28885977_1 WHERE location = "Adelaide, South Australia" | What was the stadium in Adelaide, South Australia built for? | CREATE TABLE table_28885977_1 (built_for VARCHAR, location VARCHAR) |
SELECT name FROM table_name_36 WHERE launch = "1996" AND hanzi = "凤凰卫视中文台" | Which company launched in 1996 and has a Hanzi of 凤凰卫视中文台? | CREATE TABLE table_name_36 (name VARCHAR, launch VARCHAR, hanzi VARCHAR) |
SELECT race AS Winner FROM table_1140074_2 WHERE location = "Jacarepaguá" | what's the race winner with location being jacarepaguá | CREATE TABLE table_1140074_2 (race VARCHAR, location VARCHAR) |
SELECT population__millions_ FROM table_1610496_3 WHERE gdp_adjusted__$_billions_ = "492" | What is the population in millions when the adjusted GDP is 492 billion? | CREATE TABLE table_1610496_3 (population__millions_ VARCHAR, gdp_adjusted__$_billions_ VARCHAR) |
SELECT channels FROM table_142573_1 WHERE designation = "PC700" | Name the channels when designation is pc700 | CREATE TABLE table_142573_1 (channels VARCHAR, designation VARCHAR) |
SELECT event FROM table_name_26 WHERE championship = "nascar featherlite modified series" | What race even has NASCAR Featherlite Modified Series as the championship? | CREATE TABLE table_name_26 (event VARCHAR, championship VARCHAR) |
SELECT network FROM table_name_19 WHERE year = 2014 | What network is working in 2014? | CREATE TABLE table_name_19 (network VARCHAR, year VARCHAR) |
SELECT years_for_rockets FROM table_11734041_20 WHERE position = "Guard / Forward" | what's the years for rockets where position is guard / forward | CREATE TABLE table_11734041_20 (years_for_rockets VARCHAR, position VARCHAR) |
SELECT COUNT(date) FROM table_17382360_9 WHERE score = "W 118-112" | How many dates had a final score of w 118-112? | CREATE TABLE table_17382360_9 (date VARCHAR, score VARCHAR) |
SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati" | When Cincinnati is the tournament winner how many regular season winners are there? | CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR) |
SELECT MIN(losses) FROM table_name_56 WHERE wins = 6 AND against < 1741 | Which Losses has a Wins of 6, and an Against smaller than 1741? | CREATE TABLE table_name_56 (losses INTEGER, wins VARCHAR, against VARCHAR) |
SELECT cyrillic_name_other_names FROM table_2562572_35 WHERE settlement = "Melenci" | Name the cyrillic name for melenci | CREATE TABLE table_2562572_35 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) |
SELECT COUNT(points) FROM table_name_57 WHERE draw > 1 | What is the number of points when the draws are more than 1? | CREATE TABLE table_name_57 (points VARCHAR, draw INTEGER) |
SELECT 2007 FROM table_name_14 WHERE 2010 = "olympic games" | Tell me the 2007 for 2010 olympic games | CREATE TABLE table_name_14 (Id VARCHAR) |
SELECT player FROM table_name_36 WHERE total = 292 | What is Player, when Total is 292? | CREATE TABLE table_name_36 (player VARCHAR, total VARCHAR) |
SELECT film FROM table_name_96 WHERE status = "nominated" AND name = "ken watanabe" | What Ken Watanabe film as nominated? | CREATE TABLE table_name_96 (film VARCHAR, status VARCHAR, name VARCHAR) |
SELECT opponents_in_the_final FROM table_name_91 WHERE partner = "daniella dominikovic" | Which Opponents in the final have a Partner of daniella dominikovic? | CREATE TABLE table_name_91 (opponents_in_the_final VARCHAR, partner VARCHAR) |
SELECT team FROM table_name_94 WHERE pick = 80 | What team picked 80? | CREATE TABLE table_name_94 (team VARCHAR, pick VARCHAR) |
SELECT MAX(year) FROM table_name_96 WHERE points > 0 | Name the most year for points more than 0 | CREATE TABLE table_name_96 (year INTEGER, points INTEGER) |
SELECT SUM(place) FROM table_name_12 WHERE lost < 12 AND points < 19 | what is the place when losses is less than 12 and points is less than 19? | CREATE TABLE table_name_12 (place INTEGER, lost VARCHAR, points VARCHAR) |
SELECT MAX(3 AS rd_place) FROM table_name_65 WHERE nation = "perak fa" | Name the highest 3rd place for nation of perak fa | CREATE TABLE table_name_65 (nation VARCHAR) |
SELECT host_team FROM table_name_37 WHERE date = "september 11" | What team was the host on september 11? | CREATE TABLE table_name_37 (host_team VARCHAR, date VARCHAR) |
SELECT start FROM table_name_18 WHERE laps = 55 | What is the start of lap 55? | CREATE TABLE table_name_18 (start VARCHAR, laps VARCHAR) |
SELECT MAX(opened) FROM table_name_3 WHERE category = "diesel light rail" | Which Opened has a Category of diesel light rail? | CREATE TABLE table_name_3 (opened INTEGER, category VARCHAR) |
SELECT COUNT(region_2) FROM table_17697980_1 WHERE dvd_title = "Series 5" | How many dvd titled "series 5" were released having a release date or a non available date in region 2? | CREATE TABLE table_17697980_1 (region_2 VARCHAR, dvd_title VARCHAR) |
SELECT year FROM table_name_25 WHERE laps < 160 AND rank = "26" | What year had less than 160 laps and a rank of 26? | CREATE TABLE table_name_25 (year VARCHAR, laps VARCHAR, rank VARCHAR) |
SELECT COUNT(rogers_cable__ottawa_) FROM table_name_58 WHERE digital_psip > 9.1 AND vidéotron__gatineau_ = 14 | What's the total number of Rogers Cable (Ottawa) channels that have a Digital PSIP greater than 9.1, and a Vidéotron (Gatineau) of channel 14? | CREATE TABLE table_name_58 (rogers_cable__ottawa_ VARCHAR, digital_psip VARCHAR, vidéotron__gatineau_ VARCHAR) |
SELECT AVG(a_score) FROM table_name_50 WHERE b_score = 9.05 AND position > 6 | What was the A Score when the B Score was 9.05, and position was larger than 6? | CREATE TABLE table_name_50 (a_score INTEGER, b_score VARCHAR, position VARCHAR) |
SELECT COUNT(week) FROM table_name_35 WHERE opponent = "new york jets" | What is the total number of weeks when the New York Jets are the opponent? | CREATE TABLE table_name_35 (week VARCHAR, opponent VARCHAR) |
SELECT COUNT(*) FROM department WHERE NOT department_id IN (SELECT department_id FROM management) | How many departments are led by heads who are not mentioned? | CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR) |
SELECT winners FROM table_name_16 WHERE runners_up = "rosenborg" | Who was the winner in the competition in which the runner-up was Rosenborg? | CREATE TABLE table_name_16 (winners VARCHAR, runners_up VARCHAR) |
SELECT COUNT(lost) FROM table_name_60 WHERE played > 8 AND team = "ypiranga-sp" AND position > 5 | How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5? | CREATE TABLE table_name_60 (lost VARCHAR, position VARCHAR, played VARCHAR, team VARCHAR) |
SELECT country FROM table_29789_3 WHERE _percentage_change = "5.7" | Which country saw a 5.7% increase in spending on international tourism between 2011 and 2012? | CREATE TABLE table_29789_3 (country VARCHAR, _percentage_change VARCHAR) |
SELECT country FROM table_name_72 WHERE player = "pádraig harrington" | Who does pádraig harrington play for? | CREATE TABLE table_name_72 (country VARCHAR, player VARCHAR) |
SELECT score FROM table_name_18 WHERE loss = "lary (10-12)" | What was the score when the game has a loss of Lary (10-12)? | CREATE TABLE table_name_18 (score VARCHAR, loss VARCHAR) |
SELECT SUM(roll) FROM table_name_73 WHERE decile = 8 AND area = "hororata" | What is the total of the roll with a Decile of 8, and an Area of hororata? | CREATE TABLE table_name_73 (roll INTEGER, decile VARCHAR, area VARCHAR) |
SELECT result FROM table_1341395_33 WHERE district = "New York 7" | what are all the result for New York 7 district | CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR) |
SELECT score FROM table_name_42 WHERE team = "charlotte" | What was the score of the game against Charlotte? | CREATE TABLE table_name_42 (score VARCHAR, team VARCHAR) |
SELECT city___state FROM table_name_45 WHERE winner = "darren hossack" AND circuit = "phillip island grand prix circuit" | What was the city for the winner Darren Hossack at the circuit of phillip island grand prix circuit? | CREATE TABLE table_name_45 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) |
SELECT team_2 FROM table_name_34 WHERE team_1 = "milli piyango sk" | What is the Team 2 with a Team 1 that is milli piyango sk? | CREATE TABLE table_name_34 (team_2 VARCHAR, team_1 VARCHAR) |
SELECT opening_date FROM table_name_80 WHERE hotel_rooms = 727 | When did the hotel with 727 rooms open? | CREATE TABLE table_name_80 (opening_date VARCHAR, hotel_rooms VARCHAR) |
SELECT record FROM table_22815259_1 WHERE opponent = "Arizona" | Name the record for arizona | CREATE TABLE table_22815259_1 (record VARCHAR, opponent VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.