question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the IHSAA class with 395 in enrollment? | CREATE TABLE table_name_69 (ihsaa_class VARCHAR, enrollment VARCHAR) | SELECT ihsaa_class FROM table_name_69 WHERE enrollment = 395 |
Who directed the episode that aired on February 19, 1968? | CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR) | SELECT director FROM table_25800134_12 WHERE airdate = "February 19, 1968" |
What was the record for game 9? | CREATE TABLE table_21058836_1 (record VARCHAR, game VARCHAR) | SELECT record FROM table_21058836_1 WHERE game = 9 |
Name the matches for mark taylor category:articles with hcards | CREATE TABLE table_21486890_1 (matches INTEGER, name VARCHAR) | SELECT MAX(matches) FROM table_21486890_1 WHERE name = "Mark Taylor Category:Articles with hCards" |
Tell me the player for ballarat football league | CREATE TABLE table_name_94 (player VARCHAR, competition VARCHAR) | SELECT player FROM table_name_94 WHERE competition = "ballarat football league" |
Which opponent has a Record of 4-5? | CREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_31 WHERE record = "4-5" |
What is the average Matches, when Round is Third Qualifying Round? | CREATE TABLE table_name_81 (matches INTEGER, round VARCHAR) | SELECT AVG(matches) FROM table_name_81 WHERE round = "third qualifying round" |
What is the Martin McGuinness with a David Norris that is 10.3%? | CREATE TABLE table_name_16 (martin_mcguinness VARCHAR, david_norris VARCHAR) | SELECT martin_mcguinness FROM table_name_16 WHERE david_norris = "10.3%" |
Who built the car that has a Time/Retired of 1:34:12.912? | CREATE TABLE table_name_88 (constructor VARCHAR, time_retired VARCHAR) | SELECT constructor FROM table_name_88 WHERE time_retired = "1:34:12.912" |
how many candidates with result being retired to run for u. s. senate republican hold | CREATE TABLE table_1341586_19 (candidates VARCHAR, result VARCHAR) | SELECT COUNT(candidates) FROM table_1341586_19 WHERE result = "Retired to run for U. S. Senate Republican hold" |
Who is the Opponent in the final after 1983 with an Outcome of runner-up? | CREATE TABLE table_name_48 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT opponent_in_the_final FROM table_name_48 WHERE outcome = "runner-up" AND date > 1983 |
What was the order # or Erma Franklin? | CREATE TABLE table_26250151_1 (order__number VARCHAR, original_recording_artist VARCHAR) | SELECT order__number FROM table_26250151_1 WHERE original_recording_artist = "Erma Franklin" |
Tell me the sum of win % for drawn being larger than 35 | CREATE TABLE table_name_55 (win__percentage INTEGER, drawn INTEGER) | SELECT SUM(win__percentage) FROM table_name_55 WHERE drawn > 35 |
What is Team, when High Points is "Rashard Lewis (18)"? | CREATE TABLE table_name_58 (team VARCHAR, high_points VARCHAR) | SELECT team FROM table_name_58 WHERE high_points = "rashard lewis (18)" |
What is the names for the medalist in the sport of canoeing? | CREATE TABLE table_name_25 (name VARCHAR, sport VARCHAR) | SELECT name FROM table_name_25 WHERE sport = "canoeing" |
Who plays Overton Moyle in casino theatre 1888 & savoy theatre 1906? | CREATE TABLE table_148386_2 (casino_theatre_1888 VARCHAR, savoy_theatre_1906 VARCHAR) | SELECT casino_theatre_1888 FROM table_148386_2 WHERE savoy_theatre_1906 = "Overton Moyle" |
How many episodes in the series are also episode 18 in the season? | CREATE TABLE table_23492454_1 (no_in_series VARCHAR, no_in_season VARCHAR) | SELECT COUNT(no_in_series) FROM table_23492454_1 WHERE no_in_season = 18 |
What country has Tematico Content, and a package with sky TV and the Lei television service? | CREATE TABLE table_name_91 (country VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR) | SELECT country FROM table_name_91 WHERE content = "tematico" AND package_option = "sky tv" AND television_service = "lei" |
When did soul train music awards return? | CREATE TABLE table_name_49 (returning VARCHAR, show VARCHAR) | SELECT returning FROM table_name_49 WHERE show = "soul train music awards" |
Which Score has an Attendance of 23 january 1999, and a Tie # of 6? | CREATE TABLE table_name_74 (score VARCHAR, attendance VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_74 WHERE attendance = "23 january 1999" AND tie_no = "6" |
What is the 2007 population of Gigmoto? | CREATE TABLE table_255829_1 (population__2007_ VARCHAR, municipality VARCHAR) | SELECT COUNT(population__2007_) FROM table_255829_1 WHERE municipality = "Gigmoto" |
What place is the skier with 7.73 downhill points? | CREATE TABLE table_name_38 (place VARCHAR, downhill_points VARCHAR) | SELECT place FROM table_name_38 WHERE downhill_points = 7.73 |
What single was written by the artist cap D? | CREATE TABLE table_name_17 (single VARCHAR, artist VARCHAR) | SELECT single FROM table_name_17 WHERE artist = "cap d" |
What was the original air date where there were u.s. viewers (millions) is 5.60? | CREATE TABLE table_25716399_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) | SELECT original_air_date FROM table_25716399_1 WHERE us_viewers__millions_ = "5.60" |
What was the largest attendance at the Rheinstadion? | CREATE TABLE table_24814477_2 (attendance INTEGER, game_site VARCHAR) | SELECT MAX(attendance) FROM table_24814477_2 WHERE game_site = "Rheinstadion" |
How many members gained university status in 1900? | CREATE TABLE table_142950_1 (research_funding__ VARCHAR, gained_university_status VARCHAR) | SELECT COUNT(research_funding__) AS £, 000 AS _ FROM table_142950_1 WHERE gained_university_status = 1900 |
What was the lowest number of Total Foreign-born (millions) people, when the number of people Born in a non EU state (millions) was 6.415? | CREATE TABLE table_name_38 (total_foreign_born__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR) | SELECT MIN(total_foreign_born__millions_) FROM table_name_38 WHERE born_in_a_non_eu_state__millions_ = 6.415 |
which player has a conv of 14? | CREATE TABLE table_name_45 (player VARCHAR, conv VARCHAR) | SELECT player FROM table_name_45 WHERE conv = "14" |
What was the callback venue for the audition city in the episode aired on January 20, 2011? | CREATE TABLE table_27455867_1 (callback_venue VARCHAR, episode_air_date VARCHAR) | SELECT callback_venue FROM table_27455867_1 WHERE episode_air_date = "January 20, 2011" |
Show the stadium name and the number of concerts in each stadium. | CREATE TABLE stadium (name VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR) | SELECT T2.name, COUNT(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id |
What is the production code for the movie with 4.32 million U.S. viewers? | CREATE TABLE table_26845668_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) | SELECT production_code FROM table_26845668_1 WHERE us_viewers__millions_ = "4.32" |
Which track has the original album turbulent indigo? | CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR) | SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo" |
Name the first season in the series for 2006 | CREATE TABLE table_2454589_1 (first_season_in_the_serie_a VARCHAR, last_title VARCHAR) | SELECT first_season_in_the_serie_a FROM table_2454589_1 WHERE last_title = "2006" |
What Ratio has a Unit of zolotnik? | CREATE TABLE table_name_57 (ratio VARCHAR, unit VARCHAR) | SELECT ratio FROM table_name_57 WHERE unit = "zolotnik" |
What is Run 1, when Team is "Italy (ITA) Italy I"? | CREATE TABLE table_name_15 (run_1 VARCHAR, team VARCHAR) | SELECT run_1 FROM table_name_15 WHERE team = "italy (ita) italy i" |
Record of 16–29 is how many attendance? | CREATE TABLE table_name_32 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_32 WHERE record = "16–29" |
Which Set 1 has a Time of 14:00, and a Set 3 of 19–25? | CREATE TABLE table_name_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR) | SELECT set_1 FROM table_name_22 WHERE time = "14:00" AND set_3 = "19–25" |
What is H/A/N, when Record is 20-48? | CREATE TABLE table_name_64 (h_a_n VARCHAR, record VARCHAR) | SELECT h_a_n FROM table_name_64 WHERE record = "20-48" |
What number game was it that the Spurs were @ Miami? | CREATE TABLE table_name_82 (game INTEGER, team VARCHAR) | SELECT SUM(game) FROM table_name_82 WHERE team = "@ miami" |
What's the total wins for Wentworth with less than 0 byes? | CREATE TABLE table_name_45 (wins VARCHAR, sunrayia_fl VARCHAR, byes VARCHAR) | SELECT COUNT(wins) FROM table_name_45 WHERE sunrayia_fl = "wentworth" AND byes < 0 |
How many episodes are numbered 4 in the season? | CREATE TABLE table_26561506_1 (patient_portrayer VARCHAR, _number VARCHAR) | SELECT COUNT(patient_portrayer) FROM table_26561506_1 WHERE _number = 4 |
What is the Country of the Player in Place 1? | CREATE TABLE table_name_39 (country VARCHAR, place VARCHAR) | SELECT country FROM table_name_39 WHERE place = "1" |
Who were the runners-up at the Alfred Dunhill Links Championship? | CREATE TABLE table_name_97 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_97 WHERE tournament = "alfred dunhill links championship" |
For the album Board Up the House, what is the contribution? | CREATE TABLE table_name_49 (contribution VARCHAR, album VARCHAR) | SELECT contribution FROM table_name_49 WHERE album = "board up the house" |
What is the name of the Outfielder that was picked prior to Pick 42? | CREATE TABLE table_name_63 (player VARCHAR, position VARCHAR, pick VARCHAR) | SELECT player FROM table_name_63 WHERE position = "outfielder" AND pick < 42 |
What is the sum of the FAC/LC G with a CL G less than 2, less than 5 total apps, and a UEFA YC greater than 0? | CREATE TABLE table_name_30 (fac___lc_g INTEGER, UEfa_yc VARCHAR, cl_g VARCHAR, total_apps VARCHAR) | SELECT SUM(fac___lc_g) FROM table_name_30 WHERE cl_g < 2 AND total_apps < 5 AND UEfa_yc > 0 |
What is Rocco Mediate's par? | CREATE TABLE table_name_17 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_17 WHERE player = "rocco mediate" |
What was the highest round for Bowling Green with a pick smaller than 210? | CREATE TABLE table_name_69 (round INTEGER, school VARCHAR, pick VARCHAR) | SELECT MAX(round) FROM table_name_69 WHERE school = "bowling green" AND pick < 210 |
What is the total number of losses that has draws larger than 1 and a Portland DFL of westerns? | CREATE TABLE table_name_75 (losses INTEGER, portland_dfl VARCHAR, draws VARCHAR) | SELECT SUM(losses) FROM table_name_75 WHERE portland_dfl = "westerns" AND draws > 1 |
What Game had a Score of 101–92? | CREATE TABLE table_name_71 (game INTEGER, score VARCHAR) | SELECT AVG(game) FROM table_name_71 WHERE score = "101–92" |
What is the Total Orphans number when the number of Total Orphans (AIDS Related) is < 100, and the Maternal (Total) is smaller than 31,000? | CREATE TABLE table_name_66 (total_orphans__total_ INTEGER, total_orphans__aids_related_ VARCHAR, maternal__total_ VARCHAR) | SELECT MIN(total_orphans__total_) FROM table_name_66 WHERE total_orphans__aids_related_ = "< 100" AND maternal__total_ < 31 OFFSET 000 |
At what location and what was the attendance when Rafer Alston (10) achieved high assists? | CREATE TABLE table_17288825_7 (location_attendance VARCHAR, high_assists VARCHAR) | SELECT location_attendance FROM table_17288825_7 WHERE high_assists = "Rafer Alston (10)" |
What is Version, when Genre is "Action", and when Title is "Hairball"? | CREATE TABLE table_name_39 (version VARCHAR, genre VARCHAR, title VARCHAR) | SELECT version FROM table_name_39 WHERE genre = "action" AND title = "hairball" |
Which event shows Matt St. Louis in second and a skip of John Morris? | CREATE TABLE table_name_24 (event VARCHAR, skip VARCHAR, second VARCHAR) | SELECT event FROM table_name_24 WHERE skip = "john morris" AND second = "matt st. louis" |
Name the archive where run time 24:04 | CREATE TABLE table_1776943_1 (archive VARCHAR, run_time VARCHAR) | SELECT archive FROM table_1776943_1 WHERE run_time = "24:04" |
Which Year is the lowest when the Viewers are 13.7 million? | CREATE TABLE table_name_7 (year INTEGER, viewers VARCHAR) | SELECT MIN(year) FROM table_name_7 WHERE viewers = "13.7 million" |
Which Artist has a Week of Top 12? | CREATE TABLE table_name_54 (artist VARCHAR, week VARCHAR) | SELECT artist FROM table_name_54 WHERE week = "top 12" |
What year was Herself nominated at the MTV Movie Awards? | CREATE TABLE table_name_68 (year INTEGER, nominated_work VARCHAR, event VARCHAR) | SELECT MAX(year) FROM table_name_68 WHERE nominated_work = "herself" AND event = "mtv movie awards" |
If the college is Trinity, what position is listed? | CREATE TABLE table_name_40 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_40 WHERE college = "trinity" |
What is the lowest after when the player is adam scott? | CREATE TABLE table_28498999_3 (after INTEGER, player VARCHAR) | SELECT MIN(after) FROM table_28498999_3 WHERE player = "Adam Scott" |
Which champion got a score of 12-1? | CREATE TABLE table_name_78 (champion VARCHAR, score VARCHAR) | SELECT champion FROM table_name_78 WHERE score = "12-1" |
Where is lootos põlva from? | CREATE TABLE table_27409644_1 (location VARCHAR, club VARCHAR) | SELECT location FROM table_27409644_1 WHERE club = "Lootos Põlva" |
Show all information about each body builder. | CREATE TABLE body_builder (Id VARCHAR) | SELECT * FROM body_builder |
What year did Zone Rouge first air? | CREATE TABLE table_name_79 (first_year_aired VARCHAR, name VARCHAR) | SELECT first_year_aired FROM table_name_79 WHERE name = "zone rouge" |
What is the win/loss of coach Peter German? | CREATE TABLE table_name_23 (win_loss VARCHAR, coach VARCHAR) | SELECT win_loss FROM table_name_23 WHERE coach = "peter german" |
Which parishes have the highworth railroad? | CREATE TABLE table_16226584_1 (parish VARCHAR, name VARCHAR) | SELECT parish FROM table_16226584_1 WHERE name = "Highworth" |
What type of surface was played on July 27, 2013? | CREATE TABLE table_name_31 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_31 WHERE date = "july 27, 2013" |
What nation has 1 as the gold and 2 as the total? | CREATE TABLE table_name_6 (nation VARCHAR, gold VARCHAR, total VARCHAR) | SELECT nation FROM table_name_6 WHERE gold = 1 AND total = 2 |
What was the pick number for the WR position? | CREATE TABLE table_name_59 (pick__number VARCHAR, position VARCHAR) | SELECT pick__number FROM table_name_59 WHERE position = "wr" |
What is the position of the player that came from the school/club team/country of Purdue? | CREATE TABLE table_11734041_11 (position VARCHAR, school_club_team_country VARCHAR) | SELECT position FROM table_11734041_11 WHERE school_club_team_country = "Purdue" |
When were the Cleveland Browns the visiting team? | CREATE TABLE table_name_62 (date VARCHAR, visiting_team VARCHAR) | SELECT date FROM table_name_62 WHERE visiting_team = "cleveland browns" |
Which Drawn has Points for of 782? | CREATE TABLE table_name_2 (drawn VARCHAR, points_for VARCHAR) | SELECT drawn FROM table_name_2 WHERE points_for = "782" |
What are the scores made by Charlotte team | CREATE TABLE table_17311759_4 (score VARCHAR, team VARCHAR) | SELECT score FROM table_17311759_4 WHERE team = "Charlotte" |
what is 2003 when 2005 is did not qualify? | CREATE TABLE table_name_37 (Id VARCHAR) | SELECT 2003 FROM table_name_37 WHERE 2005 = "did not qualify" |
How many teams have a player named Denis Andersen? | CREATE TABLE table_1965650_7 (nhl_team VARCHAR, player VARCHAR) | SELECT COUNT(nhl_team) FROM table_1965650_7 WHERE player = "Denis Andersen" |
What is the number of recepits per arrival in 2010 (col 2)/(col 1) USD with colombia (1) as the selected carribean and latin american country? | CREATE TABLE table_name_71 (receipts_per_arrival_2010__col_2___col_1____usd__ VARCHAR, selected_caribbean_and_n_latin_america_countries VARCHAR) | SELECT receipts_per_arrival_2010__col_2___col_1____usd__ FROM table_name_71 WHERE selected_caribbean_and_n_latin_america_countries = "colombia (1)" |
What is the RECNet belonging to Class A with a Power of 3,000 watts? | CREATE TABLE table_name_75 (recnet VARCHAR, class VARCHAR, power VARCHAR) | SELECT recnet FROM table_name_75 WHERE class = "a" AND power = "3,000 watts" |
What is the away team playing at Everton? | CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_88 WHERE home_team = "everton" |
What's the attendance of the san diego chargers game before week 6? | CREATE TABLE table_name_97 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_name_97 WHERE week < 6 AND opponent = "san diego chargers" |
What was the highest attendance at a Detroit home game? | CREATE TABLE table_name_83 (attendance INTEGER, home VARCHAR) | SELECT MAX(attendance) FROM table_name_83 WHERE home = "detroit" |
What is the sum of the season with 8 clubs and shanghai as the runners-up? | CREATE TABLE table_name_63 (season INTEGER, number_of_clubs VARCHAR, runners_up VARCHAR) | SELECT SUM(season) FROM table_name_63 WHERE number_of_clubs = 8 AND runners_up = "shanghai" |
Which tournament had A in 2008, and a 1r in 2010? | CREATE TABLE table_name_4 (tournament VARCHAR) | SELECT tournament FROM table_name_4 WHERE 2008 = "a" AND 2010 = "1r" |
Which Partnering has a Score of 6-3, 4-6, 6-4? | CREATE TABLE table_name_92 (partnering VARCHAR, score VARCHAR) | SELECT partnering FROM table_name_92 WHERE score = "6-3, 4-6, 6-4" |
How many teams have the titans as a mascot? | CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR) | SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Titans" |
What is the percentage of Android use when Windows is 1.15%? | CREATE TABLE table_11381701_3 (android VARCHAR, windows VARCHAR) | SELECT android FROM table_11381701_3 WHERE windows = "1.15%" |
What was the Attendance of the Game at Hoosier Dome? | CREATE TABLE table_name_92 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_92 WHERE game_site = "hoosier dome" |
Name the most rank with bronze of 0 and silver more than 1 and gold more than 0 | CREATE TABLE table_name_54 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT MAX(rank) FROM table_name_54 WHERE bronze = 0 AND silver > 1 AND gold > 0 |
What is the change in population since 1993 in the region where the % of country's population was 4.2? | CREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR) | SELECT COUNT(change_in_population_since_1993) FROM table_2637317_1 WHERE _percentage_of_countrys_population = "4.2" |
Which player made exactly 223 passes? | CREATE TABLE table_28461589_2 (player VARCHAR, passes VARCHAR) | SELECT player FROM table_28461589_2 WHERE passes = 223 |
What is the Date for the game at michie stadium • west point, ny? | CREATE TABLE table_name_80 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_80 WHERE location = "michie stadium • west point, ny" |
Show codes and fates of missions, and names of ships involved. | CREATE TABLE mission (Code VARCHAR, Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Name VARCHAR, Ship_ID VARCHAR) | SELECT T1.Code, T1.Fate, T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID |
When was the first election in the district whose incumbent is Ron Kind? | CREATE TABLE table_1341423_49 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1341423_49 WHERE incumbent = "Ron Kind" |
Who was the Opponent on November 27, 2005? | CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_32 WHERE date = "november 27, 2005" |
Which Species Specific has a Link of server/sourcecode? | CREATE TABLE table_name_53 (species_specific VARCHAR, link VARCHAR) | SELECT species_specific FROM table_name_53 WHERE link = "server/sourcecode" |
What stadium did the Denver Broncos visit? | CREATE TABLE table_name_60 (stadium VARCHAR, visiting_team VARCHAR) | SELECT stadium FROM table_name_60 WHERE visiting_team = "denver broncos" |
What's the Total (kg) of a Snatch of 132.5? | CREATE TABLE table_name_86 (total__kg_ VARCHAR, snatch VARCHAR) | SELECT total__kg_ FROM table_name_86 WHERE snatch = 132.5 |
Name the engine for year less than 1977 | CREATE TABLE table_name_76 (engine VARCHAR, year INTEGER) | SELECT engine FROM table_name_76 WHERE year < 1977 |
who is the away team on 21 september? | CREATE TABLE table_name_42 (away_team VARCHAR, date VARCHAR) | SELECT away_team FROM table_name_42 WHERE date = "21 september" |
What is the McCain vote percentage in Jerome county? | CREATE TABLE table_20684390_1 (mccain_percentage VARCHAR, county VARCHAR) | SELECT mccain_percentage FROM table_20684390_1 WHERE county = "Jerome" |
Show all distinct location names. | CREATE TABLE LOCATIONS (Location_Name VARCHAR) | SELECT DISTINCT Location_Name FROM LOCATIONS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.