answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT races FROM table_name_99 WHERE series = "toyota racing series new zealand" AND wins = "0" | Which Race has the Toyota Racing Series New Zealand and 0 wins? | CREATE TABLE table_name_99 (races VARCHAR, series VARCHAR, wins VARCHAR) |
SELECT year FROM table_name_9 WHERE total = "9" | What year was the total 9? | CREATE TABLE table_name_9 (year VARCHAR, total VARCHAR) |
SELECT MIN(total) FROM table_name_97 WHERE gold > 0 AND silver < 4 AND sport = "football" AND bronze > 1 | What is the lowest Total that has a Gold larger than 0, Silver smaller than 4, Sport of football, and a Bronze larger than 1? | CREATE TABLE table_name_97 (total INTEGER, bronze VARCHAR, sport VARCHAR, gold VARCHAR, silver VARCHAR) |
SELECT television_station FROM table_1601792_4 WHERE transmitted = "20 kW" AND frequency = "48 UHF" | What is the station that is transmitted at 20 kw and has a frequency of 48 uhf? | CREATE TABLE table_1601792_4 (television_station VARCHAR, transmitted VARCHAR, frequency VARCHAR) |
SELECT MIN(class_year) FROM table_22982552_9 WHERE player = "Vencie Glenn" | What class year was Vencie Glenn from? | CREATE TABLE table_22982552_9 (class_year INTEGER, player VARCHAR) |
SELECT document_id FROM Paragraphs GROUP BY document_id HAVING COUNT(*) BETWEEN 1 AND 2 | What is the document id with 1 to 2 paragraphs? | CREATE TABLE Paragraphs (document_id VARCHAR) |
SELECT Investor FROM entrepreneur GROUP BY Investor HAVING COUNT(*) >= 2 | What are the investors that have invested in at least two entrepreneurs? | CREATE TABLE entrepreneur (Investor VARCHAR) |
SELECT COUNT(points) FROM table_name_51 WHERE tries = 0 AND appearance < 0 | How many times is tries 0 and appearance less than 0? | CREATE TABLE table_name_51 (points VARCHAR, tries VARCHAR, appearance VARCHAR) |
SELECT SUM(points) FROM table_name_72 WHERE races = 20 AND driver = "fernando alonso" | What is the number of points that driver fernando alonso has in the season he had 20 races? | CREATE TABLE table_name_72 (points INTEGER, races VARCHAR, driver VARCHAR) |
SELECT country FROM table_name_57 WHERE place = "t6" AND player = "ben crenshaw" | What is the Country of T6 Place Player Ben Crenshaw? | CREATE TABLE table_name_57 (country VARCHAR, place VARCHAR, player VARCHAR) |
SELECT rank FROM table_13337302_16 WHERE dismissals = 4 | List the ranks of all dismissals with a value of 4 | CREATE TABLE table_13337302_16 (rank VARCHAR, dismissals VARCHAR) |
SELECT score FROM table_name_98 WHERE date = "december 14, 1985" | What is the score when the date is December 14, 1985? | CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) |
SELECT ebit__£m_ FROM table_18304259_1 WHERE earnings_per_share__p_ = "10.6" | Name the ebit for eps being 10.6 | CREATE TABLE table_18304259_1 (ebit__£m_ VARCHAR, earnings_per_share__p_ VARCHAR) |
SELECT AVG(top_25) FROM table_name_32 WHERE events < 35 AND tournament = "the open championship" | What is the average of the top-25 of those with less than 35 events in the Open Championship? | CREATE TABLE table_name_32 (top_25 INTEGER, events VARCHAR, tournament VARCHAR) |
SELECT laid_down FROM table_name_26 WHERE pennant = "u21" | What date was the U21 pennant laid down? | CREATE TABLE table_name_26 (laid_down VARCHAR, pennant VARCHAR) |
SELECT score FROM table_name_76 WHERE date = "11 march 2001" | What is the Score on 11 march 2001? | CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) |
SELECT date FROM table_name_25 WHERE time = "1:54.00" | What is the date of the event with a 1:54.00 time? | CREATE TABLE table_name_25 (date VARCHAR, time VARCHAR) |
SELECT tries_against FROM table_13564702_3 WHERE played = "22" AND points_against = "183" | Name the tries against for played 22 and points against of 183 | CREATE TABLE table_13564702_3 (tries_against VARCHAR, played VARCHAR, points_against VARCHAR) |
SELECT status FROM table_12271718_1 WHERE channel = "44.1" | What is the status of channel 44.1? | CREATE TABLE table_12271718_1 (status VARCHAR, channel VARCHAR) |
SELECT sub_millisecond_cycle FROM table_name_28 WHERE "fieldbus" = "fieldbus" | What is the millisecond cycle for the Fieldbus? | CREATE TABLE table_name_28 (sub_millisecond_cycle VARCHAR) |
SELECT season FROM table_name_24 WHERE round = "2r" AND home_result = "0-0" | Round of 2r, and a Home result of 0-0 has what season? | CREATE TABLE table_name_24 (season VARCHAR, round VARCHAR, home_result VARCHAR) |
SELECT MIN(goals_for) FROM table_name_20 WHERE goal_difference = "+10" AND goals_against > 61 | What is the fewest goals for when goal difference is +10 and goals against is more than 61? | CREATE TABLE table_name_20 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR) |
SELECT format FROM table_name_44 WHERE date = "may 24, 2008" | Which Format has a Date of may 24, 2008? | CREATE TABLE table_name_44 (format VARCHAR, date VARCHAR) |
SELECT score FROM table_name_56 WHERE opponent_in_the_final = "divij sharan" | What was the score of the game against Divij Sharan? | CREATE TABLE table_name_56 (score VARCHAR, opponent_in_the_final VARCHAR) |
SELECT status FROM table_22815568_2 WHERE poverty_rate = "17.3%" | What is the status of the county that has a 17.3% poverty rate? | CREATE TABLE table_22815568_2 (status VARCHAR, poverty_rate VARCHAR) |
SELECT time FROM table_name_21 WHERE elimination = "2" | What time is listed against Elimination number 2? | CREATE TABLE table_name_21 (time VARCHAR, elimination VARCHAR) |
SELECT MAX(period) FROM table_name_19 WHERE element = "platinum" | Which highest period's element is platinum? | CREATE TABLE table_name_19 (period INTEGER, element VARCHAR) |
SELECT COUNT(crowd) FROM table_name_8 WHERE away_team = "hawthorn" | How many games feature hawthorn as the away squad? | CREATE TABLE table_name_8 (crowd VARCHAR, away_team VARCHAR) |
SELECT directed_by FROM table_2226817_3 WHERE written_by = "Michael G. Moye & Ron Leavitt & J. Stanford Parker" | Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker? | CREATE TABLE table_2226817_3 (directed_by VARCHAR, written_by VARCHAR) |
SELECT score_points FROM table_name_53 WHERE rank_points = "3" | What is the score points when the rank points is 3? | CREATE TABLE table_name_53 (score_points VARCHAR, rank_points VARCHAR) |
SELECT score FROM table_name_8 WHERE visitor = "green bay packers" | What score did the Green Bay Packers get as visitor? | CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR) |
SELECT COUNT(english_title) FROM table_22102732_1 WHERE director = "Carlos Moreno" | How many english titles were directed by carlos moreno? | CREATE TABLE table_22102732_1 (english_title VARCHAR, director VARCHAR) |
SELECT city_of_license FROM table_name_71 WHERE callsign = "kgns-dt3" | In which city is the network with the callsign kgns-dt3 licensed? | CREATE TABLE table_name_71 (city_of_license VARCHAR, callsign VARCHAR) |
SELECT player FROM table_name_87 WHERE position = "defensive back" AND round > 3 | Which player was defensive back after round 3? | CREATE TABLE table_name_87 (player VARCHAR, position VARCHAR, round VARCHAR) |
SELECT loss FROM table_name_81 WHERE date = "june 10" | What loss occurred on June 10? | CREATE TABLE table_name_81 (loss VARCHAR, date VARCHAR) |
SELECT name FROM table_name_56 WHERE authors = "zhou clarke zhang" | Who is The Author of zhou clarke zhang? | CREATE TABLE table_name_56 (name VARCHAR, authors VARCHAR) |
SELECT rider FROM table_name_46 WHERE time = "1:01.50.57" | What Rider had a Time of 1:01.50.57? | CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR) |
SELECT date FROM table_name_91 WHERE tournament = "at&t pebble beach national pro-am" | What is the Date of the at&t pebble beach national pro-am Tournament? | CREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR) |
SELECT location FROM table_name_66 WHERE method = "ko" AND result = "win" AND record = "2-0" | What is the location when KO is the method, the result is a win, and the record is 2-0? | CREATE TABLE table_name_66 (location VARCHAR, record VARCHAR, method VARCHAR, result VARCHAR) |
SELECT COUNT(crowd) FROM table_name_42 WHERE venue = "junction oval" | What's the total number of people to attend games at junction oval? | CREATE TABLE table_name_42 (crowd VARCHAR, venue VARCHAR) |
SELECT original_air_date FROM table_21781578_2 WHERE season_no = 2 | What was the original air date for season number 2? | CREATE TABLE table_21781578_2 (original_air_date VARCHAR, season_no VARCHAR) |
SELECT nationality FROM table_name_28 WHERE school_club_team = "la salle" | What nationality is the la salle team? | CREATE TABLE table_name_28 (nationality VARCHAR, school_club_team VARCHAR) |
SELECT COUNT(DISTINCT Currency_Code) FROM Drama_Workshop_Groups | How many distinct currency codes are there for all drama workshop groups? | CREATE TABLE Drama_Workshop_Groups (Currency_Code VARCHAR) |
SELECT MIN(year) FROM table_name_70 WHERE english_title = "the art of crying" | What is the Year of submission of the Film The Art of Crying? | CREATE TABLE table_name_70 (year INTEGER, english_title VARCHAR) |
SELECT live_births_per_year FROM table_18950570_2 WHERE life_expectancy_females = "73.3" | How many live births per year are there in the period where the life expectancy for females is 73.3? | CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, life_expectancy_females VARCHAR) |
SELECT id_code_of_his_zero_fighter FROM table_name_1 WHERE count = "10" | Which Zero Fighter has a count of 10? | CREATE TABLE table_name_1 (id_code_of_his_zero_fighter VARCHAR, count VARCHAR) |
SELECT label FROM table_name_2 WHERE catalog = "chem036cd" | What label has a catalog of chem036cd? | CREATE TABLE table_name_2 (label VARCHAR, catalog VARCHAR) |
SELECT bullet_weight FROM table_name_99 WHERE source = "hornady" | What is Bullet weight, when Source is hornady? | CREATE TABLE table_name_99 (bullet_weight VARCHAR, source VARCHAR) |
SELECT COUNT(number_of_electorates__2009_) FROM table_name_56 WHERE district = "jhajjar" AND reserved_for___sc___st__none_ = "sc" AND constituency_number < 66 | Which Number of electorates (2009) has a District of jhajjar, and a Reserved for (SC/ST/None) of sc, and a Constituency number smaller than 66? | CREATE TABLE table_name_56 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR) |
SELECT score1 FROM table_name_9 WHERE match = 42 | What is the Score1 of Match 42? | CREATE TABLE table_name_9 (score1 VARCHAR, match VARCHAR) |
SELECT year FROM table_name_90 WHERE score = "4–6, 7–6, 7–5" | What year had a score of 4–6, 7–6, 7–5? | CREATE TABLE table_name_90 (year VARCHAR, score VARCHAR) |
SELECT medal FROM table_name_25 WHERE event = "light heavyweight" | What is the Medal for the Player in the Light Heavyweight event? | CREATE TABLE table_name_25 (medal VARCHAR, event VARCHAR) |
SELECT score FROM table_name_23 WHERE country = "united states" AND money___$__ = "73" AND player = "harry hampton" | What is the score for the United States when Harry Hampton is the player and the money is $73? | CREATE TABLE table_name_23 (score VARCHAR, player VARCHAR, country VARCHAR, money___$__ VARCHAR) |
SELECT COUNT(population) FROM table_170958_2 WHERE area_km_2 = "149.32" | What is the total number of population in the land with an area of 149.32 km2? | CREATE TABLE table_170958_2 (population VARCHAR, area_km_2 VARCHAR) |
SELECT winning_score FROM table_name_6 WHERE margin_of_victory = "7 strokes" | What was the winning score for the tournament with a margin of victory of 7 strokes? | CREATE TABLE table_name_6 (winning_score VARCHAR, margin_of_victory VARCHAR) |
SELECT départment__or_collectivity_ FROM table_name_54 WHERE since = 2008 AND président = "guy-dominique kennel" | Which department has Guy-Dominique Kennel as president since 2008? | CREATE TABLE table_name_54 (départment__or_collectivity_ VARCHAR, since VARCHAR, président VARCHAR) |
SELECT laps FROM table_name_87 WHERE constructor = "brm" AND driver = "richard attwood" | When the driver richard attwood has a constructor of brm, what is the number of laps? | CREATE TABLE table_name_87 (laps VARCHAR, constructor VARCHAR, driver VARCHAR) |
SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "40.5S" | what is the diameter (km) of feature of latitude 40.5s | CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, latitude VARCHAR) |
SELECT MIN(drawn) FROM table_name_52 WHERE played > 19 AND position < 2 | What is the lowest drawn that has a played greater than 19, with a position less than 2? | CREATE TABLE table_name_52 (drawn INTEGER, played VARCHAR, position VARCHAR) |
SELECT saturday_sixth_day FROM table_1277350_5 WHERE day__see_irregularities__ = "Croatian" | What's the Croatian word for Saturday? | CREATE TABLE table_1277350_5 (saturday_sixth_day VARCHAR, day__see_irregularities__ VARCHAR) |
SELECT commune FROM table_1828368_1 WHERE area__km_2__ = "12.4" | What commune has an area of 12.4 sq.km.? | CREATE TABLE table_1828368_1 (commune VARCHAR, area__km_2__ VARCHAR) |
SELECT date FROM table_name_96 WHERE score = "1-8" | What date was the score 1-8? | CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR) |
SELECT television_service FROM table_name_36 WHERE content = "cartomanzia" | What is the Television Service offering Cartomanzia? | CREATE TABLE table_name_36 (television_service VARCHAR, content VARCHAR) |
SELECT MIN(position) FROM table_25594271_2 WHERE sail_number = "AUS 03" | What is the position for sail number aus 03? | CREATE TABLE table_25594271_2 (position INTEGER, sail_number VARCHAR) |
SELECT english_title__chinese_title_ FROM table_name_67 WHERE airing_date = "18 dec 2006- 10 feb 2007" | Which title aired on 18 dec 2006- 10 feb 2007? | CREATE TABLE table_name_67 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR) |
SELECT result FROM table_name_82 WHERE date = "25th" | What was the Result on the Date of 25th? | CREATE TABLE table_name_82 (result VARCHAR, date VARCHAR) |
SELECT loss FROM table_name_74 WHERE time = "3:16" AND record = "15–15" | What is the loss when the time was 3:16, and a Record of 15–15? | CREATE TABLE table_name_74 (loss VARCHAR, time VARCHAR, record VARCHAR) |
SELECT alliance__association FROM table_name_11 WHERE airline_holding = "aeroflot group" | For airlines named Aeroflot Group, what is the alliance? | CREATE TABLE table_name_11 (alliance__association VARCHAR, airline_holding VARCHAR) |
SELECT MIN(seats__acs_) FROM table_name_57 WHERE election_winner = "inc" AND incumbent = "bjp" | What is the smallest number of seats with INC as an election winner and BJP incumbent? | CREATE TABLE table_name_57 (seats__acs_ INTEGER, election_winner VARCHAR, incumbent VARCHAR) |
SELECT SUM(decile) FROM table_name_6 WHERE area = "waikanae" | What is the total Decile with Waikanae Area? | CREATE TABLE table_name_6 (decile INTEGER, area VARCHAR) |
SELECT record FROM table_name_13 WHERE visitor = "golden state warriors" AND date = "11/18" | What was the record from the Golden State Warriors on 11/18? | CREATE TABLE table_name_13 (record VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_name_32 WHERE round = 3 | What College/Junior/Club Team (League) has a round of 3? | CREATE TABLE table_name_32 (college_junior_club_team__league_ VARCHAR, round VARCHAR) |
SELECT score FROM table_name_37 WHERE record = "16–14–6" | What was the score with a 16–14–6 record? | CREATE TABLE table_name_37 (score VARCHAR, record VARCHAR) |
SELECT MIN(winning__percentage) FROM table_name_95 WHERE lost > 23 AND goals_for > 386 | What is the lowest win percentage for teams with more than 23 losses and more than 386 goals for? | CREATE TABLE table_name_95 (winning__percentage INTEGER, lost VARCHAR, goals_for VARCHAR) |
SELECT COUNT(episode) FROM table_14934885_1 WHERE performer_4 = "Jimmy Mulville" | How many episodes was Jimmy Mulville performer 4? | CREATE TABLE table_14934885_1 (episode VARCHAR, performer_4 VARCHAR) |
SELECT MIN(laps) FROM table_name_81 WHERE manufacturer = "gilera" AND grid < 12 | What was the lowest lab for Gilera with a grid less than 12? | CREATE TABLE table_name_81 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) |
SELECT 2 AS nd_place_team FROM table_name_93 WHERE host_location = "tulsa, ok" AND year < 1956 | Who was the 2nd place team when the location was Tulsa, OK before 1956? | CREATE TABLE table_name_93 (host_location VARCHAR, year VARCHAR) |
SELECT payment FROM table_name_12 WHERE type = "text" AND release_date = "26 september, 2003" | Which Payment has a Type of text, and a Release date of 26 september, 2003? | CREATE TABLE table_name_12 (payment VARCHAR, type VARCHAR, release_date VARCHAR) |
SELECT bullet_tip_color FROM table_name_54 WHERE headstamp_id = "h1z" | Tell me the bullet tip color of headstamp id of h1z | CREATE TABLE table_name_54 (bullet_tip_color VARCHAR, headstamp_id VARCHAR) |
SELECT fate FROM table_1220125_4 WHERE commissioned = "11 April 1944" | What is the fate for 11 april 1944? | CREATE TABLE table_1220125_4 (fate VARCHAR, commissioned VARCHAR) |
SELECT artist FROM table_name_82 WHERE actual_title = "game of thrones" | Game of Thrones was done by which artist? | CREATE TABLE table_name_82 (artist VARCHAR, actual_title VARCHAR) |
SELECT to_par FROM table_18862490_2 WHERE year = 1998 | What score to par won in 1998? | CREATE TABLE table_18862490_2 (to_par VARCHAR, year VARCHAR) |
SELECT laps AS Led FROM table_name_38 WHERE fin_pos = "14" | What were the number of laps led by the driver with a finish position of 14? | CREATE TABLE table_name_38 (laps VARCHAR, fin_pos VARCHAR) |
SELECT season_joined_league FROM table_name_28 WHERE settlements = "évora" | In which season did the évora settlements join the league? | CREATE TABLE table_name_28 (season_joined_league VARCHAR, settlements VARCHAR) |
SELECT MAX(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école mathieu-martin" AND year_open > 1972 | WHAT IS THE HIGHEST 2012 ENROLLMENT FOR école mathieu-martin, AFTER 1972? | CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR) |
SELECT opponent FROM table_name_76 WHERE week < 8 AND attendance = "12,508" | What opponent had an attendance of 12,508 during weeks 1 through 8? | CREATE TABLE table_name_76 (opponent VARCHAR, week VARCHAR, attendance VARCHAR) |
SELECT COUNT(team) FROM table_242813_2 WHERE overall_rank = 4 | Name the team ranked 4 | CREATE TABLE table_242813_2 (team VARCHAR, overall_rank VARCHAR) |
SELECT soap_opera FROM table_name_10 WHERE years = "2000–2004, 2005—" | what is the soap opera when the years are 2000–2004, 2005—? | CREATE TABLE table_name_10 (soap_opera VARCHAR, years VARCHAR) |
SELECT MIN(attendance) FROM table_name_52 WHERE record = "52-48" | What was the Blue Jays lowest attendance when their record was 52-48? | CREATE TABLE table_name_52 (attendance INTEGER, record VARCHAR) |
SELECT away_team AS score FROM table_name_97 WHERE home_team = "st kilda" | When the home team of st kilda was playing, what was the away team score? | CREATE TABLE table_name_97 (away_team VARCHAR, home_team VARCHAR) |
SELECT MAX(silver) FROM table_name_19 WHERE gold > 4 AND nation = "united states" AND total > 26 | What is the largest silver with Gold larger than 4, a Nation of united states, and a Total larger than 26? | CREATE TABLE table_name_19 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) |
SELECT AVG(spectators) FROM table_name_60 WHERE round = "group h" | What are the average spectators from the Group H Round? | CREATE TABLE table_name_60 (spectators INTEGER, round VARCHAR) |
SELECT origin_of_programming FROM table_name_85 WHERE network = "banglavision" | Which country has the banglavision Network? | CREATE TABLE table_name_85 (origin_of_programming VARCHAR, network VARCHAR) |
SELECT status FROM table_name_2 WHERE census_ranking = "3,474 of 5,008" | What is the Status of the Paris with a Census Ranking of 3,474 of 5,008? | CREATE TABLE table_name_2 (status VARCHAR, census_ranking VARCHAR) |
SELECT COUNT(popular_vote) FROM table_20246201_9 WHERE candidate = "Rick Perry" | How many different popular vote counts were there for the candidate Rick Perry? | CREATE TABLE table_20246201_9 (popular_vote VARCHAR, candidate VARCHAR) |
SELECT type FROM table_name_18 WHERE group = "movies" | What is the type of station that is in the movies group? | CREATE TABLE table_name_18 (type VARCHAR, group VARCHAR) |
SELECT tires FROM table_name_15 WHERE engine = "offy" AND chassis = "manta" AND team = "bfm enterprises" | What tires did BFM Enterprises run on their Offy engine and manta chassis? | CREATE TABLE table_name_15 (tires VARCHAR, team VARCHAR, engine VARCHAR, chassis VARCHAR) |
SELECT school_code FROM department WHERE dept_name = "Accounting" | What is the code of the school where the accounting department belongs to? | CREATE TABLE department (school_code VARCHAR, dept_name VARCHAR) |
SELECT date FROM table_name_55 WHERE score = "1-2" AND year = 1994 | What day did they record a score of 1-2 in 1994? | CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR, year VARCHAR) |
SELECT place FROM table_name_98 WHERE year > 2007 AND points = "141 (sf:83)" | What is the place later than 2007, with 141 (sf:83) points? | CREATE TABLE table_name_98 (place VARCHAR, year VARCHAR, points VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.