answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT lost FROM table_14058433_5 WHERE club = "Colwyn Bay RFC" | what's the lost with club being colwyn bay rfc | CREATE TABLE table_14058433_5 (lost VARCHAR, club VARCHAR) |
SELECT english___manga_uk__ FROM table_2160215_1 WHERE original_japanese = "Kō Nishimura" | Who was the cast on the English (Manga UK) version if Kō Nishimura acted on the original Japanese? | CREATE TABLE table_2160215_1 (english___manga_uk__ VARCHAR, original_japanese VARCHAR) |
SELECT city_of_license FROM table_name_20 WHERE erp_w < 14 AND frequency_mhz > 93.7 | Which city has ERP W under 14 and a frequency over 93.7MHz? | CREATE TABLE table_name_20 (city_of_license VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR) |
SELECT MIN(attendance) FROM table_name_63 WHERE record = "34–51" | Which Attendance has a Record of 34–51? | CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR) |
SELECT tie_no FROM table_name_40 WHERE away_team = "barnsley" | What is the Tie Number when Barnsley was the away team? | CREATE TABLE table_name_40 (tie_no VARCHAR, away_team VARCHAR) |
SELECT record FROM table_name_36 WHERE home = "oakland seals" | What was the record when the team played at Oakland Seals? | CREATE TABLE table_name_36 (record VARCHAR, home VARCHAR) |
SELECT COUNT(population__2010_) FROM table_255812_1 WHERE area__km²_ = "134.51" | What is the total quantity of populace (2010) where location (km²) is 134.51 | CREATE TABLE table_255812_1 (population__2010_ VARCHAR, area__km²_ VARCHAR) |
SELECT home_team FROM table_name_9 WHERE away_team = "watford" | Who is the team that played away team watford? | CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR) |
SELECT MIN(points) FROM table_name_95 WHERE wins = 1 | What is the least amount of points when there is 1 win? | CREATE TABLE table_name_95 (points INTEGER, wins VARCHAR) |
SELECT institution FROM table_name_99 WHERE total < 13 AND government = 1 AND aided = 0 | Which Institution has a Total smaller than 13, a Government amount of 1, and an Aided amount of 0? | CREATE TABLE table_name_99 (institution VARCHAR, aided VARCHAR, total VARCHAR, government VARCHAR) |
SELECT pick FROM table_name_11 WHERE position = "catcher" AND player = "josh donaldson" | What is catcher Josh Donaldson's pick number? | CREATE TABLE table_name_11 (pick VARCHAR, position VARCHAR, player VARCHAR) |
SELECT tns_sofres_6_2_09 FROM table_name_2 WHERE ifop_5_30_09 = "5%" | What was the TNS-Sofres when the Iflop was 5%? | CREATE TABLE table_name_2 (tns_sofres_6_2_09 VARCHAR, ifop_5_30_09 VARCHAR) |
SELECT total FROM table_name_3 WHERE event = "wc belgrade" AND rank_points = "10" | What's the total for the wc belgrade event with 10 rank points? | CREATE TABLE table_name_3 (total VARCHAR, event VARCHAR, rank_points VARCHAR) |
SELECT res FROM table_name_77 WHERE location = "canada" AND record = "3-3" | Which result has a Location of canada, and a Record of 3-3? | CREATE TABLE table_name_77 (res VARCHAR, location VARCHAR, record VARCHAR) |
SELECT margin_of_victory FROM table_19630743_2 WHERE runner_s__up = "Steve Stricker" | What was the margin of victory of Steve Stricker as a runner up? | CREATE TABLE table_19630743_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR) |
SELECT attendance FROM table_name_62 WHERE record = "1-1" | How many people attended the game whose score was 1-1? | CREATE TABLE table_name_62 (attendance VARCHAR, record VARCHAR) |
SELECT womens_doubles FROM table_12027364_1 WHERE womens_singles = "Wu Jianqui" | Who won the womens doubles when wu jianqui won the womens singles? | CREATE TABLE table_12027364_1 (womens_doubles VARCHAR, womens_singles VARCHAR) |
SELECT country FROM table_1529260_2 WHERE margin_of_victory = "6 strokes" | What countries have a margin of victory at 6 strokes? | CREATE TABLE table_1529260_2 (country VARCHAR, margin_of_victory VARCHAR) |
SELECT MAX(result___votes) FROM table_25818630_1 WHERE loss_gain = "-0.5%" | What is the largest vote result if loss/gain is -0.5%? | CREATE TABLE table_25818630_1 (result___votes INTEGER, loss_gain VARCHAR) |
SELECT title FROM table_16581695_3 WHERE written_by = "Matt Wayne" | What title was written by Matt Wayne? | CREATE TABLE table_16581695_3 (title VARCHAR, written_by VARCHAR) |
SELECT middle_german___luxemburgish__ FROM table_name_20 WHERE DUTCH(Limburgish) = ein | What is the Middle German (Luxemburgish) word for ein? | CREATE TABLE table_name_20 (middle_german___luxemburgish__ VARCHAR, ein VARCHAR, Limburgish VARCHAR) |
SELECT AVG(rank) FROM table_name_19 WHERE headquarters = "toronto, on" AND screens < 1 OFFSET 438 | What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438? | CREATE TABLE table_name_19 (rank INTEGER, headquarters VARCHAR, screens VARCHAR) |
SELECT MIN(block) FROM table_name_20 WHERE spike = 328 AND height < 186 | What is the lowest block that has 328 as the spike, and a height less than 186? | CREATE TABLE table_name_20 (block INTEGER, spike VARCHAR, height VARCHAR) |
SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes" | When chris barnes is on team usa how many europe teams are there? | CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR) |
SELECT MAX(production_code) FROM table_14889988_1 WHERE no_in_series = 229 | What is the production code for episode 229? | CREATE TABLE table_14889988_1 (production_code INTEGER, no_in_series VARCHAR) |
SELECT COUNT(date) FROM table_13480122_5 WHERE score = "W 113–87" | how many date with score being w 113–87 | CREATE TABLE table_13480122_5 (date VARCHAR, score VARCHAR) |
SELECT other_awards FROM table_1825751_14 WHERE delegate = "Milagros Gutierrez" | How many awards did milagros gutierrez win? | CREATE TABLE table_1825751_14 (other_awards VARCHAR, delegate VARCHAR) |
SELECT date FROM table_name_41 WHERE surface = "grass" AND opponent_in_the_final = "nathan healey" | What is the date for the grass surface final against Nathan Healey? | CREATE TABLE table_name_41 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) |
SELECT candidates FROM table_1342370_5 WHERE incumbent = "Harry Lane Englebright" | What candidates ran in the election that featured harry lane englebright? | CREATE TABLE table_1342370_5 (candidates VARCHAR, incumbent VARCHAR) |
SELECT high_points FROM table_name_84 WHERE game = 81 | Who had the most points in game 81? | CREATE TABLE table_name_84 (high_points VARCHAR, game VARCHAR) |
SELECT circuit FROM table_1140090_6 WHERE race_name = "VI Rhein-Pokalrennen" | What circuit is the Vi Rhein-Pokalrennen race in? | CREATE TABLE table_1140090_6 (circuit VARCHAR, race_name VARCHAR) |
SELECT SUM(grid) FROM table_name_58 WHERE driver = "peter gethin" | What is the total number of grids for peter gethin? | CREATE TABLE table_name_58 (grid INTEGER, driver VARCHAR) |
SELECT MIN(year) FROM table_name_39 WHERE engine = "cosworth v8" AND points = 12 | what's the earliest year that there was a cosworth v8 engine and 12 points? | CREATE TABLE table_name_39 (year INTEGER, engine VARCHAR, points VARCHAR) |
SELECT COUNT(high_points) FROM table_27698941_2 WHERE date = "October 5" | How many people led in points during the game on October 5? | CREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR) |
SELECT vocalist FROM table_2144389_8 WHERE rōmaji = "Kaze no Messēji (PokaPoka-Version)" | Name the vocalist for kaze no messēji (pokapoka-version) | CREATE TABLE table_2144389_8 (vocalist VARCHAR, rōmaji VARCHAR) |
SELECT MIN(game) FROM table_name_77 WHERE score = "108-85" | Score of 108-85 is what lowest game? | CREATE TABLE table_name_77 (game INTEGER, score VARCHAR) |
SELECT country FROM table_name_43 WHERE player = "david toms" | What country has david toms as the player? | CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR) |
SELECT _percentage_gdp FROM table_name_19 WHERE year < 2011 AND expenditure > 41.3 AND income < 48 AND surplus_deficit_ = "(24.6)" | Which % GDP has a Year smaller than 2011, and an Expenditure larger than 41.3, and an Income smaller than 48, and a Surplus(Deficit) of (24.6)? | CREATE TABLE table_name_19 (_percentage_gdp VARCHAR, surplus_deficit_ VARCHAR, income VARCHAR, year VARCHAR, expenditure VARCHAR) |
SELECT SUM(game) FROM table_name_62 WHERE opponent = "new york islanders" AND february < 24 | What is the number of the game when the opponent was the New York Islanders, and a February less than 24? | CREATE TABLE table_name_62 (game INTEGER, opponent VARCHAR, february VARCHAR) |
SELECT batting_team FROM table_name_55 WHERE venue = "karachi" | What batting team played in Karachi? | CREATE TABLE table_name_55 (batting_team VARCHAR, venue VARCHAR) |
SELECT decor, AVG(basePrice), MIN(basePrice) FROM Rooms GROUP BY decor | Find the average and minimum price of the rooms in different decor. | CREATE TABLE Rooms (decor VARCHAR, basePrice INTEGER) |
SELECT SUM(enrollment), MIN(enrollment) FROM university | What is the total and minimum enrollment of all schools? | CREATE TABLE university (enrollment INTEGER) |
SELECT MAX(time) FROM table_name_31 WHERE year = 1995 AND event = "200 metres" | What's the highest time for the 1995 200 metres event? | CREATE TABLE table_name_31 (time INTEGER, year VARCHAR, event VARCHAR) |
SELECT AVG(wins) FROM table_name_82 WHERE against > 1244 AND losses < 8 | When against is more than 1244 with less than 8 losses, what is the average of wins? | CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, losses VARCHAR) |
SELECT incumbent FROM table_name_73 WHERE party = "republican" AND first_elected < 1864 | Who is the incumbent that is a republican and first elected before 1864? | CREATE TABLE table_name_73 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) |
SELECT party FROM table_1342393_23 WHERE first_elected = 1923 | What was the party for first elected 1923? | CREATE TABLE table_1342393_23 (party VARCHAR, first_elected VARCHAR) |
SELECT event FROM table_name_76 WHERE position = "4th" AND year = 2007 | Which event had 4th place and took place in the year 2007? | CREATE TABLE table_name_76 (event VARCHAR, position VARCHAR, year VARCHAR) |
SELECT vineyard_surface__2010_ FROM table_13981938_1 WHERE grand_cru = "Bienvenues-Bâtard-Montrachet" | what's the vineyard surface (2010) with grand cru being bienvenues-bâtard-montrachet | CREATE TABLE table_13981938_1 (vineyard_surface__2010_ VARCHAR, grand_cru VARCHAR) |
SELECT AVG(rank) FROM table_name_38 WHERE state = "maine" | What is the average rank of a mountain range located in Maine? | CREATE TABLE table_name_38 (rank INTEGER, state VARCHAR) |
SELECT MIN(wins) FROM table_name_15 WHERE byes < 0 | What is the lowest number of wins where the byes are less than 0? | CREATE TABLE table_name_15 (wins INTEGER, byes INTEGER) |
SELECT constructor FROM table_name_9 WHERE grid = 17 | Tell me the constructor for grid of 17 | CREATE TABLE table_name_9 (constructor VARCHAR, grid VARCHAR) |
SELECT opponents_in_the_final FROM table_name_90 WHERE score = "6-1 2-6 7-10" | Tell me the opponents for score of 6-1 2-6 7-10 | CREATE TABLE table_name_90 (opponents_in_the_final VARCHAR, score VARCHAR) |
SELECT manufacturer FROM table_name_69 WHERE laps = 1 AND time_retired = "accident" | Which Manufacturer has 1 lap and had an accident? | CREATE TABLE table_name_69 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR) |
SELECT grade, COUNT(*) FROM Highschooler GROUP BY grade | Show the number of high schoolers for each grade. | CREATE TABLE Highschooler (grade VARCHAR) |
SELECT COUNT(*) FROM Employee | How many employees do we have? | CREATE TABLE Employee (Id VARCHAR) |
SELECT COUNT(episode) FROM table_name_78 WHERE performer_1 = "jim sweeney" AND performer_2 = "steve steen" | What is the total number of episodes where jim sweeney was the 1st performer and steve steen was the 2nd performer? | CREATE TABLE table_name_78 (episode VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR) |
SELECT position FROM table_name_3 WHERE venue = "berlin, germany" | Which Position has a Venue of berlin, germany? | CREATE TABLE table_name_3 (position VARCHAR, venue VARCHAR) |
SELECT SUM(top_5) FROM table_name_59 WHERE top_10 = 3 AND events < 15 | In the tournament that had 3 Top-10's, and less than 15 events, how many Top-5's did the player have? | CREATE TABLE table_name_59 (top_5 INTEGER, top_10 VARCHAR, events VARCHAR) |
SELECT socket FROM table_name_96 WHERE sspec_number = "standard power" | What is the socket when the sSpec number is standard power? | CREATE TABLE table_name_96 (socket VARCHAR, sspec_number VARCHAR) |
SELECT partner FROM table_name_53 WHERE surface = "clay" AND score_in_the_final = "6–3, 6–7 (5–7) , 7–6 (7–5)" | Who was David Adams partner on the match played on Clay Surface with a Score in the final of 6–3, 6–7 (5–7) , 7–6 (7–5)? | CREATE TABLE table_name_53 (partner VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) |
SELECT turnout__percentage FROM table_name_70 WHERE raila = "519,180" | What's listed for the Turnout % with a Raila of 519,180? | CREATE TABLE table_name_70 (turnout__percentage VARCHAR, raila VARCHAR) |
SELECT season FROM table_name_4 WHERE division = "washington bullets" | In which Season was the Division Washington Bullets? | CREATE TABLE table_name_4 (season VARCHAR, division VARCHAR) |
SELECT bowling_style FROM table_name_49 WHERE player = "damien martyn" | What is Damien Martyn's bowling style? | CREATE TABLE table_name_49 (bowling_style VARCHAR, player VARCHAR) |
SELECT apt_type_code FROM Apartments GROUP BY apt_type_code ORDER BY COUNT(*) DESC LIMIT 1 | Show the most common apartment type code. | CREATE TABLE Apartments (apt_type_code VARCHAR) |
SELECT nat FROM table_name_49 WHERE principal_victims = "civilians" | What is the nationality of the ship when the principle victims are civilians? | CREATE TABLE table_name_49 (nat VARCHAR, principal_victims VARCHAR) |
SELECT date FROM table_name_54 WHERE region = "europe" AND format = "cd" | What is the date for a CD format with a Region of Europe? | CREATE TABLE table_name_54 (date VARCHAR, region VARCHAR, format VARCHAR) |
SELECT regular_season FROM table_1241987_1 WHERE playoffs = "division Finals" | Which regular season contains playoffs in division finals? | CREATE TABLE table_1241987_1 (regular_season VARCHAR, playoffs VARCHAR) |
SELECT school_club_team FROM table_11545282_7 WHERE no = 35 | What school or club did number 35 play for? | CREATE TABLE table_11545282_7 (school_club_team VARCHAR, no VARCHAR) |
SELECT MAX(no_in_series) FROM table_19897294_4 | How many series are there total? | CREATE TABLE table_19897294_4 (no_in_series INTEGER) |
SELECT leading_scorer FROM table_name_65 WHERE attendance = "gund arena 20,562" AND record = "20-10" | What is Leading Scorer, when Attendance is Gund Arena 20,562, and when Record is 20-10? | CREATE TABLE table_name_65 (leading_scorer VARCHAR, attendance VARCHAR, record VARCHAR) |
SELECT date FROM table_name_57 WHERE game < 58 AND team = "boston" | WHAT DATE HAD A GAME SMALLER THAN 58, AND FROM BOSTON? | CREATE TABLE table_name_57 (date VARCHAR, game VARCHAR, team VARCHAR) |
SELECT MIN(height__m_) FROM table_name_26 WHERE prominence__m_ = 2 OFFSET 349 | What is the smallest height with a prominence of 2,349? | CREATE TABLE table_name_26 (height__m_ INTEGER, prominence__m_ VARCHAR) |
SELECT district FROM table_1341843_44 WHERE first_elected = 1966 | What was the district who had their first elected in 1966? | CREATE TABLE table_1341843_44 (district VARCHAR, first_elected VARCHAR) |
SELECT COUNT(candidates) FROM table_1346137_4 WHERE incumbent = "David E. Finley" | How many different set of candidates were there when the incumbent was david e. finley? | CREATE TABLE table_1346137_4 (candidates VARCHAR, incumbent VARCHAR) |
SELECT player FROM table_name_85 WHERE nationality = "canada" AND pick = "43" | Tell me the player for nationality of canada for pick of 43 | CREATE TABLE table_name_85 (player VARCHAR, nationality VARCHAR, pick VARCHAR) |
SELECT COUNT(DISTINCT current_address_id) FROM Students | How many different addresses do the students currently live? | CREATE TABLE Students (current_address_id VARCHAR) |
SELECT home_team AS score FROM table_name_56 WHERE away_team = "st kilda" | What was St Kilda's home team opponents score? | CREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR) |
SELECT written_by FROM table_18217753_1 WHERE us_viewers__millions_ = "27.11" | Who were the writers when there were 27.11 million viewers? | CREATE TABLE table_18217753_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT main_location_s_ FROM table_name_16 WHERE area = "19,800 ha" | What Main Location(s) has an Area of 19,800 HA? | CREATE TABLE table_name_16 (main_location_s_ VARCHAR, area VARCHAR) |
SELECT score FROM table_20745759_1 WHERE date = "March 29, 1997" | Name the score for march 29, 1997 | CREATE TABLE table_20745759_1 (score VARCHAR, date VARCHAR) |
SELECT team FROM table_name_18 WHERE ratt = "57" | What was the team with a ratt of 57? | CREATE TABLE table_name_18 (team VARCHAR, ratt VARCHAR) |
SELECT male_population_2001 FROM table_19589113_5 WHERE sex_ratio_‡_1991 = 896 | What are all values for male population in 2001 when sex ratio in 1991 is 896? | CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, sex_ratio_‡_1991 VARCHAR) |
SELECT pole_position FROM table_29162856_1 WHERE winning_rider = "Rob Guiver" AND fastest_lap = "Kyle Ryde" | Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap? | CREATE TABLE table_29162856_1 (pole_position VARCHAR, winning_rider VARCHAR, fastest_lap VARCHAR) |
SELECT city FROM table_1397655_1 WHERE station = "CITV" | where is citv located | CREATE TABLE table_1397655_1 (city VARCHAR, station VARCHAR) |
SELECT surface FROM table_name_60 WHERE score = "akgul amanmuradova chuang chia-jung" | What was the surface of the match when the score was akgul amanmuradova chuang chia-jung? | CREATE TABLE table_name_60 (surface VARCHAR, score VARCHAR) |
SELECT gross_revenue__2011_ FROM table_name_8 WHERE state = "mo" | What is the gross revenue in 2011 for MO? | CREATE TABLE table_name_8 (gross_revenue__2011_ VARCHAR, state VARCHAR) |
SELECT date FROM table_name_31 WHERE result = "l 21–34" | What Date has a Result of l 21–34? | CREATE TABLE table_name_31 (date VARCHAR, result VARCHAR) |
SELECT opponents_in_the_final FROM table_name_84 WHERE score = "4-1 5-4 (7) 4-2" | What is Opponents In The Final, when Score is 4-1 5-4 (7) 4-2? | CREATE TABLE table_name_84 (opponents_in_the_final VARCHAR, score VARCHAR) |
SELECT home FROM table_name_25 WHERE visitor = "detroit" AND date = "february 29" | Name the home for detroit visitor and date of february 29 | CREATE TABLE table_name_25 (home VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT group_a FROM table_15290638_1 WHERE group_d = "Indiana" | Who is in group a when indiana is in group d? | CREATE TABLE table_15290638_1 (group_a VARCHAR, group_d VARCHAR) |
SELECT round FROM table_name_81 WHERE city_location = "toronto, ontario" | Which round had a city/location of Toronto, Ontario? | CREATE TABLE table_name_81 (round VARCHAR, city_location VARCHAR) |
SELECT county FROM table_22815568_2 WHERE unemployment_rate = "3.6%" | Which county had a 3.6% unemployment rate? | CREATE TABLE table_22815568_2 (county VARCHAR, unemployment_rate VARCHAR) |
SELECT SUM(money___) AS £__ FROM table_name_56 WHERE player = "nick faldo" | What is the total Money (£) of Player of nick faldo? | CREATE TABLE table_name_56 (money___ INTEGER, player VARCHAR) |
SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 14 | What is the result/score for the match report recap on week 14? | CREATE TABLE table_name_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR) |
SELECT COUNT(overall) FROM table_name_3 WHERE name = "calvin o'neal" AND round < 6 | Name of calvin o'neal, and a Round smaller than 6 had what number total overall? | CREATE TABLE table_name_3 (overall VARCHAR, name VARCHAR, round VARCHAR) |
SELECT COUNT(year) FROM table_name_34 WHERE score = 269 | What year was the score 269? | CREATE TABLE table_name_34 (year VARCHAR, score VARCHAR) |
SELECT location__all_in_nagano__ FROM table_name_7 WHERE name = "sakakita bs" | What location has the name of Sakakita BS? | CREATE TABLE table_name_7 (location__all_in_nagano__ VARCHAR, name VARCHAR) |
SELECT COUNT(drawn) FROM table_name_78 WHERE played > 15 | How many games that ended in a draw were played by a team with more than 15 total games? | CREATE TABLE table_name_78 (drawn VARCHAR, played INTEGER) |
SELECT MIN(year) FROM table_name_33 WHERE pts = "16" | What is the earliest year with 16 points? | CREATE TABLE table_name_33 (year INTEGER, pts VARCHAR) |
SELECT COUNT(lost) FROM table_name_60 WHERE played > 8 AND team = "ypiranga-sp" AND position > 5 | How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5? | CREATE TABLE table_name_60 (lost VARCHAR, position VARCHAR, played VARCHAR, team VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.