answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT venue FROM table_name_58 WHERE score = "82-0" | Tell me the venue for score of 82-0 | CREATE TABLE table_name_58 (venue VARCHAR, score VARCHAR) |
SELECT COUNT(episode) FROM table_27081956_1 WHERE series_no = 14 | How many episodes are numbered 14 in the series? | CREATE TABLE table_27081956_1 (episode VARCHAR, series_no VARCHAR) |
SELECT district FROM table_1341663_33 WHERE party = "Democratic" AND first_elected = 1974 AND incumbent = "Stephen J. Solarz" | What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974? | CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) |
SELECT venue FROM table_name_13 WHERE notes = "team" AND year < 2010 | What is the venue of the team race that was before 2010? | CREATE TABLE table_name_13 (venue VARCHAR, notes VARCHAR, year VARCHAR) |
SELECT t1.party_email FROM parties AS t1 JOIN party_forms AS t2 ON t1.party_id = t2.party_id WHERE t2.form_id = (SELECT form_id FROM party_forms GROUP BY form_id ORDER BY COUNT(*) DESC LIMIT 1) | Find the emails of parties with the most popular party form. | CREATE TABLE party_forms (form_id VARCHAR); CREATE TABLE parties (party_email VARCHAR, party_id VARCHAR); CREATE TABLE party_forms (party_id VARCHAR, form_id VARCHAR) |
SELECT name FROM table_name_32 WHERE rank > 17 AND confederation = "uefa" AND caps = 114 | Which UEFA confederation member had a rank more than 17 and caps of 114? | CREATE TABLE table_name_32 (name VARCHAR, caps VARCHAR, rank VARCHAR, confederation VARCHAR) |
SELECT format FROM table_name_12 WHERE catalog = "alca-487" | What is the Format for the alca-487 catalog? | CREATE TABLE table_name_12 (format VARCHAR, catalog VARCHAR) |
SELECT attendance FROM table_name_12 WHERE result = "1-1" | What was the attendance when the result was 1-1? | CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) |
SELECT trance__n_himalaya_zone FROM table_10638523_1 WHERE high_hill_zone = "25%" | What is the percentage of the trance- n himalaya zone that corresponds with the high hill zone is 25%? | CREATE TABLE table_10638523_1 (trance__n_himalaya_zone VARCHAR, high_hill_zone VARCHAR) |
SELECT MIN(year) FROM table_name_35 WHERE genre = "action" | What is the earliest year when action was the genre? | CREATE TABLE table_name_35 (year INTEGER, genre VARCHAR) |
SELECT COUNT(mintage) FROM table_name_88 WHERE weight = "12.61 g" AND theme = "ruby-throated hummingbird" | What is the Mintage of the 12.61 g Weight Ruby-Throated Hummingbird? | CREATE TABLE table_name_88 (mintage VARCHAR, weight VARCHAR, theme VARCHAR) |
SELECT MAX(against) FROM table_name_83 WHERE central_murray = "nyah nyah west utd" AND losses > 11 | What are the most againsts with more than 11 losses and central murray is Nyah Nyah West Utd? | CREATE TABLE table_name_83 (against INTEGER, central_murray VARCHAR, losses VARCHAR) |
SELECT SUM(population_1961) FROM table_name_22 WHERE administrative_county = "west sussex" AND population_1891 < 120 OFFSET 952 | What is the Population 1961 of West Sussex with a Population of 120,952 or less? | CREATE TABLE table_name_22 (population_1961 INTEGER, administrative_county VARCHAR, population_1891 VARCHAR) |
SELECT incumbent FROM table_2668416_18 WHERE district = "Virginia 8" | If the district is Virginia 8, who is the Incumbent? | CREATE TABLE table_2668416_18 (incumbent VARCHAR, district VARCHAR) |
SELECT game FROM table_name_16 WHERE road_team = "st. louis" AND date = "april 13" | What is the Game on April 13 with Road Team St. Louis? | CREATE TABLE table_name_16 (game VARCHAR, road_team VARCHAR, date VARCHAR) |
SELECT MAX(population) FROM table_name_29 WHERE rank > 9 | What is the highest population of the region with a rank bigger than 9? | CREATE TABLE table_name_29 (population INTEGER, rank INTEGER) |
SELECT club FROM table_name_59 WHERE home_ground = "central reserve" | What was the club when home ground was Central Reserve? | CREATE TABLE table_name_59 (club VARCHAR, home_ground VARCHAR) |
SELECT SUM(round) FROM table_name_32 WHERE college = "norfolk state" | What is the sum of Round, when College is "Norfolk State"? | CREATE TABLE table_name_32 (round INTEGER, college VARCHAR) |
SELECT COUNT(goals_for) FROM table_name_37 WHERE goals_against < 56 AND games_played > 7 AND wins < 6 | How many goals for occurred when the goals against was less than 56 and games played was larger than 7 with less than 6 wins? | CREATE TABLE table_name_37 (goals_for VARCHAR, wins VARCHAR, goals_against VARCHAR, games_played VARCHAR) |
SELECT date FROM table_1137703_2 WHERE winning_driver = "Alain Prost" AND pole_position = "Damon Hill" | On which date was the winning driver Alain Prost and and had Damon Hill in the pole position? | CREATE TABLE table_1137703_2 (date VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) |
SELECT score FROM table_name_75 WHERE opponent = "tigers" AND record = "78-64" | what score has the opponent of tigers and a record of 78-64? | CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR) |
SELECT location FROM table_11658094_1 WHERE institution = "Barton College" | What is the location of the institution barton college | CREATE TABLE table_11658094_1 (location VARCHAR, institution VARCHAR) |
SELECT date FROM table_name_52 WHERE tournament = "bologna" | When was the tournament of bologna? | CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR) |
SELECT MIN(pick__number) FROM table_14655757_1 | What is the lowest pick number? | CREATE TABLE table_14655757_1 (pick__number INTEGER) |
SELECT date FROM table_name_40 WHERE nationality = "bulgaria" AND event = "discus throw" | What was the date of the discus throw for Bulgaria? | CREATE TABLE table_name_40 (date VARCHAR, nationality VARCHAR, event VARCHAR) |
SELECT score FROM table_name_97 WHERE tie_no = 28 | what is the score when the tie no is 28? | CREATE TABLE table_name_97 (score VARCHAR, tie_no VARCHAR) |
SELECT home_team AS score FROM table_16388478_2 WHERE home_team = "Carlton" | What were the home team scores when carlton was the home team? | CREATE TABLE table_16388478_2 (home_team VARCHAR) |
SELECT opponents_in_the_final FROM table_name_15 WHERE tournament = "noida" | Who were the opponents in the final at Noida? | CREATE TABLE table_name_15 (opponents_in_the_final VARCHAR, tournament VARCHAR) |
SELECT season FROM table_name_39 WHERE games = "10" | What season has a Games listed of 10? | CREATE TABLE table_name_39 (season VARCHAR, games VARCHAR) |
SELECT location FROM table_name_91 WHERE stadium = "gortakeegan" | Where is the Stadium of Gortakeegan located? | CREATE TABLE table_name_91 (location VARCHAR, stadium VARCHAR) |
SELECT decision FROM table_name_49 WHERE attendance > 19 OFFSET 883 | What is the decision of the game with an attendance greater than 19,883? | CREATE TABLE table_name_49 (decision VARCHAR, attendance INTEGER) |
SELECT result FROM table_name_14 WHERE date = "29/09/07" | What was the result on 29/09/07? | CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR) |
SELECT outcome FROM table_2516282_3 WHERE year = 2013 | In the year 2013, what was the outcome? | CREATE TABLE table_2516282_3 (outcome VARCHAR, year VARCHAR) |
SELECT region FROM table_name_54 WHERE label = "alfa records" AND catalog = "alca-282" | What is the region of the Alfa Records release with catalog ALCA-282? | CREATE TABLE table_name_54 (region VARCHAR, label VARCHAR, catalog VARCHAR) |
SELECT opponent_in_the_final FROM table_name_58 WHERE outcome = "all england open" | What is the Opponent in final with an All England Open Outcome? | CREATE TABLE table_name_58 (opponent_in_the_final VARCHAR, outcome VARCHAR) |
SELECT country_or_territory_with_flag FROM table_14098_1 WHERE capital = "Santiago" | What country'c capital is santiago? | CREATE TABLE table_14098_1 (country_or_territory_with_flag VARCHAR, capital VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_name_27 WHERE player = "alexander korobolin" | What school did Alexander Korobolin go to? | CREATE TABLE table_name_27 (college_junior_club_team__league_ VARCHAR, player VARCHAR) |
SELECT country FROM table_name_78 WHERE notes = "fa" AND athlete = "alan campbell" | What is Alan Campbell's Country with Notes of FA? | CREATE TABLE table_name_78 (country VARCHAR, notes VARCHAR, athlete VARCHAR) |
SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1 | What is the customer id with most number of cards, and how many does he have? | CREATE TABLE Customers_cards (customer_id VARCHAR) |
SELECT score FROM table_name_66 WHERE home = "toronto maple leafs" AND date = "november 12" | Which score was for Toronto Maple Leafs at home on November 12? | CREATE TABLE table_name_66 (score VARCHAR, home VARCHAR, date VARCHAR) |
SELECT Name FROM WINE ORDER BY Score LIMIT 1 | What is the name of the highest rated wine? | CREATE TABLE WINE (Name VARCHAR, Score VARCHAR) |
SELECT AVG(subject) FROM table_name_56 WHERE plural = "am(ô)ra (we)" | What subject has a plural of am(ô)ra (we)? | CREATE TABLE table_name_56 (subject INTEGER, plural VARCHAR) |
SELECT MAX(number_of_contestants) FROM table_22951646_1 | Name the most number of contestants | CREATE TABLE table_22951646_1 (number_of_contestants INTEGER) |
SELECT galician___reintegrationist__ FROM table_26614365_5 WHERE galician___official__ = "Adeus*" | What is the Galician (reintegrationist) word of the Galician (Official) is adeus*? | CREATE TABLE table_26614365_5 (galician___reintegrationist__ VARCHAR, galician___official__ VARCHAR) |
SELECT series FROM table_name_63 WHERE director = "abe levitow" AND release_date = "1959-06-27" | What was the series of the episode directed by Abe Levitow released on 1959-06-27? | CREATE TABLE table_name_63 (series VARCHAR, director VARCHAR, release_date VARCHAR) |
SELECT television_service FROM table_name_11 WHERE hdtv = "no" AND language = "italian" | What is Television Service, when HDTV is No, and when Language is Italian? | CREATE TABLE table_name_11 (television_service VARCHAR, hdtv VARCHAR, language VARCHAR) |
SELECT series FROM table_25557880_1 WHERE position = "NC†" | In which series was his position NC† ? | CREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR) |
SELECT village__german_ FROM table_10798421_1 WHERE village__slovenian_ = "Sele Srednji Kot" | Provide me with the name of all the village (German) that are part of the village (Slovenian) with sele srednji kot. | CREATE TABLE table_10798421_1 (village__german_ VARCHAR, village__slovenian_ VARCHAR) |
SELECT to_par FROM table_name_25 WHERE winning_score = 69 - 67 - 72 - 64 = 272 | What is the to par of the match with a winning score 69-67-72-64=272? | CREATE TABLE table_name_25 (to_par VARCHAR, winning_score VARCHAR) |
SELECT home_team AS score FROM table_name_53 WHERE home_team = "footscray" | When the Home team of footscray is playing, what's the Home team score? | CREATE TABLE table_name_53 (home_team VARCHAR) |
SELECT weekly_schedule FROM table_name_21 WHERE timeslot = "16:45" | What days of the week is the show aired on that runs at 16:45? | CREATE TABLE table_name_21 (weekly_schedule VARCHAR, timeslot VARCHAR) |
SELECT club_team FROM table_name_7 WHERE position = "(d)" AND nationality = "canada" AND player = "andrew macwilliam" | Which Club Team has a Position of (d), a Nationality of canada, and a Player of andrew macwilliam? | CREATE TABLE table_name_7 (club_team VARCHAR, player VARCHAR, position VARCHAR, nationality VARCHAR) |
SELECT rider FROM table_name_65 WHERE total > 16.615 AND round_1_points = "7.465" | Tell me the rider that had round 1 points of 7.465 and total more than 16.615 | CREATE TABLE table_name_65 (rider VARCHAR, total VARCHAR, round_1_points VARCHAR) |
SELECT COUNT(*), t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name | Find the number of employees hired in each shop; show the shop name as well. | CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR) |
SELECT SUM(joined) FROM table_name_59 WHERE institution = "northeastern university" | When did Northeastern University join? | CREATE TABLE table_name_59 (joined INTEGER, institution VARCHAR) |
SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle" | Who was in external affairs when Jakki Doyle was in Human Resources & Operations? | CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) |
SELECT winning_team FROM table_10706879_3 WHERE name = "Los Angeles Times 500" | The winning team of the race, los angeles times 500 is who? | CREATE TABLE table_10706879_3 (winning_team VARCHAR, name VARCHAR) |
SELECT colorado FROM table_17425749_1 WHERE alaska = "Connecticut" | Name the colorado when alaska is connecticut | CREATE TABLE table_17425749_1 (colorado VARCHAR, alaska VARCHAR) |
SELECT result FROM table_name_58 WHERE year = 1970 | How did he place in 1970? | CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR) |
SELECT Major, COUNT(*) FROM Student GROUP BY Major ORDER BY COUNT(Major) LIMIT 1 | Which major has least number of students? List the major and the number of students. | CREATE TABLE Student (Major VARCHAR) |
SELECT current_club FROM table_12962773_1 WHERE player = "Nikolaos Chatzivrettas" | what's current club with player being nikolaos chatzivrettas | CREATE TABLE table_12962773_1 (current_club VARCHAR, player VARCHAR) |
SELECT english_version FROM table_25173505_15 WHERE character = "Drizella" | Who voiced Drizella in the English version? | CREATE TABLE table_25173505_15 (english_version VARCHAR, character VARCHAR) |
SELECT COUNT(DISTINCT current_address_id) FROM Students | How many different addresses do the students currently live? | CREATE TABLE Students (current_address_id VARCHAR) |
SELECT result__pts_ FROM table_name_17 WHERE set_1 = "26-24" | What is the result of the game with a set 1 of 26-24? | CREATE TABLE table_name_17 (result__pts_ VARCHAR, set_1 VARCHAR) |
SELECT team_1 FROM table_name_20 WHERE team_2 = "olympique lyonnais (d2)" | Which team was team 1 in the match where team 2 was olympique lyonnais (d2)? | CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR) |
SELECT official_name FROM table_name_38 WHERE population < 1 OFFSET 429 | What is the name(s) of the place(s) with a population of less than 1,429? | CREATE TABLE table_name_38 (official_name VARCHAR, population INTEGER) |
SELECT venue FROM table_name_81 WHERE attendance = "47,678" | At what Venue was the Attendance 47,678? | CREATE TABLE table_name_81 (venue VARCHAR, attendance VARCHAR) |
SELECT MIN(points) FROM table_name_7 WHERE team = "rothmans honda" AND year = 1992 | How many points did team Rothmans Honda have in 1992? | CREATE TABLE table_name_7 (points INTEGER, team VARCHAR, year VARCHAR) |
SELECT team FROM table_name_16 WHERE completion__percentage = "59.8%" | Which team has a 59.8% completion rate? | CREATE TABLE table_name_16 (team VARCHAR, completion__percentage VARCHAR) |
SELECT date FROM table_name_7 WHERE name = "coppa acerbo" | What date was the name Coppa Acerbo? | CREATE TABLE table_name_7 (date VARCHAR, name VARCHAR) |
SELECT MIN(league) FROM table_name_98 WHERE malaysia_cup > 0 | What is the lowest league for the Malaysia Cup when it was larger than 0? | CREATE TABLE table_name_98 (league INTEGER, malaysia_cup INTEGER) |
SELECT vessel_type FROM table_26168687_3 WHERE vessel_operator = "Jumbo Shipping" | What is the vessel type for vessel operator Jumbo shipping? | CREATE TABLE table_26168687_3 (vessel_type VARCHAR, vessel_operator VARCHAR) |
SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Hinds" | What percentage of the votes did McCain get in Hinds? | CREATE TABLE table_20799587_1 (mccain_percentage VARCHAR, county VARCHAR) |
SELECT q1_time FROM table_1706942_1 WHERE q1_order = 6 | What is the Q1 time for the driver with Q1 order of 6? | CREATE TABLE table_1706942_1 (q1_time VARCHAR, q1_order VARCHAR) |
SELECT barony FROM table_30120566_1 WHERE townland = "Dawstown" AND civil_parish = "Matehy" | In what barony are both the townland Dawstown and the civil parish Matehy located? | CREATE TABLE table_30120566_1 (barony VARCHAR, townland VARCHAR, civil_parish VARCHAR) |
SELECT MIN(highest) FROM table_11207040_5 WHERE team = "Hamilton Academical" | What is the highest attandence at a Hamilton Academical game? | CREATE TABLE table_11207040_5 (highest INTEGER, team 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 province FROM table_name_25 WHERE mountain_range = "axel heiberg island" | Which province includes Axel Heiberg Island? | CREATE TABLE table_name_25 (province VARCHAR, mountain_range VARCHAR) |
SELECT wickets FROM table_15700367_4 WHERE overs_bowled = "9" | Name the wickets when overs bowled is 9 | CREATE TABLE table_15700367_4 (wickets VARCHAR, overs_bowled VARCHAR) |
SELECT score FROM table_name_9 WHERE record = "22-28-7-4" | What score has a record of 22-28-7-4? | CREATE TABLE table_name_9 (score VARCHAR, record VARCHAR) |
SELECT player FROM table_name_49 WHERE place = "t2" AND country = "united states" | Which player from the United States is in a place of T2? | CREATE TABLE table_name_49 (player VARCHAR, place VARCHAR, country VARCHAR) |
SELECT strike_rate FROM table_2985664_8 WHERE catches_stumpings = "13/1" | What is every strike rate when cathces/stumpings is 13/1? | CREATE TABLE table_2985664_8 (strike_rate VARCHAR, catches_stumpings VARCHAR) |
SELECT SUM(bronze) FROM table_name_14 WHERE silver > 0 AND total = 5 | What is the total number of bronze medals when the silver is greater than 0, and the total medals 5? | CREATE TABLE table_name_14 (bronze INTEGER, silver VARCHAR, total VARCHAR) |
SELECT final_score FROM table_10548224_1 WHERE date_contested = "February 1, 2009" | What was the final score for the game that was contested on February 1, 2009? | CREATE TABLE table_10548224_1 (final_score VARCHAR, date_contested VARCHAR) |
SELECT * FROM job_history AS T1 JOIN employees AS T2 ON T1.employee_id = T2.employee_id WHERE T2.salary >= 12000 | Can you return all detailed info of jobs which was done by any of the employees who is presently earning a salary on and above 12000? | CREATE TABLE job_history (employee_id VARCHAR); CREATE TABLE employees (employee_id VARCHAR, salary VARCHAR) |
SELECT future_stem FROM table_name_66 WHERE imperfect_stem = "hartzen" | What is the future stem for the word that has an imperfect stem of hartzen? | CREATE TABLE table_name_66 (future_stem VARCHAR, imperfect_stem VARCHAR) |
SELECT cause_of_death FROM table_name_37 WHERE rank = "detective" AND name = "donald william schneider" | What is Detective Donald William Schneider's Cause of death? | CREATE TABLE table_name_37 (cause_of_death VARCHAR, rank VARCHAR, name VARCHAR) |
SELECT week_2 FROM table_name_15 WHERE week_4 = "araya robinson" | What kind of Week 2 has a Week 4 of araya robinson? | CREATE TABLE table_name_15 (week_2 VARCHAR, week_4 VARCHAR) |
SELECT COUNT(rank) FROM table_name_56 WHERE silver = 0 AND gold = 2 AND total < 2 | Which Rank number has a Silver of 0, Gold of 2 and total smaller than 2? | CREATE TABLE table_name_56 (rank VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR) |
SELECT proto_oceanic FROM table_name_48 WHERE proto_polynesian = "*lima" | Which Proto-Oceanic has a Proto-Polynesian of *lima? | CREATE TABLE table_name_48 (proto_oceanic VARCHAR, proto_polynesian VARCHAR) |
SELECT SUM(people_per_km²) FROM table_name_41 WHERE regions = "sandoy" AND area = 112.1 | What is the sum of people per km2 for the sandoy region with an area of 112.1? | CREATE TABLE table_name_41 (people_per_km² INTEGER, regions VARCHAR, area VARCHAR) |
SELECT att_cmp_int FROM table_name_73 WHERE effic < 117.88 AND gp_gs = "10-0" | What is the att-cmp-int with an effic smaller than 117.88 and a gp-gs of 10-0? | CREATE TABLE table_name_73 (att_cmp_int VARCHAR, effic VARCHAR, gp_gs VARCHAR) |
SELECT FlightNo FROM FLIGHTS WHERE DestAirport = "APG" | What are flight numbers of flights arriving at Airport "APG"? | CREATE TABLE FLIGHTS (FlightNo VARCHAR, DestAirport VARCHAR) |
SELECT no_8 FROM table_name_48 WHERE no_1 = "michael" AND no_4 = "logan" | Who was No. 8 when No. 1 Michael and No. 4 Logan? | CREATE TABLE table_name_48 (no_8 VARCHAR, no_1 VARCHAR, no_4 VARCHAR) |
SELECT COUNT(losses) FROM table_name_5 WHERE no_result < 0 | Name the total number of losses with number result less than 0 | CREATE TABLE table_name_5 (losses VARCHAR, no_result INTEGER) |
SELECT cross_code_debut FROM table_name_68 WHERE player = "bev risman" | What is Bev Risman's Cross Code Debut? | CREATE TABLE table_name_68 (cross_code_debut VARCHAR, player VARCHAR) |
SELECT MAX(no_in_series) FROM table_27491610_2 WHERE directed_by = "Skip Sudduth" | What was the latest number in series that was directed by Skip Sudduth? | CREATE TABLE table_27491610_2 (no_in_series INTEGER, directed_by VARCHAR) |
SELECT COUNT(week) FROM table_name_87 WHERE record = "0-11" | What is the total number for the week with a record of 0-11? | CREATE TABLE table_name_87 (week VARCHAR, record VARCHAR) |
SELECT COUNT(rating) FROM table_name_78 WHERE player = "mark miller" AND comp > 1 | What is the sum rating with more than 1 comp for mark miller? | CREATE TABLE table_name_78 (rating VARCHAR, player VARCHAR, comp VARCHAR) |
SELECT cores FROM table_name_81 WHERE socket = "bga-1023" AND release_date = "february 2011" | What the cores with a release date of February 2011 and a BGA-1023 socket? | CREATE TABLE table_name_81 (cores VARCHAR, socket VARCHAR, release_date VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.