answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT MIN(rank) FROM table_name_44 WHERE games = 37 AND points > 613 | Which rank is the lowest with 37 games and more than 613 points? | CREATE TABLE table_name_44 (rank INTEGER, games VARCHAR, points VARCHAR) |
SELECT pts FROM table_14139408_1 WHERE team = "Kopron team Scot" | what's the pts with team being kopron team scot | CREATE TABLE table_14139408_1 (pts VARCHAR, team VARCHAR) |
SELECT round FROM table_name_67 WHERE date = "7 january 2003" | What round was on 7 January 2003? | CREATE TABLE table_name_67 (round VARCHAR, date VARCHAR) |
SELECT MAX(capacity) FROM table_name_91 WHERE highest > 6 OFFSET 192 | What is the greatest capacity when the largest number in attendance is 6,192? | CREATE TABLE table_name_91 (capacity INTEGER, highest INTEGER) |
SELECT date FROM table_name_56 WHERE high_points = "danny granger (32)" | What is Date, when High Points is "Danny Granger (32)"? | CREATE TABLE table_name_56 (date VARCHAR, high_points VARCHAR) |
SELECT losing_bonus FROM table_name_61 WHERE points = "43" | What is the Losing bonus, when the value for Points is 43? | CREATE TABLE table_name_61 (losing_bonus VARCHAR, points VARCHAR) |
SELECT date FROM table_20849830_1 WHERE record = "2-1" | What was the date of the game with the record of 2-1? | CREATE TABLE table_20849830_1 (date VARCHAR, record VARCHAR) |
SELECT COUNT(blocks) FROM table_25342713_5 WHERE points = 89 | How many players 89 points? | CREATE TABLE table_25342713_5 (blocks VARCHAR, points VARCHAR) |
SELECT MAX(to_par) FROM table_name_35 WHERE score = 72 - 73 = 145 | What is the highest To Par, when Score is "72-73=145"? | CREATE TABLE table_name_35 (to_par INTEGER, score VARCHAR) |
SELECT result FROM table_name_13 WHERE matches = "6" | What was the result when there were 6 matches? | CREATE TABLE table_name_13 (result VARCHAR, matches VARCHAR) |
SELECT administrative_capital FROM table_1966992_1 WHERE census_2006_population = 249425 | What is the administrative capital that has a 2006 census population of 249425? | CREATE TABLE table_1966992_1 (administrative_capital VARCHAR, census_2006_population VARCHAR) |
SELECT COUNT(episode) FROM table_24122653_2 WHERE vote = "3-1" | What was the total number of episodes that had a 3-1 vote? | CREATE TABLE table_24122653_2 (episode VARCHAR, vote VARCHAR) |
SELECT finish FROM table_name_10 WHERE start = "13" | What was 13's finish? | CREATE TABLE table_name_10 (finish VARCHAR, start VARCHAR) |
SELECT agency FROM table_27515452_3 WHERE sizes = "33-23-36" | which company has a person that can wear clothing in 33-23-36 | CREATE TABLE table_27515452_3 (agency VARCHAR, sizes VARCHAR) |
SELECT MIN(week) FROM table_name_15 WHERE date = "november 19, 1967" | What was the week number when a game was played on November 19, 1967? | CREATE TABLE table_name_15 (week INTEGER, date VARCHAR) |
SELECT awardee_s_ FROM table_25926120_3 WHERE name_of_award = "Best Actor" | Who won best actor? | CREATE TABLE table_25926120_3 (awardee_s_ VARCHAR, name_of_award VARCHAR) |
SELECT home FROM table_name_24 WHERE score = "116–105" | Who was the home team at the Nuggets game that had a score of 116–105? | CREATE TABLE table_name_24 (home VARCHAR, score VARCHAR) |
SELECT europe FROM table_19017269_5 WHERE northern_america = "482 (4.7%)" | what will be the population of Europe when Northern America is 482 (4.7%)? | CREATE TABLE table_19017269_5 (europe VARCHAR, northern_america VARCHAR) |
SELECT sets_w_l FROM table_23133482_1 WHERE player = "Ken Rosewall" | What are Ken Rosewall's sets w-l? | CREATE TABLE table_23133482_1 (sets_w_l VARCHAR, player VARCHAR) |
SELECT MAX(goals) FROM table_name_87 WHERE player = "mitsuo kato" | How many goals does mitsuo kato have? | CREATE TABLE table_name_87 (goals INTEGER, player VARCHAR) |
SELECT ep_winning_team FROM table_29225103_2 WHERE fm_winning_team = "Brabham - Ford" AND hm_winning_team = "Osca" | Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca? | CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, fm_winning_team VARCHAR, hm_winning_team VARCHAR) |
SELECT MAX(ep) FROM table_20967430_3 WHERE prod_code = "5A06" | When 5a06 is the production code what is the highest episode? | CREATE TABLE table_20967430_3 (ep INTEGER, prod_code VARCHAR) |
SELECT result FROM table_name_89 WHERE 400 = "o" AND name = "marion buisson" | Marion Buisson with a 4.00 of o had what result? | CREATE TABLE table_name_89 (result VARCHAR, name VARCHAR) |
SELECT place FROM table_name_45 WHERE money___£__ = "77,500" AND player = "sergio garcía" | What is the place of player sergio garcía, who has £77,500? | CREATE TABLE table_name_45 (place VARCHAR, money___£__ VARCHAR, player VARCHAR) |
SELECT date FROM table_name_23 WHERE score = "42-6" | What was the date of game with a score of 42-6? | CREATE TABLE table_name_23 (date VARCHAR, score VARCHAR) |
SELECT laps FROM table_name_23 WHERE points = 29 | Which Laps have Points of 29? | CREATE TABLE table_name_23 (laps VARCHAR, points VARCHAR) |
SELECT description FROM table_name_8 WHERE year_of_issue = 1983 AND thickness = "1.7mm" AND weight = "3.50grams" | Which Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams? | CREATE TABLE table_name_8 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR) |
SELECT riders FROM table_15327489_1 WHERE team_name = "JiR Team Scot MotoGP" | Name the rdiers for jir team scot motogp | CREATE TABLE table_15327489_1 (riders VARCHAR, team_name VARCHAR) |
SELECT COUNT(no_disc) FROM table_15430606_1 WHERE directed_by = "Jimmy Kaufman" | Name the total number of number disc for jimmy kaufman | CREATE TABLE table_15430606_1 (no_disc VARCHAR, directed_by VARCHAR) |
SELECT COUNT(rank) FROM table_name_21 WHERE points > 120.44 AND nation = "east germany" AND sp + fs = 3 | What is the rank for more than 120.44 points in East Germany and a SP+FS of 3? | CREATE TABLE table_name_21 (rank VARCHAR, points VARCHAR, nation VARCHAR, sp VARCHAR, fs VARCHAR) |
SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE conference = "Big 12 conference" | How many locations are listed for the Big 12 Conference? | CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, conference VARCHAR) |
SELECT year FROM table_name_24 WHERE third = "kati klinzing" | In which year did Kati Klinzing finish 3rd? | CREATE TABLE table_name_24 (year VARCHAR, third VARCHAR) |
SELECT opponent FROM table_name_61 WHERE score = "6–3, 6–4" | Who was the Opponent in the match with a Score of 6–3, 6–4? | CREATE TABLE table_name_61 (opponent VARCHAR, score VARCHAR) |
SELECT field_goals__4_points_ FROM table_25711913_14 WHERE touchdowns__5_points_ = 7 | How many field goals were scored by the player that got 7 touchdowns? | CREATE TABLE table_25711913_14 (field_goals__4_points_ VARCHAR, touchdowns__5_points_ VARCHAR) |
SELECT diameter__mi_ FROM table_name_65 WHERE longitude = "79.8° e" | What is the Diameter (mi) when the Longitude is 79.8° e? | CREATE TABLE table_name_65 (diameter__mi_ VARCHAR, longitude VARCHAR) |
SELECT date FROM table_name_98 WHERE game = "game 2" | On what date was game 2 played? | CREATE TABLE table_name_98 (date VARCHAR, game VARCHAR) |
SELECT 1 AS st_round FROM table_name_25 WHERE team_1 = "fc nantes (d1)" | What is the 1st round with fc nantes (d1) as team 1? | CREATE TABLE table_name_25 (team_1 VARCHAR) |
SELECT date FROM table_name_95 WHERE race = "british grand prix" | When were the British Grand Prix races? | CREATE TABLE table_name_95 (date VARCHAR, race VARCHAR) |
SELECT material_collected FROM table_name_75 WHERE isbn = "978-1401209674" | What's the Material collected for the 978-1401209674 ISBN? | CREATE TABLE table_name_75 (material_collected VARCHAR, isbn VARCHAR) |
SELECT COUNT(grid) FROM table_name_4 WHERE driver = "rubens barrichello" | Tell me the total number of Grid for Rubens Barrichello | CREATE TABLE table_name_4 (grid VARCHAR, driver VARCHAR) |
SELECT murder__2012__rate_per_100, 000 FROM table_name_26 WHERE peace__2012__gpi = 1.616 | What murder (2012) rate per 100,00 also has a 1.616 as the peace (2012) GPI? | CREATE TABLE table_name_26 (murder__2012__rate_per_100 VARCHAR, peace__2012__gpi VARCHAR) |
SELECT MAX(top_5) FROM table_1909647_2 WHERE team_s_ = "#14 FitzBradshaw Racing" | What's #14 FitzBradshaw Racing's top 5 result? | CREATE TABLE table_1909647_2 (top_5 INTEGER, team_s_ VARCHAR) |
SELECT conference FROM table_22165661_3 WHERE championship_game_opponent = "Ferris State" | What is the conference when Ferris State is the championship game opponent? | CREATE TABLE table_22165661_3 (conference VARCHAR, championship_game_opponent VARCHAR) |
SELECT MAX(total) FROM table_name_60 WHERE gold = 2 | Which Total has Gold of 2? | CREATE TABLE table_name_60 (total INTEGER, gold VARCHAR) |
SELECT T3.Name FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID WHERE T2.Num_of_Audience > 200 | Show the names of people that are on affirmative side of debates with number of audience bigger than 200. | CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Debate_ID VARCHAR, Num_of_Audience INTEGER); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmative VARCHAR) |
SELECT result FROM table_name_84 WHERE date = "bye" | What was the result when they had their bye week? | CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR) |
SELECT college_junior_club_team FROM table_name_2 WHERE player = "jason holland" | Tell me the college for jason holland | CREATE TABLE table_name_2 (college_junior_club_team VARCHAR, player VARCHAR) |
SELECT COUNT(written_by) FROM table_29584601_1 WHERE no_in_series = 56 | How many different pairs of writers wrote the episode with series number 56? | CREATE TABLE table_29584601_1 (written_by VARCHAR, no_in_series VARCHAR) |
SELECT club FROM table_name_93 WHERE played = "19" AND lost = "14" | What club has a played number of 19, and the lost of 14? | CREATE TABLE table_name_93 (club VARCHAR, played VARCHAR, lost VARCHAR) |
SELECT bats_throws FROM table_name_87 WHERE players = "clayton allison" | What side does Clayton Allison Bat/Throw from? | CREATE TABLE table_name_87 (bats_throws VARCHAR, players VARCHAR) |
SELECT COUNT(time) FROM table_name_24 WHERE name = "dominik meichtry" AND heat < 7 | What is Dominik Meichtry's Time in Heat 7 or lower? | CREATE TABLE table_name_24 (time VARCHAR, name VARCHAR, heat VARCHAR) |
SELECT t1.document_name FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code GROUP BY t1.document_code ORDER BY COUNT(*) DESC LIMIT 1 | What is the name of the document with the most number of sections? | CREATE TABLE document_sections (document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR) |
SELECT producer_director FROM table_name_67 WHERE film = "political engagement" | Who is the Producer/Director of Political Engagement? | CREATE TABLE table_name_67 (producer_director VARCHAR, film VARCHAR) |
SELECT T1.staff_name, T3.first_name, T3.last_name FROM Staff AS T1 JOIN Engineer_Visits AS T2 ON T1.staff_id = T2.contact_staff_id JOIN Maintenance_Engineers AS T3 ON T2.engineer_id = T3.engineer_id | Which staff have contacted which engineers? List the staff name and the engineer first name and last name. | CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR, engineer_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR) |
SELECT written_by FROM table_27462209_1 WHERE prod_code = 322 | Name who wrote the production code 322 | CREATE TABLE table_27462209_1 (written_by VARCHAR, prod_code VARCHAR) |
SELECT champion FROM table_name_80 WHERE runner_up = "c.a. palmer" | Who was the champion in the match where C.A. Palmer was the runner-up? | CREATE TABLE table_name_80 (champion VARCHAR, runner_up VARCHAR) |
SELECT race FROM table_name_52 WHERE length = "12 hours" | What race is 12 hours in length? | CREATE TABLE table_name_52 (race VARCHAR, length VARCHAR) |
SELECT entered FROM table_name_96 WHERE finished = "4th" | What day did the celebrity who finished 4th enter? | CREATE TABLE table_name_96 (entered VARCHAR, finished VARCHAR) |
SELECT client FROM table_name_36 WHERE gnu_linux = "no" | Which client had no GNU/Linux? | CREATE TABLE table_name_36 (client VARCHAR, gnu_linux VARCHAR) |
SELECT home_team AS score FROM table_name_99 WHERE venue = "punt road oval" | Who is the home team at the Punt Road Oval? | CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR) |
SELECT nucleus FROM table_13570_1 WHERE cytoplasm = "Pink" | The pink cytoplasm will have a nucleus of what color? | CREATE TABLE table_13570_1 (nucleus VARCHAR, cytoplasm VARCHAR) |
SELECT brazil_scorers FROM table_name_5 WHERE result = "w" AND competition = "world cup qualifying" AND date = "february 28, 1954" | Which Brazil scorers have a Result of w, and a Competition of world cup qualifying, and a Date of february 28, 1954? | CREATE TABLE table_name_5 (brazil_scorers VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR) |
SELECT AVG(against) FROM table_name_31 WHERE wins = 11 AND draws < 0 | What is the average number of against with 11 wins and less than 0 draws? | CREATE TABLE table_name_31 (against INTEGER, wins VARCHAR, draws VARCHAR) |
SELECT score FROM table_name_21 WHERE location_attendance = "groves high school" AND high_assists = "giovanni riley (9)" | What was the score for Groves High School when the high assist was Giovanni Riley (9)? | CREATE TABLE table_name_21 (score VARCHAR, location_attendance VARCHAR, high_assists VARCHAR) |
SELECT class_c_winner FROM table_24852622_1 WHERE round = "8" | Who was the Class C winner in round 8? | CREATE TABLE table_24852622_1 (class_c_winner VARCHAR, round VARCHAR) |
SELECT infiltration__km_3__year_ FROM table_25983027_1 WHERE region = "Central" | In the Central region, what was the infiltration (km 3 /year)? | CREATE TABLE table_25983027_1 (infiltration__km_3__year_ VARCHAR, region VARCHAR) |
SELECT mind FROM table_19760_1 WHERE reason = "qut" | What is the mind of the one that has qut reason? | CREATE TABLE table_19760_1 (mind VARCHAR, reason VARCHAR) |
SELECT laps FROM table_name_73 WHERE constructor = "renault" AND driver = "jacques villeneuve" | What is the number of laps with a Constructor of renault, and a driver of jacques villeneuve? | CREATE TABLE table_name_73 (laps VARCHAR, constructor VARCHAR, driver VARCHAR) |
SELECT MAX(week) FROM table_name_17 WHERE points_for > 19 AND opponent = "philadelphia eagles" AND points_against > 7 | Which Week has Points For larger than 19, and an Opponent of philadelphia eagles, and Points Against larger than 7? | CREATE TABLE table_name_17 (week INTEGER, points_against VARCHAR, points_for VARCHAR, opponent VARCHAR) |
SELECT vehicle FROM table_name_34 WHERE ceased_operation = "failed at launch" | Which vehicle failed at launch? | CREATE TABLE table_name_34 (vehicle VARCHAR, ceased_operation VARCHAR) |
SELECT club FROM table_18018248_2 WHERE draws = 9 | Which clubs had draws of 9? | CREATE TABLE table_18018248_2 (club VARCHAR, draws VARCHAR) |
SELECT MAX(attendance) FROM table_name_77 WHERE week = 7 | In Week 7, what is the highest attendance number? | CREATE TABLE table_name_77 (attendance INTEGER, week VARCHAR) |
SELECT first_downs FROM table_15607589_2 WHERE points_against = 0 | Name the first downs for points against being 0 | CREATE TABLE table_15607589_2 (first_downs VARCHAR, points_against VARCHAR) |
SELECT COUNT(election_date) FROM table_26362472_1 WHERE left_office = "1850-11-15" | What is the election date for those politicians who left office on 1850-11-15? | CREATE TABLE table_26362472_1 (election_date VARCHAR, left_office VARCHAR) |
SELECT nationality FROM table_name_36 WHERE round < 2 AND college_team = "cb l'hospitalet" | What is Nationality, when Round is less than 2, and when College/Team is "CB L'Hospitalet"? | CREATE TABLE table_name_36 (nationality VARCHAR, round VARCHAR, college_team VARCHAR) |
SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40°__seconds_ = 12.6 | What is the weight of the shell that reached its maximum height at 40° in 12.6 seconds? | CREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40°__seconds_ VARCHAR) |
SELECT MIN(round) FROM table_name_19 WHERE pick__number = 8 AND college = "temple" AND overall > 72 | What is the lowest round of the pick #8 player with an overall greater than 72 from the college of temple? | CREATE TABLE table_name_19 (round INTEGER, overall VARCHAR, pick__number VARCHAR, college VARCHAR) |
SELECT position FROM table_name_28 WHERE overall < 421 AND player = "matt clark" | What position was less than 421 overall played by Matt Clark? | CREATE TABLE table_name_28 (position VARCHAR, overall VARCHAR, player VARCHAR) |
SELECT MIN(distance__m_) FROM table_1751142_2 WHERE shuttle_time__seconds_ = "6.86" | What is the distance (in meters) when the shuttle time is 6.86 seconds? | CREATE TABLE table_1751142_2 (distance__m_ INTEGER, shuttle_time__seconds_ VARCHAR) |
SELECT region FROM table_name_24 WHERE _percentage_growth = "−3.6" | Which Region that has a growth of −3.6%? | CREATE TABLE table_name_24 (region VARCHAR, _percentage_growth VARCHAR) |
SELECT dvd_release_date FROM table_name_74 WHERE season < 8 AND episodes < 13 | On what date was the DVD released for the season with fewer than 13 episodes that aired before season 8? | CREATE TABLE table_name_74 (dvd_release_date VARCHAR, season VARCHAR, episodes VARCHAR) |
SELECT MIN(round) FROM table_name_18 WHERE circuit = "donington" | Which Round is the lowest one that has a Circuit of donington? | CREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR) |
SELECT away_team AS score FROM table_name_39 WHERE away_team = "melbourne" | What is the visiting team of Melbourne's score? | CREATE TABLE table_name_39 (away_team VARCHAR) |
SELECT COUNT(total) FROM table_150343_3 WHERE country_territory = "Iceland" | What is Iceland's total? | CREATE TABLE table_150343_3 (total VARCHAR, country_territory VARCHAR) |
SELECT player FROM table_name_99 WHERE to_club = "reggina" | Which player was transferred to Reggina? | CREATE TABLE table_name_99 (player VARCHAR, to_club VARCHAR) |
SELECT max_aperture FROM table_name_77 WHERE focal_length = "20mm" | What is the maximum aperture of the lens(es) with a focal length of 20mm? | CREATE TABLE table_name_77 (max_aperture VARCHAR, focal_length VARCHAR) |
SELECT 2013 FROM table_name_29 WHERE 2012 = "2r" AND 2009 = "2r" | What shows for 2013 when the 2012 is 2r, and a 2009 is 2r? | CREATE TABLE table_name_29 (Id VARCHAR) |
SELECT location FROM table_name_64 WHERE original_code = "victorian rules" | What is the location of the original code for victorian rules? | CREATE TABLE table_name_64 (location VARCHAR, original_code VARCHAR) |
SELECT COUNT(no_in_season) FROM table_28787871_3 WHERE original_air_date = "June 3, 2012" | How many numbers in the season have an air date of June 3, 2012? | CREATE TABLE table_28787871_3 (no_in_season VARCHAR, original_air_date VARCHAR) |
SELECT date FROM table_27715173_6 WHERE score = "W 116–93 (OT)" | What date was the game with a score of w 116–93 (ot)? | CREATE TABLE table_27715173_6 (date VARCHAR, score VARCHAR) |
SELECT displacement FROM table_name_57 WHERE power = "185hp (138kw)" | What Displacement has 185hp (138kw) Power o | CREATE TABLE table_name_57 (displacement VARCHAR, power VARCHAR) |
SELECT postseason FROM table_name_20 WHERE team = "nebraska" | How many postseason titles has Nebraska received? | CREATE TABLE table_name_20 (postseason VARCHAR, team VARCHAR) |
SELECT COUNT(germany) FROM table_28562675_3 WHERE italy = "Naples LL Naples" AND england = "London Area Youth London" | How many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London? | CREATE TABLE table_28562675_3 (germany VARCHAR, italy VARCHAR, england VARCHAR) |
SELECT MAX(crowd) FROM table_name_78 WHERE venue = "junction oval" | What was the crowd size at Junction Oval? | CREATE TABLE table_name_78 (crowd INTEGER, venue VARCHAR) |
SELECT driver FROM table_name_28 WHERE points = 7 AND team = "team australia" | Which driver has 7 points for team Australia? | CREATE TABLE table_name_28 (driver VARCHAR, points VARCHAR, team VARCHAR) |
SELECT title FROM table_14330096_4 WHERE director = "Patrick Lau" AND writer = "Lisa Holdsworth" | Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer? | CREATE TABLE table_14330096_4 (title VARCHAR, director VARCHAR, writer VARCHAR) |
SELECT champions FROM table_name_95 WHERE runner_up = "tobol" AND coeff = "1.125" | Which Champions have a Runner-up of tobol, and a Coeff of 1.125? | CREATE TABLE table_name_95 (champions VARCHAR, runner_up VARCHAR, coeff VARCHAR) |
SELECT position FROM table_name_8 WHERE player = "chris clark" | Tell me the position of chris clark | CREATE TABLE table_name_8 (position VARCHAR, player VARCHAR) |
SELECT surface FROM table_name_53 WHERE opponent_in_final = "david nalbandian" | What is the surface of the tournament with david nalbandian as the opponent in the final? | CREATE TABLE table_name_53 (surface VARCHAR, opponent_in_final VARCHAR) |
SELECT COUNT(attendance) FROM table_name_84 WHERE visitor = "cavaliers" | Name the total number of attendance when the cavaliers visited | CREATE TABLE table_name_84 (attendance VARCHAR, visitor VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.