answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT AVG(money___) AS $__ FROM table_name_82 WHERE score = 74 - 72 - 75 - 71 = 292 | What was the average money when the score was 74-72-75-71=292? | CREATE TABLE table_name_82 (money___ INTEGER, score VARCHAR) |
SELECT AVG(silver) FROM table_name_62 WHERE total > 1 AND bronze = 2 AND nation = "france" AND gold > 0 | Tell me the average silver for total more than 1 with bronze of 2 for france and gold more than 0 | CREATE TABLE table_name_62 (silver INTEGER, gold VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) |
SELECT MIN(caps) FROM table_name_86 WHERE club = "sbv excelsior" | What is the lowest caps for the Club of SBV Excelsior? | CREATE TABLE table_name_86 (caps INTEGER, club VARCHAR) |
SELECT outgoing_manage FROM table_17933600_2 WHERE incoming_manager = "João Pereira" | Who was the outgoing manager when the incoming manager was joão pereira? | CREATE TABLE table_17933600_2 (outgoing_manage VARCHAR, incoming_manager VARCHAR) |
SELECT single FROM table_25760427_2 WHERE artist = "Panjabi MC" | What is the song by the musician panjabi mc? | CREATE TABLE table_25760427_2 (single VARCHAR, artist VARCHAR) |
SELECT average FROM table_26041144_11 WHERE player = "Kumar Sangakkara" | What was kumar sangakkara's average? | CREATE TABLE table_26041144_11 (average VARCHAR, player VARCHAR) |
SELECT language FROM table_2509350_3 WHERE villa_alcalá_municipality = 1167 | Name the language for villa 1167 | CREATE TABLE table_2509350_3 (language VARCHAR, villa_alcalá_municipality VARCHAR) |
SELECT MAX(innings) FROM table_21100348_11 WHERE rank = 3 | How many innings does rank 3 have? | CREATE TABLE table_21100348_11 (innings INTEGER, rank VARCHAR) |
SELECT MIN(bronze) FROM table_name_3 WHERE total > 13 AND gold > 10 AND silver < 22 | What is the lowest number of bronze of the nation with more than 13 total medals, more than 10 gold medals, and less than 22 silvers? | CREATE TABLE table_name_3 (bronze INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR) |
SELECT SUM(first_elected) FROM table_name_37 WHERE party = "republican" AND district = "kentucky 2" | In what year was the republican incumbent from Kentucky 2 district first elected? | CREATE TABLE table_name_37 (first_elected INTEGER, party VARCHAR, district VARCHAR) |
SELECT MAX(_number_of_constituency_votes) FROM table_name_18 WHERE election < 1976 AND leader = "eisaku satō" AND _number_of_candidates < 328 | What is the highest # Of Constituency Votes, when Election is before 1976, when Leader is Eisaku Satō, and when # Of Candidates is less than 328? | CREATE TABLE table_name_18 (_number_of_constituency_votes INTEGER, _number_of_candidates VARCHAR, election VARCHAR, leader VARCHAR) |
SELECT away_team FROM table_name_82 WHERE home_team = "perth wildcats" | Who is the away team that played home team Perth Wildcats? | CREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR) |
SELECT MAX(weight__kg_) FROM table_name_57 WHERE name = "scott gomez" | What is Scott Gomez's biggest weight? | CREATE TABLE table_name_57 (weight__kg_ INTEGER, name VARCHAR) |
SELECT winning_score FROM table_name_28 WHERE tournament = "phoenix open" | In the Phoenix Open, what was the winning score? | CREATE TABLE table_name_28 (winning_score VARCHAR, tournament VARCHAR) |
SELECT country FROM table_name_36 WHERE material = "concrete" AND span_metres < 270 AND span_feet > 837 AND year_opened = "1943" | Which country's material was concrete when the span metres were less than 270, span feet is more than 837, and the year opened was 1943? | CREATE TABLE table_name_36 (country VARCHAR, year_opened VARCHAR, span_feet VARCHAR, material VARCHAR, span_metres VARCHAR) |
SELECT sportname FROM Sportsinfo WHERE onscholarship = 'Y' GROUP BY sportname ORDER BY COUNT(*) DESC LIMIT 1 | Which sport has most number of students on scholarship? | CREATE TABLE Sportsinfo (sportname VARCHAR, onscholarship VARCHAR) |
SELECT staffel_b FROM table_name_97 WHERE staffel_c = "hallescher fc chemie" | What is the Staffel B that has Hallescher Fc Chemie as Staffel C? | CREATE TABLE table_name_97 (staffel_b VARCHAR, staffel_c VARCHAR) |
SELECT record FROM table_name_34 WHERE week = 13 | What is the record of the game on week 13? | CREATE TABLE table_name_34 (record VARCHAR, week VARCHAR) |
SELECT COUNT(podium) FROM table_name_42 WHERE race = 14 AND flap > 1 | On Race 14 when the FLap is larger than 1, what is the podium number? | CREATE TABLE table_name_42 (podium VARCHAR, race VARCHAR, flap VARCHAR) |
SELECT location_attendance FROM table_name_47 WHERE date = "january 19" | What was the location attendance on January 19? | CREATE TABLE table_name_47 (location_attendance VARCHAR, date VARCHAR) |
SELECT margin_of_victory FROM table_name_78 WHERE winning_score = −10(71 - 65 - 68 - 70 = 274) | What is the margin of victory for the winning score of −10 (71-65-68-70=274)? | CREATE TABLE table_name_78 (margin_of_victory VARCHAR, winning_score VARCHAR) |
SELECT SUM(attendance) FROM table_name_22 WHERE report = "sd.hr" AND score = "3–1" AND date = "14 apr 2001" | What is the total attendance with a Report of sd.hr, and a Score of 3–1, and a Date of 14 apr 2001? | CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, report VARCHAR, score VARCHAR) |
SELECT episode_number FROM table_name_79 WHERE broadcast_date = "21 september 2001" | What is the episode number of the episode broadcast on 21 September 2001? | CREATE TABLE table_name_79 (episode_number VARCHAR, broadcast_date VARCHAR) |
SELECT MAX(_number_100) FROM table_name_87 WHERE season = "1991" AND against = "surrey" | Which # 100 has a Season of 1991, and an Against of surrey? | CREATE TABLE table_name_87 (_number_100 INTEGER, season VARCHAR, against VARCHAR) |
SELECT AVG(attendance) FROM table_name_86 WHERE record = "83-52" | What is the average attendance that has 83-52 as the record? | CREATE TABLE table_name_86 (attendance INTEGER, record VARCHAR) |
SELECT ihsaa_football_class FROM table_name_99 WHERE school = "whitko" | Which IHSAA Football Class has a School of whitko? | CREATE TABLE table_name_99 (ihsaa_football_class VARCHAR, school VARCHAR) |
SELECT MIN(lane) FROM table_name_43 WHERE time = "2:05.90" AND heat > 3 | What is the lowest lane with a time of 2:05.90, and a Heat larger than 3? | CREATE TABLE table_name_43 (lane INTEGER, time VARCHAR, heat VARCHAR) |
SELECT capital FROM table_1404414_2 WHERE population_census_2009 = 596268 | What capital has a population of 596268? | CREATE TABLE table_1404414_2 (capital VARCHAR, population_census_2009 VARCHAR) |
SELECT AVG(HS), MAX(HS), MIN(HS) FROM Player | Find the max, average and min training hours of all players. | CREATE TABLE Player (HS INTEGER) |
SELECT MAX(against) FROM table_name_44 WHERE opposing_team = "fiji" | What largest against has the opposing team of fiji? | CREATE TABLE table_name_44 (against INTEGER, opposing_team VARCHAR) |
SELECT SUM(losses) FROM table_name_37 WHERE matches = 14 AND no_result > 0 | What is the number of losses when there were 14 matches, and the No Result was larger than 0? | CREATE TABLE table_name_37 (losses INTEGER, matches VARCHAR, no_result VARCHAR) |
SELECT to_par FROM table_name_87 WHERE player = "hunter mahan" | What is the to par of player hunter mahan? | CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR) |
SELECT date FROM table_name_35 WHERE year = "2004" | Tell me the date for 2004 | CREATE TABLE table_name_35 (date VARCHAR, year VARCHAR) |
SELECT surface FROM table_name_12 WHERE tournament = "new zealand f1 futures" | What is the type of Surface for the New Zealand F1 Futures Tournament? | CREATE TABLE table_name_12 (surface VARCHAR, tournament VARCHAR) |
SELECT headquarters FROM table_21514460_1 WHERE school_district = "Annapolis Valley Regional School Board" | Where is the headquarter located for the Annapolis Valley Regional School Board? | CREATE TABLE table_21514460_1 (headquarters VARCHAR, school_district VARCHAR) |
SELECT rounds FROM table_name_50 WHERE tyre = "b" AND engine_† = "ferrari 053" | What are the rounds for the B tyres and Ferrari 053 engine +? | CREATE TABLE table_name_50 (rounds VARCHAR, tyre VARCHAR, engine_† VARCHAR) |
SELECT COUNT(settlement) FROM table_2562572_27 WHERE cyrillic_name_other_names = "Његошево" | How many places have as their cyrillic name and other names његошево? | CREATE TABLE table_2562572_27 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) |
SELECT SUM(points) FROM table_name_94 WHERE goal_difference = 8 | How many total points belong to the team with a goal difference of 8? | CREATE TABLE table_name_94 (points INTEGER, goal_difference VARCHAR) |
SELECT location FROM table_name_83 WHERE time = "4:13.48" | Which Location has a Time of 4:13.48? | CREATE TABLE table_name_83 (location VARCHAR, time VARCHAR) |
SELECT race FROM table_name_63 WHERE pole_position = "jody scheckter" | What race had Jody Scheckter hold pole position? | CREATE TABLE table_name_63 (race VARCHAR, pole_position VARCHAR) |
SELECT written_by FROM table_28089666_1 WHERE production_code = "1.01" | Who wrote episode with production code 1.01? | CREATE TABLE table_28089666_1 (written_by VARCHAR, production_code VARCHAR) |
SELECT party FROM table_1341884_45 WHERE district = "Texas 12" | what is the political affiliation of the texas 12 district | CREATE TABLE table_1341884_45 (party VARCHAR, district VARCHAR) |
SELECT date FROM table_name_28 WHERE surface = "clay" AND opponent_in_the_final = "cyril saulnier" | On what date was the surface clay with Cyril Saulnier as the opponent in the final? | CREATE TABLE table_name_28 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) |
SELECT sport FROM table_name_58 WHERE age_groups = "21 or younger" AND competition_name = "world youth netball championships" | what is the sport when the age group is 21 or younger and the competition name is world youth netball championships? | CREATE TABLE table_name_58 (sport VARCHAR, age_groups VARCHAR, competition_name VARCHAR) |
SELECT injured FROM table_name_9 WHERE location = "skierlik" | What is the injured that has skierlik as the location? | CREATE TABLE table_name_9 (injured VARCHAR, location VARCHAR) |
SELECT m_v_ft_s FROM table_16439764_1 WHERE time_to_ft__m__at_25°__seconds_ = "9.2" | What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees? | CREATE TABLE table_16439764_1 (m_v_ft_s VARCHAR, time_to_ft__m__at_25°__seconds_ VARCHAR) |
SELECT host_team FROM table_name_1 WHERE stadium = "texas stadium" | What was the name of the host team at Texas stadium? | CREATE TABLE table_name_1 (host_team VARCHAR, stadium VARCHAR) |
SELECT ground FROM table_name_83 WHERE opponent = "aston villa" | On which ground did the team play Aston Villa? | CREATE TABLE table_name_83 (ground VARCHAR, opponent VARCHAR) |
SELECT candidates FROM table_1341586_26 WHERE district = "Missouri 3" | Which candidates are from the Missouri 3 district? | CREATE TABLE table_1341586_26 (candidates VARCHAR, district VARCHAR) |
SELECT base FROM table_name_59 WHERE company = "theatro technis karolos koun" | Which base has a company of Theatro Technis Karolos Koun? | CREATE TABLE table_name_59 (base VARCHAR, company VARCHAR) |
SELECT series__number FROM table_23399481_3 WHERE us_viewers__in_millions_ = "1.42" | What episode had 1.42 million viewers? | CREATE TABLE table_23399481_3 (series__number VARCHAR, us_viewers__in_millions_ VARCHAR) |
SELECT score FROM table_23486853_3 WHERE opponent = "Atlanta Thrashers" | What was the score for the Atlanta Thrashers? | CREATE TABLE table_23486853_3 (score VARCHAR, opponent VARCHAR) |
SELECT record FROM table_name_52 WHERE loss = "willis" | Loss of willis has what record? | CREATE TABLE table_name_52 (record VARCHAR, loss VARCHAR) |
SELECT location FROM table_name_40 WHERE design_flow__lpm_ < 1900 AND construction_start = "2006 june" | What Location has a Design flow (LPM) smaller than 1900, and a Construction Start of 2006 june? | CREATE TABLE table_name_40 (location VARCHAR, design_flow__lpm_ VARCHAR, construction_start VARCHAR) |
SELECT COUNT(points_1) FROM table_name_10 WHERE lost < 20 AND goals_for > 92 | What is the total number of Points 1, when Lost is less than 20, and when Goals For is greater than 92? | CREATE TABLE table_name_10 (points_1 VARCHAR, lost VARCHAR, goals_for VARCHAR) |
SELECT location_attendance FROM table_11965481_13 WHERE date = "June 10" | Name the location on june 10 | CREATE TABLE table_11965481_13 (location_attendance VARCHAR, date VARCHAR) |
SELECT high_assists FROM table_name_96 WHERE location_attendance = "fleetcenter" AND score = "w 120-87" | Which player made the highest number of assists during the game played at the FleetCenter, with end score of W 120-87? | CREATE TABLE table_name_96 (high_assists VARCHAR, location_attendance VARCHAR, score VARCHAR) |
SELECT result FROM table_name_11 WHERE date = "october 5" | What was the result for the game on October 5? | CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR) |
SELECT rank FROM table_1449176_1 WHERE area__km_2__ = "47.3" | What rank is the common with an area of 47.3 km^2? | CREATE TABLE table_1449176_1 (rank VARCHAR, area__km_2__ VARCHAR) |
SELECT country FROM table_name_41 WHERE score = 69 | Which country has 69 score? | CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR) |
SELECT COUNT(single) FROM table_26400075_2 WHERE artist = "Lisa Stansfield" | How many singles does Lisa Stansfield have? | CREATE TABLE table_26400075_2 (single VARCHAR, artist VARCHAR) |
SELECT nationality FROM table_name_3 WHERE lane < 2 | What nationality is the swimmer that is in the lane that is less than 2? | CREATE TABLE table_name_3 (nationality VARCHAR, lane INTEGER) |
SELECT venue FROM table_name_92 WHERE home_team = "essendon" | In what venue is Essendon the home team? | CREATE TABLE table_name_92 (venue VARCHAR, home_team VARCHAR) |
SELECT COUNT(average) FROM table_name_53 WHERE place < 1 | WHAT IS THE TOTAL AVERAGE WITH A PLACE SMALLER THAN 1? | CREATE TABLE table_name_53 (average VARCHAR, place INTEGER) |
SELECT MIN(bronze) FROM table_name_56 WHERE gold = 3 AND games = "winter" AND sport = "cross-country skiing" AND silver < 0 | Tell me the lowest Bronze for gold of 3 in the winter for cross-country skiing and silver less than 0 | CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, sport VARCHAR, gold VARCHAR, games VARCHAR) |
SELECT height FROM table_24055352_1 WHERE hometown = "Los Angeles" | What is the height when the player is from Los Angeles? | CREATE TABLE table_24055352_1 (height VARCHAR, hometown VARCHAR) |
SELECT lead FROM table_name_11 WHERE skip = "jamie meikle" | Who was the lead when Jamie Meikle was the skip? | CREATE TABLE table_name_11 (lead VARCHAR, skip VARCHAR) |
SELECT date FROM table_name_49 WHERE venue = "arden street oval" | What is the date of the game at the Arden Street Oval? | CREATE TABLE table_name_49 (date VARCHAR, venue VARCHAR) |
SELECT name AS origin FROM table_name_94 WHERE longitude = "332.5e" | WHich Name origin has a Longitude of 332.5e? | CREATE TABLE table_name_94 (name VARCHAR, longitude VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_name_31 WHERE position = "right wing" AND round = "6" | In what League in Round 6 is the Position Right Wing? | CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR) |
SELECT COUNT(*), city FROM employee GROUP BY city | What is the number of employees from each city? | CREATE TABLE employee (city VARCHAR) |
SELECT MIN(enrollment) FROM table_11658094_1 WHERE institution = "Barton College" | What is the minimum enrollment at barton college | CREATE TABLE table_11658094_1 (enrollment INTEGER, institution VARCHAR) |
SELECT rank FROM table_23759976_1 WHERE building_[a_] = "Stock Exchange Plaza" | What's the Stock Exchange Plaza's rank? | CREATE TABLE table_23759976_1 (rank VARCHAR, building_ VARCHAR, a_ VARCHAR) |
SELECT COUNT(*) FROM county | How many counties are there in total? | CREATE TABLE county (Id VARCHAR) |
SELECT date FROM table_name_86 WHERE location = "davos" AND time = "45.7" | Which Date has a Location of davos, and a Time of 45.7? | CREATE TABLE table_name_86 (date VARCHAR, location VARCHAR, time VARCHAR) |
SELECT COUNT(car) FROM table_name_48 WHERE yards < 6 AND avg > 5 | How many carries for the player with under 6 yards and an average of over 5? | CREATE TABLE table_name_48 (car VARCHAR, yards VARCHAR, avg VARCHAR) |
SELECT template_type_code, COUNT(*) FROM Templates GROUP BY template_type_code | Show all template type codes and number of templates for each. | CREATE TABLE Templates (template_type_code VARCHAR) |
SELECT class FROM table_1745843_5 WHERE part_2 = "laug" | What is the class of the word who's second participle is laug? | CREATE TABLE table_1745843_5 (class VARCHAR, part_2 VARCHAR) |
SELECT time FROM table_name_5 WHERE opponent = "rudy martin" | What was the time when his opponent was Rudy Martin? | CREATE TABLE table_name_5 (time VARCHAR, opponent VARCHAR) |
SELECT AVG(area_km_2) FROM table_name_46 WHERE official_name = "notre-dame-de-lourdes" | Notre-Dame-De-Lourdes has what average area km 2? | CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR) |
SELECT player FROM table_name_7 WHERE bowling_style = "source:" | Who has a bowling style of source:? | CREATE TABLE table_name_7 (player VARCHAR, bowling_style VARCHAR) |
SELECT away_team FROM table_16387653_1 WHERE home_team = "Carlton" | Who was the away team playing at Carlton? | CREATE TABLE table_16387653_1 (away_team VARCHAR, home_team VARCHAR) |
SELECT country FROM table_name_46 WHERE icao = "ltcd" | WHich Country has a ICAO of ltcd? | CREATE TABLE table_name_46 (country VARCHAR, icao VARCHAR) |
SELECT matches_w_l FROM table_name_20 WHERE placing = 3 | Placing of 3 had what match w-l? | CREATE TABLE table_name_20 (matches_w_l VARCHAR, placing VARCHAR) |
SELECT MIN(without_the_walls) FROM table_16677738_1 WHERE within_the_walls > 56174.0 | When within the walls is larger than 56174.0 what is the lowest amount without the walls? | CREATE TABLE table_16677738_1 (without_the_walls INTEGER, within_the_walls INTEGER) |
SELECT name FROM table_29871617_1 WHERE family_name = "IL-1F2" | What are the names listed in the family il-1f2? | CREATE TABLE table_29871617_1 (name VARCHAR, family_name VARCHAR) |
SELECT hdi_2012 FROM table_26313243_1 WHERE country = "Dominica" | Name the hdi 2012 for dominica | CREATE TABLE table_26313243_1 (hdi_2012 VARCHAR, country VARCHAR) |
SELECT ben_tahir FROM table_name_92 WHERE doucet = "3269" | What is the Ben-Tahir with a 3269 Doucet? | CREATE TABLE table_name_92 (ben_tahir VARCHAR, doucet VARCHAR) |
SELECT directed_by FROM table_2468961_6 WHERE no_in_series = 102 | When 102 is the number in series who is the director? | CREATE TABLE table_2468961_6 (directed_by VARCHAR, no_in_series VARCHAR) |
SELECT structure FROM table_name_88 WHERE country = "chile" | What structure is in Chile? | CREATE TABLE table_name_88 (structure VARCHAR, country VARCHAR) |
SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = "19' 02.890 118.847mph" | what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph? | CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR) |
SELECT icao FROM table_name_97 WHERE city = "vavuniya" | Which ICAO is found in Vavuniya? | CREATE TABLE table_name_97 (icao VARCHAR, city VARCHAR) |
SELECT role_code FROM Employees GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1 | What is the role code with the largest number of employees? | CREATE TABLE Employees (role_code VARCHAR) |
SELECT commissioned FROM table_name_14 WHERE fate = "converted to laker, 1961; still in service" | When was the ship that had a fate of 'converted to laker, 1961; still in service' commissioned? | CREATE TABLE table_name_14 (commissioned VARCHAR, fate VARCHAR) |
SELECT rounds FROM table_name_28 WHERE team = "rml racing silverline" AND drivers = "james nash" | What rounds did RML Racing Silverline and James Nash compete? | CREATE TABLE table_name_28 (rounds VARCHAR, team VARCHAR, drivers VARCHAR) |
SELECT MIN(loss) FROM table_name_94 WHERE gain < 61 AND avg_g = 6 | What is the lowest Loss number when the Gain is less than 61 and the Avg/G is 6? | CREATE TABLE table_name_94 (loss INTEGER, gain VARCHAR, avg_g VARCHAR) |
SELECT party FROM table_1342198_25 WHERE incumbent = "Dewey Short" | What party was Dewey Short associated with? | CREATE TABLE table_1342198_25 (party VARCHAR, incumbent VARCHAR) |
SELECT district FROM table_27050336_7 WHERE delegate = "McDonough, Patrick L. Pat McDonough" | For delegate is mcdonough, patrick l. pat mcdonough, specify all the district. | CREATE TABLE table_27050336_7 (district VARCHAR, delegate VARCHAR) |
SELECT high_assists FROM table_27722408_11 WHERE date = "April 8" | Who had the most assists and how many did they have on April 8? | CREATE TABLE table_27722408_11 (high_assists VARCHAR, date VARCHAR) |
SELECT locale FROM table_21093403_1 WHERE shot_pct = 78 | Where was the shot pct 78? | CREATE TABLE table_21093403_1 (locale VARCHAR, shot_pct VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.