answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT MAX(draws) FROM table_name_98 WHERE against > 2161 | What is the highest draw against 2161? | CREATE TABLE table_name_98 (draws INTEGER, against INTEGER) |
SELECT team_2 FROM table_name_87 WHERE captain_1 = "final" | Which Team 2 has a Captain 1 of final? | CREATE TABLE table_name_87 (team_2 VARCHAR, captain_1 VARCHAR) |
SELECT episode FROM table_name_60 WHERE entrepreneur_s_ = "layla bennett" | The entrepreneur Layla Bennett was featured in which episode? | CREATE TABLE table_name_60 (episode VARCHAR, entrepreneur_s_ VARCHAR) |
SELECT time FROM table_name_50 WHERE nation = "kenya" AND athlete = "lineth chepkurui" | What is the time when the race was in Kenya and Lineth Chepkurui was the athlete? | CREATE TABLE table_name_50 (time VARCHAR, nation VARCHAR, athlete VARCHAR) |
SELECT score FROM table_17104539_10 WHERE date = "July 8" | On July 8, what was the score? | CREATE TABLE table_17104539_10 (score VARCHAR, date VARCHAR) |
SELECT fri_26_aug FROM table_30058355_3 WHERE mon_22_aug = "32' 25.72 69.809mph" | What is every entry for Friday August 26 if the entry for Monday August 22 is 32' 25.72 69.809mph? | CREATE TABLE table_30058355_3 (fri_26_aug VARCHAR, mon_22_aug VARCHAR) |
SELECT record FROM table_name_70 WHERE round = "2" AND method = "submission (injury)" | What is the record in the 2 round fight that ended by submission (injury)? | CREATE TABLE table_name_70 (record VARCHAR, round VARCHAR, method VARCHAR) |
SELECT COUNT(no_in_season) FROM table_1876825_6 WHERE production_code = "06-03-519" | In season 5 what episode number was production 06-03-519? | CREATE TABLE table_1876825_6 (no_in_season VARCHAR, production_code VARCHAR) |
SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "24 January" | Who left a position on 24 January? | CREATE TABLE table_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) |
SELECT role_s_ FROM table_26397277_3 WHERE pick__number = 17 | Name the role for pick number 17 | CREATE TABLE table_26397277_3 (role_s_ VARCHAR, pick__number VARCHAR) |
SELECT MIN(silver) FROM table_name_93 WHERE gold < 0 | what is the least silver when gold is 0? | CREATE TABLE table_name_93 (silver INTEGER, gold INTEGER) |
SELECT driver FROM table_name_32 WHERE points < 2 AND grid > 4 AND team = "american spirit team johansson" | Which driver has fewer than 2 points, larger grid that 4 and is on American Spirit Team Johansson? | CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, points VARCHAR, grid VARCHAR) |
SELECT MIN(official_itv1_rating) FROM table_name_32 WHERE share = "45.4%" | What is the lowest official ITV1 rating with 45.4% share? | CREATE TABLE table_name_32 (official_itv1_rating INTEGER, share VARCHAR) |
SELECT date FROM table_name_2 WHERE away_team = "footscray" | What is the date of the game where Footscray was the away team? | CREATE TABLE table_name_2 (date VARCHAR, away_team VARCHAR) |
SELECT year__ceremony_ FROM table_26555737_1 WHERE arabic_title = "موسم زيتون" | When موسم زيتون is the arabic title when is the year (ceremony)? | CREATE TABLE table_26555737_1 (year__ceremony_ VARCHAR, arabic_title VARCHAR) |
SELECT real_betis_career FROM table_name_63 WHERE appearances < 98 AND nationality = "spain" AND goals > 15 | Which of Real Betis career had appearances smaller than 98, nationality of Spain, and goals greater than 15? | CREATE TABLE table_name_63 (real_betis_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR) |
SELECT player FROM table_name_30 WHERE school_club_team = "mcgill" | What is the Player from McGill? | CREATE TABLE table_name_30 (player VARCHAR, school_club_team VARCHAR) |
SELECT MAX(fc_matches) FROM table_1176371_1 WHERE name_of_ground = "The Racecourse" | What is the maximum fc matches at the racecourse? | CREATE TABLE table_1176371_1 (fc_matches INTEGER, name_of_ground VARCHAR) |
SELECT score FROM table_name_98 WHERE date = "11/17/1979" | Can you tell me the Score that has the Date of 11/17/1979? | CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) |
SELECT discoverer FROM table_name_43 WHERE museum = "burpee museum of natural history" | Who discovered the specimen at the Burpee Museum of Natural History? | CREATE TABLE table_name_43 (discoverer VARCHAR, museum VARCHAR) |
SELECT venue FROM table_name_97 WHERE attendance = "11,045" | Which Venue has Attendances of 11,045? | CREATE TABLE table_name_97 (venue VARCHAR, attendance VARCHAR) |
SELECT region FROM table_name_2 WHERE label = "central station" | Which region had a label of Central Station? | CREATE TABLE table_name_2 (region VARCHAR, label VARCHAR) |
SELECT policy_type_code FROM policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1 | Which type of policy is most frequently used? Give me the policy type code. | CREATE TABLE policies (policy_type_code VARCHAR) |
SELECT COUNT(points_against) FROM table_13758945_3 WHERE tries_for = "43" | how many points against with tries for being 43 | CREATE TABLE table_13758945_3 (points_against VARCHAR, tries_for VARCHAR) |
SELECT location FROM table_28794440_1 WHERE frequency = "1485kHz" | Where are all the 1485khz frequency located? | CREATE TABLE table_28794440_1 (location VARCHAR, frequency VARCHAR) |
SELECT high_points FROM table_name_65 WHERE game = 42 | What are the high points that have 42 as the game? | CREATE TABLE table_name_65 (high_points VARCHAR, game VARCHAR) |
SELECT score FROM table_name_9 WHERE home_team = "darlington" | What is the score when Darlington is the home team? | CREATE TABLE table_name_9 (score VARCHAR, home_team VARCHAR) |
SELECT SUM(block) FROM table_name_16 WHERE weight > 82 AND height < 199 | How many blocks have a weight greater than 82, and a height less than 199? | CREATE TABLE table_name_16 (block INTEGER, weight VARCHAR, height VARCHAR) |
SELECT college FROM table_2508633_11 WHERE nfl_team = "New York Giants" AND position = "Defensive back" | In which colleges is the NFL Team New York Giants and with the position defensive back? | CREATE TABLE table_2508633_11 (college VARCHAR, nfl_team VARCHAR, position VARCHAR) |
SELECT guernsey_record FROM table_name_80 WHERE location = "bordeaux harbour" | What was the guernsey record set with a fish caught at Bordeaux Harbour? | CREATE TABLE table_name_80 (guernsey_record VARCHAR, location VARCHAR) |
SELECT record FROM table_name_65 WHERE date = "july 10" | what's the record on july 10? | CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR) |
SELECT name FROM table_name_23 WHERE type = "2-8-0" AND number = 20 | What was the name for the locomotive with a type of 2-8-0 and a number of 20? | CREATE TABLE table_name_23 (name VARCHAR, type VARCHAR, number VARCHAR) |
SELECT player FROM table_name_29 WHERE weight = 235 | What player weight 235? | CREATE TABLE table_name_29 (player VARCHAR, weight VARCHAR) |
SELECT SUM(no_result) FROM table_name_63 WHERE matches > 16 AND wins < 46 | How many total No Results occured when the team had less than 46 wins and more than 16 matches? | CREATE TABLE table_name_63 (no_result INTEGER, matches VARCHAR, wins VARCHAR) |
SELECT MIN(gold) FROM table_name_16 WHERE bronze = 0 AND rank = "19" AND silver < 1 | What is the fewest gold medals when there is 0 bronze medals, and the rank is 19, and silver medals are less than 1? | CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR) |
SELECT party FROM table_name_49 WHERE district = "6th" | Which party has the 6th district? | CREATE TABLE table_name_49 (party VARCHAR, district VARCHAR) |
SELECT player FROM table_name_51 WHERE place = "t5" AND score = 69 - 66 - 71 = 206 | who is the player when the place is t5 and the score is 69-66-71=206? | CREATE TABLE table_name_51 (player VARCHAR, place VARCHAR, score VARCHAR) |
SELECT player FROM table_2850912_1 WHERE pick__number = 17 | What player is draft pick 17? | CREATE TABLE table_2850912_1 (player VARCHAR, pick__number VARCHAR) |
SELECT initial_release_date FROM table_name_41 WHERE publisher = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen" | When was Ranma ½: netsuretsu kakutouhen first release by Banpresto? | CREATE TABLE table_name_41 (initial_release_date VARCHAR, publisher VARCHAR, japanese_title VARCHAR) |
SELECT pole_position FROM table_name_97 WHERE round < 2 | Tell me the pole position with round less than 2 | CREATE TABLE table_name_97 (pole_position VARCHAR, round INTEGER) |
SELECT height FROM table_name_78 WHERE player = "alex poythress" | What is Alex Poythress height? | CREATE TABLE table_name_78 (height VARCHAR, player VARCHAR) |
SELECT 2012 FROM table_name_86 WHERE 2011 = "28.9%" | What is listed for the 2012 that has a 2011 of 28.9%? | CREATE TABLE table_name_86 (Id VARCHAR) |
SELECT monday FROM table_name_45 WHERE sunday = "alice levine jamie east" AND series = "big brother 13" | Who was the presenter on Monday of "Big Brother 13" in which Alice Levine Jamie East presented on Sunday? | CREATE TABLE table_name_45 (monday VARCHAR, sunday VARCHAR, series VARCHAR) |
SELECT _percentage_2011 FROM table_1717824_1 WHERE _percentage_2001 = "2.4%" | What was the percentage in 2011 of the province that had 2.4% population in 2001? | CREATE TABLE table_1717824_1 (_percentage_2011 VARCHAR, _percentage_2001 VARCHAR) |
SELECT lner_1946_no FROM table_name_20 WHERE year = "1892" AND lner_no = "7347–7356" | Which LNER 1946 number is from 1892 and has an LNER number of 7347–7356? | CREATE TABLE table_name_20 (lner_1946_no VARCHAR, year VARCHAR, lner_no VARCHAR) |
SELECT MAX(fa_cup_goals) FROM table_name_75 WHERE total_goals > 3 AND total_apps = "31 (1)" | what is the highest fa cup goals when the total goals is more than 3 and total apps is 31 (1)? | CREATE TABLE table_name_75 (fa_cup_goals INTEGER, total_goals VARCHAR, total_apps VARCHAR) |
SELECT date_of_exit FROM table_1160304_2 WHERE chart = "Dutch Albums Top 100" | What is the exit date for the Dutch Albums Top 100 Chart? | CREATE TABLE table_1160304_2 (date_of_exit VARCHAR, chart VARCHAR) |
SELECT year FROM table_name_45 WHERE runs = "100*" | For what year was 100* runs happen? | CREATE TABLE table_name_45 (year VARCHAR, runs VARCHAR) |
SELECT away_team FROM table_name_33 WHERE home_team = "bristol rovers" | What is the Away team at Bristol Rovers' Home game? | CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR) |
SELECT date FROM table_21907770_4 WHERE versus = "South Africa" | What are the dates where the versus team is South Africa? | CREATE TABLE table_21907770_4 (date VARCHAR, versus VARCHAR) |
SELECT MIN(win__percentage) FROM table_name_39 WHERE record = "0-2" AND apps > 2 | What is the lowest win % with a 0-2 record and more than 2 apps? | CREATE TABLE table_name_39 (win__percentage INTEGER, record VARCHAR, apps VARCHAR) |
SELECT MIN(original_amendments_cosponsored) FROM table_name_50 WHERE all_bills_sponsored < 64 AND bill_support_withdrawn < 0 | How many original bills amendments cosponsored lower than 64,with the bill support withdrawn lower than 0? | CREATE TABLE table_name_50 (original_amendments_cosponsored INTEGER, all_bills_sponsored VARCHAR, bill_support_withdrawn VARCHAR) |
SELECT date FROM table_name_59 WHERE away_team = "footscray" | On what date is Footscray the away team? | CREATE TABLE table_name_59 (date VARCHAR, away_team VARCHAR) |
SELECT remixed_by FROM table_name_67 WHERE length = "4:22" | Who remixed the version with a length of 4:22? | CREATE TABLE table_name_67 (remixed_by VARCHAR, length VARCHAR) |
SELECT AVG(points) FROM table_name_80 WHERE points_difference = "61 - 15" AND drawn > 1 | What is the Points that has 61 - 15 Point difference and a Drawn larger than 1? | CREATE TABLE table_name_80 (points INTEGER, points_difference VARCHAR, drawn VARCHAR) |
SELECT artist FROM table_name_42 WHERE certification = "4x platinum" | Which artist had a 4x platinum? | CREATE TABLE table_name_42 (artist VARCHAR, certification VARCHAR) |
SELECT scorers FROM table_name_94 WHERE opponents = "oldham athletic" AND round = "semi-final" | Who were the scorers in the semi-final round where oldham athletic were the opponents? | CREATE TABLE table_name_94 (scorers VARCHAR, opponents VARCHAR, round VARCHAR) |
SELECT total_votes FROM table_19763199_3 WHERE artist = "Carlos Ferrer EAI" | How many votes does Carlos Ferrer Eai have? | CREATE TABLE table_19763199_3 (total_votes VARCHAR, artist VARCHAR) |
SELECT MIN(runners) FROM table_name_12 WHERE placing < 1 | What is the lowest number of Runners that has a Placing that isn't 1? | CREATE TABLE table_name_12 (runners INTEGER, placing INTEGER) |
SELECT COUNT(road_race) FROM table_26166836_1 WHERE country = "Japan" AND location = "Fukuoka" | How many races were in fukuoka, japan? | CREATE TABLE table_26166836_1 (road_race VARCHAR, country VARCHAR, location VARCHAR) |
SELECT COUNT(year_of_introduction) FROM table_26389588_1 WHERE name___designation = "CETME" | How many different years was the name/designation cetme? | CREATE TABLE table_26389588_1 (year_of_introduction VARCHAR, name___designation VARCHAR) |
SELECT week__number FROM table_26250227_1 WHERE theme = "Auditioner's Choice" | What are all the week # where subject matter is auditioner's choice | CREATE TABLE table_26250227_1 (week__number VARCHAR, theme VARCHAR) |
SELECT SUM(b_score) FROM table_name_70 WHERE total > 16.125 AND position = "3rd" | What is the B Score when the total is more than 16.125, and position is 3rd? | CREATE TABLE table_name_70 (b_score INTEGER, total VARCHAR, position VARCHAR) |
SELECT date FROM table_14016079_1 WHERE rd = 8 | What were the dates for Round 8? | CREATE TABLE table_14016079_1 (date VARCHAR, rd VARCHAR) |
SELECT rounds FROM table_name_63 WHERE driver = "vic elford" AND engine = "ford cosworth dfv 3.0 v8" | Which rounds did Vic Elford with a Ford cosworth dfv 3.0 v8 engine have? | CREATE TABLE table_name_63 (rounds VARCHAR, driver VARCHAR, engine VARCHAR) |
SELECT title__french_____english_ FROM table_19485888_1 WHERE b_b_ = _corresponds_to_tf1s_broadcast_schedule = 20 / 16 | what is the title of the episode where b b is 20/16 | CREATE TABLE table_19485888_1 (title__french_____english_ VARCHAR, b_b_ VARCHAR, _corresponds_to_tf1s_broadcast_schedule VARCHAR) |
SELECT tie_no FROM table_name_6 WHERE away_team = "scunthorpe united" | What is the tie no when scunthorpe united was the away team? | CREATE TABLE table_name_6 (tie_no VARCHAR, away_team VARCHAR) |
SELECT date FROM table_name_92 WHERE opposing_team = "united states" | What day was United States the opposing team? | CREATE TABLE table_name_92 (date VARCHAR, opposing_team VARCHAR) |
SELECT order__number FROM table_name_97 WHERE original_artist = "aretha franklin" | What is the order number that has Aretha Franklin as the original artist? | CREATE TABLE table_name_97 (order__number VARCHAR, original_artist VARCHAR) |
SELECT high_points FROM table_name_22 WHERE opponent = "mid-michigan destroyers" AND date = "january 3" | What was the high points for opponent Mid-Michigan destroyers on January 3? | CREATE TABLE table_name_22 (high_points VARCHAR, opponent VARCHAR, date VARCHAR) |
SELECT AVG(total) FROM table_name_82 WHERE tournament < 0 | Name the average total for tournament less than 0 | CREATE TABLE table_name_82 (total INTEGER, tournament INTEGER) |
SELECT leading_scorer FROM table_name_28 WHERE date = "february 25" | Who was the leading scorer on the game played on February 25? | CREATE TABLE table_name_28 (leading_scorer VARCHAR, date VARCHAR) |
SELECT MIN(points) FROM table_name_50 WHERE attendance = "1,500" | What is the lowest number of points scored when there were 1,500 in attendance? | CREATE TABLE table_name_50 (points INTEGER, attendance VARCHAR) |
SELECT tournament FROM table_name_96 WHERE winner = "patrick rafter" | Which tournament did Patrick Rafter win? | CREATE TABLE table_name_96 (tournament VARCHAR, winner VARCHAR) |
SELECT round FROM table_name_56 WHERE scorers = "di matteo" | Which round has the scorer of Di Matteo? | CREATE TABLE table_name_56 (round VARCHAR, scorers VARCHAR) |
SELECT player FROM table_name_86 WHERE round = "7" AND overall = "#195" | Who is the player on round 7 with an overall ranking of #195? | CREATE TABLE table_name_86 (player VARCHAR, round VARCHAR, overall VARCHAR) |
SELECT constructor FROM table_name_69 WHERE entrant = "jo bonnier" AND rounds = "6" | What was the constructor for jo bonnier of 6 rounds? | CREATE TABLE table_name_69 (constructor VARCHAR, entrant VARCHAR, rounds VARCHAR) |
SELECT born___died FROM table_name_93 WHERE connection_with_australia = "family moved to australia at age 6" | What is the Born–Died for the person whose family moved to Australia at age 6? | CREATE TABLE table_name_93 (born___died VARCHAR, connection_with_australia VARCHAR) |
SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-12" | Which chassis has an Alfa Romeo flat-12 engine. | CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR) |
SELECT MIN(area__km²_) FROM table_166346_1 WHERE production___bbl__day_ = "3,200,000 (12th)" | What was the minimum area in square kilometers that produced 3,200,000 (12th) bbl/day? | CREATE TABLE table_166346_1 (area__km²_ INTEGER, production___bbl__day_ VARCHAR) |
SELECT COUNT(year) FROM table_2201724_1 WHERE score_in_the_final = "3–6, 4–6, 2–6" | List the total number of years that have a score of 3–6, 4–6, 2–6. | CREATE TABLE table_2201724_1 (year VARCHAR, score_in_the_final VARCHAR) |
SELECT margin_of_victory FROM table_name_77 WHERE tournament = "mississippi gulf resort classic" | What was the margin of victory for the Mississippi Gulf Resort Classic? | CREATE TABLE table_name_77 (margin_of_victory VARCHAR, tournament VARCHAR) |
SELECT nalchik FROM table_name_32 WHERE played = 4 AND qual = "rl" AND jermuk = "100" | What is the nalchik with 4 played, a rl qual., and 100 jermuk? | CREATE TABLE table_name_32 (nalchik VARCHAR, jermuk VARCHAR, played VARCHAR, qual VARCHAR) |
SELECT engine FROM table_name_21 WHERE displacement = "4.4l (4423cc/269in³)" AND power = "220kw (299hp) @ 4000" | Displacement of 4.4l (4423cc/269in³) and a Power of 220kw (299hp) @ 4000 belongs to what engine? | CREATE TABLE table_name_21 (engine VARCHAR, displacement VARCHAR, power VARCHAR) |
SELECT tournament FROM table_name_14 WHERE week = "august 4" | What was the tournament for the week of August 4? | CREATE TABLE table_name_14 (tournament VARCHAR, week VARCHAR) |
SELECT date FROM table_name_33 WHERE venue = "vfl park" | What date was the game played at vfl park? | CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR) |
SELECT no_s_ FROM table_11734041_9 WHERE school_club_team_country = "Southern University" | What is the number of the player who went to Southern University? | CREATE TABLE table_11734041_9 (no_s_ VARCHAR, school_club_team_country VARCHAR) |
SELECT COUNT(left_bloc) FROM table_1463383_1 WHERE social_democratic = "32.1%" | How many percentages of Left Bloc correspond to a 32.1% Social Democratic? | CREATE TABLE table_1463383_1 (left_bloc VARCHAR, social_democratic VARCHAR) |
SELECT MAX(fumbles) FROM table_name_56 WHERE yards > 44 AND att = 32 | What is the most fumbles for more than 44 yards and att of 32? | CREATE TABLE table_name_56 (fumbles INTEGER, yards VARCHAR, att VARCHAR) |
SELECT fate FROM table_name_56 WHERE nationality = "yugoslavia" | What was Yugoslavia's fate? | CREATE TABLE table_name_56 (fate VARCHAR, nationality VARCHAR) |
SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,000" | What Entrepreneurs requested £60,000? | CREATE TABLE table_name_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR) |
SELECT shop_id, COUNT(*) FROM happy_hour GROUP BY shop_id ORDER BY COUNT(*) DESC LIMIT 1 | which shop has happy hour most frequently? List its id and number of happy hours. | CREATE TABLE happy_hour (shop_id VARCHAR) |
SELECT audio FROM table_name_28 WHERE just_ratio = "21:20" | what is the value of the audio with a just ratio 21:20 | CREATE TABLE table_name_28 (audio VARCHAR, just_ratio VARCHAR) |
SELECT weight FROM table_name_23 WHERE date_of_birth = "1981-11-21" | What is the weight of the entry that has a date of birth of 1981-11-21? | CREATE TABLE table_name_23 (weight VARCHAR, date_of_birth VARCHAR) |
SELECT past_habitual FROM table_16337329_5 WHERE probable_future = "गर्छस् garchas 'you (will) do'" | Name the past habitual for गर्छस् garchas 'you (will) do' | CREATE TABLE table_16337329_5 (past_habitual VARCHAR, probable_future VARCHAR) |
SELECT timeslot FROM table_name_43 WHERE translation = "ბრაზილიის უბანი" | At what time is the ბრაზილიის უბანი shown? | CREATE TABLE table_name_43 (timeslot VARCHAR, translation VARCHAR) |
SELECT wins FROM table_name_47 WHERE year > 1987 AND points < 188 | How many wins for the year that is later than 1987 and has points less than 188? | CREATE TABLE table_name_47 (wins VARCHAR, year VARCHAR, points VARCHAR) |
SELECT operational FROM table_10335_1 WHERE camp = "Sajmište" | what's the operational period with camp sajmište | CREATE TABLE table_10335_1 (operational VARCHAR, camp VARCHAR) |
SELECT bronze FROM table_name_81 WHERE location = "busan" | Who was the bronze medal when the Asian Games were held in Busan? | CREATE TABLE table_name_81 (bronze VARCHAR, location VARCHAR) |
SELECT MAX(points) FROM table_name_96 WHERE lost > 1 AND games < 5 | Name the most points with lost more than 1 and games less than 5 | CREATE TABLE table_name_96 (points INTEGER, lost VARCHAR, games VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.