question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
When was alfred university founded? | CREATE TABLE table_262476_3 (founded INTEGER, institution VARCHAR) | SELECT MAX(founded) FROM table_262476_3 WHERE institution = "Alfred University" |
Who was second runner up when Janina San Miguel won Binibining Pilipinas-World? | CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR) | SELECT second_runner_up FROM table_1825751_4 WHERE binibining_pilipinas_world = "Janina San Miguel" |
What was the value in 2010 for the airport coded OTP/LROP? | CREATE TABLE table_name_62 (code__iata_icao_ VARCHAR) | SELECT MAX(2010) FROM table_name_62 WHERE code__iata_icao_ = "otp/lrop" |
Which Rank has an Opposition of limerick? | CREATE TABLE table_name_12 (rank VARCHAR, opposition VARCHAR) | SELECT rank FROM table_name_12 WHERE opposition = "limerick" |
Name the greek modern for słyszałeś był / słyszałaś była | CREATE TABLE table_1841901_1 (greek__modern_ VARCHAR, polish__extinct_ VARCHAR) | SELECT greek__modern_ FROM table_1841901_1 WHERE polish__extinct_ = "słyszałeś był / słyszałaś była" |
Which award did Scream receive a nomination and/or win for in 1997? | CREATE TABLE table_name_27 (award VARCHAR, work VARCHAR, year VARCHAR) | SELECT award FROM table_name_27 WHERE work = "scream" AND year = 1997 |
What was the highest attendance of the matches that took place at Windy Hill? | CREATE TABLE table_name_38 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_38 WHERE venue = "windy hill" |
How many synthesis are there for 5~16.2 pw per cycle (calculated) output power? | CREATE TABLE table_30057479_1 (synthesis VARCHAR, output_power VARCHAR) | SELECT COUNT(synthesis) FROM table_30057479_1 WHERE output_power = "5~16.2 pW per cycle (calculated)" |
What is the highest population of a city that has a town status of 2010? | CREATE TABLE table_name_91 (population INTEGER, town_status VARCHAR) | SELECT MAX(population) FROM table_name_91 WHERE town_status = "2010" |
What's the Score for the Game of 75? | CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_74 WHERE game = 75 |
What game was in 2011? | CREATE TABLE table_name_7 (game VARCHAR, year VARCHAR) | SELECT game FROM table_name_7 WHERE year = 2011 |
What is the sum of swimsuit with an evening gown of 9.773 and average larger than 9.674? | CREATE TABLE table_name_82 (swimsuit INTEGER, evening_gown VARCHAR, average VARCHAR) | SELECT SUM(swimsuit) FROM table_name_82 WHERE evening_gown = 9.773 AND average > 9.674 |
Which film, directed by Dana Dorian, was nominated? | CREATE TABLE table_name_40 (film VARCHAR, rank VARCHAR, director_s_ VARCHAR) | SELECT film FROM table_name_40 WHERE rank = "nominated" AND director_s_ = "dana dorian" |
Which result has a Goal of deacon 2/5? | CREATE TABLE table_name_47 (result VARCHAR, goals VARCHAR) | SELECT result FROM table_name_47 WHERE goals = "deacon 2/5" |
Of all shows who have a rating larger than 7.8, aired on October 26, 2006, and has a share of over 14, what is the sum of the viewers? | CREATE TABLE table_name_91 (viewers INTEGER, share VARCHAR, rating VARCHAR, airdate VARCHAR) | SELECT SUM(viewers) FROM table_name_91 WHERE rating > 7.8 AND airdate = "october 26, 2006" AND share > 14 |
What is Record, when Event is "Independent Event", and when Method is "Submission (Peruvian Necktie)"? | CREATE TABLE table_name_2 (record VARCHAR, event VARCHAR, method VARCHAR) | SELECT record FROM table_name_2 WHERE event = "independent event" AND method = "submission (peruvian necktie)" |
How many field goals were made by the person with 100 points in total? | CREATE TABLE table_14342210_14 (field_goals__5_points_ INTEGER, total_points VARCHAR) | SELECT MAX(field_goals__5_points_) FROM table_14342210_14 WHERE total_points = 100 |
What's the date when the location is Berlin? | CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_76 WHERE location = "berlin" |
Who were the opponents in the final on 9 January 1994? | CREATE TABLE table_name_29 (opponents_in_final VARCHAR, date VARCHAR) | SELECT opponents_in_final FROM table_name_29 WHERE date = "9 january 1994" |
Show the document name and the document date for all documents on project with details 'Graph Database project'. | CREATE TABLE Documents (project_id VARCHAR); CREATE TABLE projects (project_id VARCHAR, project_details VARCHAR) | SELECT document_name, document_date FROM Documents AS T1 JOIN projects AS T2 ON T1.project_id = T2.project_id WHERE T2.project_details = 'Graph Database project' |
Name the score for moscow, ussr 15 february 1971 | CREATE TABLE table_name_57 (score_in_the_final VARCHAR, location VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_57 WHERE location = "moscow, ussr" AND date = "15 february 1971" |
What was the away score when the home team was Melbourne? | CREATE TABLE table_name_84 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_84 WHERE home_team = "melbourne" |
What is the minimum number of members Africa had in 2001? | CREATE TABLE table_1914090_2 (africa INTEGER, year VARCHAR) | SELECT MIN(africa) FROM table_1914090_2 WHERE year = 2001 |
What was the latest episode number that Meredith Averill wrote? | CREATE TABLE table_28561455_1 (no_in_series INTEGER, written_by VARCHAR) | SELECT MAX(no_in_series) FROM table_28561455_1 WHERE written_by = "Meredith Averill" |
What is the digital reaction for week of top 5 for Taylor Hicks? | CREATE TABLE table_name_20 (hot_digital_songs_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR) | SELECT hot_digital_songs_reaction FROM table_name_20 WHERE week = "top 5" AND performer_s_ = "taylor hicks" |
What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354? | CREATE TABLE table_name_64 (Id VARCHAR) | SELECT COUNT(1876) FROM table_name_64 WHERE 1872 < 1921 AND 1891 < 354 |
WHich Team that has Points against of 43? | CREATE TABLE table_name_17 (team VARCHAR, points_against VARCHAR) | SELECT team FROM table_name_17 WHERE points_against = 43 |
What is the time of the tim trophy competition where juventus was the opponent? | CREATE TABLE table_name_4 (time VARCHAR, competition VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_4 WHERE competition = "tim trophy" AND opponent = "juventus" |
what is the lowest laps when the grid is smaller than 5 and the driver is juan manuel fangio? | CREATE TABLE table_name_45 (laps INTEGER, grid VARCHAR, driver VARCHAR) | SELECT MIN(laps) FROM table_name_45 WHERE grid < 5 AND driver = "juan manuel fangio" |
What is the total number of Wins, when Losses is less than 10, when Against is less than 1253, and when Byes is less than 0? | CREATE TABLE table_name_42 (wins VARCHAR, byes VARCHAR, losses VARCHAR, against VARCHAR) | SELECT COUNT(wins) FROM table_name_42 WHERE losses < 10 AND against < 1253 AND byes < 0 |
How many races took place on October 1? | CREATE TABLE table_22673956_1 (race_name VARCHAR, date VARCHAR) | SELECT COUNT(race_name) FROM table_22673956_1 WHERE date = "October 1" |
What was the date of the discus throw for Bulgaria? | CREATE TABLE table_name_40 (date VARCHAR, nationality VARCHAR, event VARCHAR) | SELECT date FROM table_name_40 WHERE nationality = "bulgaria" AND event = "discus throw" |
What is the height of the player who is from Huntington, WV? | CREATE TABLE table_name_93 (height VARCHAR, hometown VARCHAR) | SELECT height FROM table_name_93 WHERE hometown = "huntington, wv" |
Which Week had a Result of w 23-17? | CREATE TABLE table_name_58 (week INTEGER, result VARCHAR) | SELECT SUM(week) FROM table_name_58 WHERE result = "w 23-17" |
What was Tom Silver's rank? | CREATE TABLE table_name_86 (rank VARCHAR, rider VARCHAR) | SELECT rank FROM table_name_86 WHERE rider = "tom silver" |
What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01? | CREATE TABLE table_name_40 (cospar_id VARCHAR, launch_date_time__utc_ VARCHAR) | SELECT cospar_id FROM table_name_40 WHERE launch_date_time__utc_ = "1995-11-06, 05:15:01" |
How much Jury has an Artist of chalice & maagiline kuues, and a Draw smaller than 5? | CREATE TABLE table_name_66 (jury VARCHAR, artist VARCHAR, draw VARCHAR) | SELECT COUNT(jury) FROM table_name_66 WHERE artist = "chalice & maagiline kuues" AND draw < 5 |
What was the venue that featured the Melbourne Tigers as the away team? | CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_95 WHERE away_team = "melbourne tigers" |
What is the total number of Caps Aca Ratuva, a flanker, has? | CREATE TABLE table_name_40 (caps VARCHAR, position VARCHAR, player VARCHAR) | SELECT COUNT(caps) FROM table_name_40 WHERE position = "flanker" AND player = "aca ratuva" |
What shows as Content for the Television service of nickelodeon +1? | CREATE TABLE table_name_75 (content VARCHAR, television_service VARCHAR) | SELECT content FROM table_name_75 WHERE television_service = "nickelodeon +1" |
What's the 2008 of the US Open when 2010 was 2R and 2011 was 1R? | CREATE TABLE table_name_17 (tournament VARCHAR) | SELECT 2008 FROM table_name_17 WHERE 2011 = "1r" AND 2010 = "2r" AND tournament = "us open" |
Name the score for september 12, 1993 | CREATE TABLE table_name_34 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_34 WHERE date = "september 12, 1993" |
What was the results for the district oklahoma 3? | CREATE TABLE table_1341423_36 (results VARCHAR, district VARCHAR) | SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 3" |
What is the highest Year with of the open championship? | CREATE TABLE table_name_14 (year INTEGER, championship VARCHAR) | SELECT MAX(year) FROM table_name_14 WHERE championship = "the open championship" |
What date was the game where Texas Southern was the visiting team? | CREATE TABLE table_28298589_4 (date VARCHAR, visiting_team VARCHAR) | SELECT date FROM table_28298589_4 WHERE visiting_team = "Texas Southern" |
Name the most place for goals scored more than 28 and played less than 18 | CREATE TABLE table_name_23 (place INTEGER, goals_scored VARCHAR, played VARCHAR) | SELECT MAX(place) FROM table_name_23 WHERE goals_scored > 28 AND played < 18 |
How many figures are named for security forces in 1998? | CREATE TABLE table_21636599_2 (security_forces VARCHAR, period VARCHAR) | SELECT COUNT(security_forces) FROM table_21636599_2 WHERE period = 1998 |
What is the Score with a Date with may 2? | CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_47 WHERE date = "may 2" |
What is the average points that Centro Asegurador earned with the McLaren M23 chassis? | CREATE TABLE table_name_3 (points INTEGER, chassis VARCHAR, entrant VARCHAR) | SELECT AVG(points) FROM table_name_3 WHERE chassis = "mclaren m23" AND entrant = "centro asegurador" |
How many different nationalities do the players of New Jersey Devils come from? | CREATE TABLE table_1013129_3 (nationality VARCHAR, nhl_team VARCHAR) | SELECT COUNT(nationality) FROM table_1013129_3 WHERE nhl_team = "New Jersey Devils" |
Show all ages and corresponding number of students. | CREATE TABLE Student (age VARCHAR) | SELECT age, COUNT(*) FROM Student GROUP BY age |
Which nationality has a Ship of minteh? | CREATE TABLE table_name_62 (nationality VARCHAR, ship VARCHAR) | SELECT nationality FROM table_name_62 WHERE ship = "minteh" |
Which missions were scheduled to launch on November 16, 2006? | CREATE TABLE table_11869952_3 (mission VARCHAR, launch_date VARCHAR) | SELECT mission FROM table_11869952_3 WHERE launch_date = "November 16, 2006" |
What Elected has Assembled of 23 january 1559? | CREATE TABLE table_name_44 (elected VARCHAR, assembled VARCHAR) | SELECT elected FROM table_name_44 WHERE assembled = "23 january 1559" |
What is the date of the game that ended with a score of 96-89? | CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_92 WHERE score = "96-89" |
What were the Away team Kangaroos Crowd totals? | CREATE TABLE table_name_56 (crowd INTEGER, away_team VARCHAR) | SELECT SUM(crowd) FROM table_name_56 WHERE away_team = "kangaroos" |
in round 9 who was the 250cc winner? | CREATE TABLE table_15299235_1 (round VARCHAR) | SELECT 250 AS cc_winner FROM table_15299235_1 WHERE round = 9 |
What was the Comp on 2007-08-06? | CREATE TABLE table_name_16 (comp VARCHAR, date VARCHAR) | SELECT comp FROM table_name_16 WHERE date = "2007-08-06" |
Find the number of manufactures that are based in Tokyo or Beijing. | CREATE TABLE manufacturers (headquarter VARCHAR) | SELECT COUNT(*) FROM manufacturers WHERE headquarter = 'Tokyo' OR headquarter = 'Beijing' |
What is the overs when the matches are 10? | CREATE TABLE table_name_88 (overs VARCHAR, matches VARCHAR) | SELECT overs FROM table_name_88 WHERE matches = "10" |
what is the longitude when the water (sqmi) is 0.317 and the ansi code is higher than 1759695? | CREATE TABLE table_name_75 (longitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR) | SELECT AVG(longitude) FROM table_name_75 WHERE water__sqmi_ = 0.317 AND ansi_code > 1759695 |
A .416 barrett has which Case Length? | CREATE TABLE table_name_9 (case_length VARCHAR, name VARCHAR) | SELECT case_length FROM table_name_9 WHERE name = ".416 barrett" |
How many catches does hh dippenaar have? | CREATE TABLE table_name_59 (catches VARCHAR, player VARCHAR) | SELECT catches FROM table_name_59 WHERE player = "hh dippenaar" |
Where did god & guns peak on the Billboard? | CREATE TABLE table_name_52 (billboard_peak VARCHAR, title VARCHAR) | SELECT billboard_peak FROM table_name_52 WHERE title = "god & guns" |
What is the year that the oldest church was built in Jostedal? | CREATE TABLE table_178398_1 (year_built INTEGER, location_of_the_church VARCHAR) | SELECT MIN(year_built) FROM table_178398_1 WHERE location_of_the_church = "Jostedal" |
What is Date, when Name is "Guay, Albert , 32"? | CREATE TABLE table_name_48 (date VARCHAR, name VARCHAR) | SELECT date FROM table_name_48 WHERE name = "guay, albert , 32" |
Name the Report has a Name of lyon grand prix? | CREATE TABLE table_name_70 (report VARCHAR, name VARCHAR) | SELECT report FROM table_name_70 WHERE name = "lyon grand prix" |
How big was the crowd when the away team was Richmond? | CREATE TABLE table_name_4 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_4 WHERE away_team = "richmond" |
What is the Studio of the Film with a Gross rental of $7,500,000? | CREATE TABLE table_name_33 (studio VARCHAR, gross_rental VARCHAR) | SELECT studio FROM table_name_33 WHERE gross_rental = "$7,500,000" |
Rosa Pompanin was second for which club? | CREATE TABLE table_name_64 (club VARCHAR, second VARCHAR) | SELECT club FROM table_name_64 WHERE second = "rosa pompanin" |
How many different circuits had Gary Gibson has the Lites 1 race two winning team? | CREATE TABLE table_26638600_3 (lites_2_race_one_winning_team VARCHAR, lites_1_race_two_winning_team VARCHAR) | SELECT COUNT(lites_2_race_one_winning_team) FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "Gary Gibson" |
What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003? | CREATE TABLE table_name_47 (h_s_asst_principal VARCHAR, glendale_principal VARCHAR, year VARCHAR) | SELECT h_s_asst_principal FROM table_name_47 WHERE glendale_principal = "joyce brace" AND year = "2002-2003" |
Find the name of the ships that have more than one captain. | CREATE TABLE captain (ship_id VARCHAR); CREATE TABLE ship (name VARCHAR, ship_id VARCHAR) | SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id GROUP BY t2.ship_id HAVING COUNT(*) > 1 |
What is the D42 associated with a D47 of d 27? | CREATE TABLE table_name_31 (d_42 VARCHAR, d_47 VARCHAR) | SELECT d_42 FROM table_name_31 WHERE d_47 = "d 27" |
When the wallington new foresters are in division four what is the season? | CREATE TABLE table_24575253_4 (season VARCHAR, division_four VARCHAR) | SELECT season FROM table_24575253_4 WHERE division_four = "Wallington New Foresters" |
what is the minimum attendance with score 8.16 (64) – 8.12 (60) | CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR) | SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "8.16 (64) – 8.12 (60)" |
Whati s the format for the catalogno of st 491? | CREATE TABLE table_name_26 (format VARCHAR, catalogno VARCHAR) | SELECT format FROM table_name_26 WHERE catalogno = "st 491" |
what is the score for the dams? | CREATE TABLE table_10705060_1 (points VARCHAR, team_name VARCHAR) | SELECT points FROM table_10705060_1 WHERE team_name = "DAMS" |
What was the average year that Thuppakki movies came out? | CREATE TABLE table_name_12 (year INTEGER, movie VARCHAR) | SELECT AVG(year) FROM table_name_12 WHERE movie = "thuppakki" |
What is the total for the set 2 of 25-18? | CREATE TABLE table_name_80 (total VARCHAR, set_2 VARCHAR) | SELECT total FROM table_name_80 WHERE set_2 = "25-18" |
How many export volume of goods and services values are associated with GDP at current prices of 161.340? | CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR) | SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "161.340" |
Which Maximum episode premiered March 8, 2008? | CREATE TABLE table_2140071_8 (episode INTEGER, premier_date VARCHAR) | SELECT MAX(episode) FROM table_2140071_8 WHERE premier_date = "March 8, 2008" |
If the area is 66.34, what is the minimum (2010 census) population? | CREATE TABLE table_232458_1 (population__2010_census_ INTEGER, area__km²_ VARCHAR) | SELECT MIN(population__2010_census_) FROM table_232458_1 WHERE area__km²_ = "66.34" |
List all the total scores for the election which had 3072 invalid votes | CREATE TABLE table_23390604_1 (total_votes VARCHAR, spoiled_ballots VARCHAR) | SELECT total_votes FROM table_23390604_1 WHERE spoiled_ballots = 3072 |
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 venue FROM table_name_51 WHERE opponent = "collingwood" AND score = "7.14 (56) - 4.5 (29)" |
Find the last names of all the teachers that teach GELL TAMI. | CREATE TABLE teachers (lastname VARCHAR, classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) | SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "GELL" AND T1.lastname = "TAMI" |
What rank is Takatōriki having less than 30 total? | CREATE TABLE table_name_60 (highest_rank VARCHAR, total VARCHAR, name VARCHAR) | SELECT highest_rank FROM table_name_60 WHERE total < 30 AND name = "takatōriki" |
If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals? | CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR) | SELECT semifinals FROM table_26335424_86 WHERE round_of_16 = "Yulius Fernando ( INA ) L PTS 5-6" |
List all the log ids and their descriptions from the problem logs. | CREATE TABLE problem_log (problem_log_id VARCHAR, log_entry_description VARCHAR) | SELECT problem_log_id, log_entry_description FROM problem_log |
Which team had a year over 1995, machine of RS125R, and ranked 1st? | CREATE TABLE table_name_95 (team VARCHAR, rank VARCHAR, year VARCHAR, machine VARCHAR) | SELECT team FROM table_name_95 WHERE year > 1995 AND machine = "rs125r" AND rank = "1st" |
What was the round number when Michael Hjalm played? | CREATE TABLE table_name_27 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_27 WHERE player = "michael hjalm" |
What is the score of set 3 when the total is 45–31? | CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR) | SELECT set_3 FROM table_name_24 WHERE total = "45–31" |
Which team was at Corio Oval on 4 June 1927? | CREATE TABLE table_name_77 (away_team VARCHAR, date VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_77 WHERE date = "4 june 1927" AND venue = "corio oval" |
Which team had 2 wins and a season later than 1986? | CREATE TABLE table_name_55 (team VARCHAR, wins VARCHAR, season VARCHAR) | SELECT team FROM table_name_55 WHERE wins = 2 AND season > 1986 |
What song has draw number less than 2? | CREATE TABLE table_name_41 (song VARCHAR, draw INTEGER) | SELECT song FROM table_name_41 WHERE draw < 2 |
Which player from Tucson, Arizona won the Championship? | CREATE TABLE table_name_58 (champion VARCHAR, city VARCHAR) | SELECT champion FROM table_name_58 WHERE city = "tucson, arizona" |
What is the sum of the places of the team with more than 49 points and less than 54 goals scored? | CREATE TABLE table_name_70 (place__posición_ INTEGER, points__pts_ VARCHAR, goals_scored__gf_ VARCHAR) | SELECT SUM(place__posición_) FROM table_name_70 WHERE points__pts_ > 49 AND goals_scored__gf_ < 54 |
What is the time for the rank after 5 with sc/d notes? | CREATE TABLE table_name_27 (time VARCHAR, notes VARCHAR, rank VARCHAR) | SELECT time FROM table_name_27 WHERE notes = "sc/d" AND rank > 5 |
Who is the youngest employee in the company? List employee's first and last name. | CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, birth_date VARCHAR) | SELECT first_name, last_name FROM employees ORDER BY birth_date DESC LIMIT 1 |
What was the result of the week that was a bye before week 6? | CREATE TABLE table_name_47 (result VARCHAR, week VARCHAR, game_site VARCHAR) | SELECT result FROM table_name_47 WHERE week < 6 AND game_site = "bye" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.