question
stringlengths 17
201
| answer
stringlengths 21
400
| context
stringlengths 32
286
|
---|---|---|
What two players had the highest rebounds for the October 14 game? | SELECT high_rebounds FROM table_27733258_2 WHERE date = "October 14" | CREATE TABLE table_27733258_2 (high_rebounds VARCHAR, date VARCHAR) |
What venue has g1 as the group? | SELECT venue FROM table_name_45 WHERE group = "g1" | CREATE TABLE table_name_45 (venue VARCHAR, group VARCHAR) |
Chauncey Billups (6) had a high assist on what date? | SELECT date FROM table_17355408_7 WHERE high_assists = "Chauncey Billups (6)" | CREATE TABLE table_17355408_7 (date VARCHAR, high_assists VARCHAR) |
From writer Denne Bart Petitclerc, what is the maximum season number? | SELECT MAX(season__number) FROM table_19852975_4 WHERE writer_s_ = "Denne Bart Petitclerc" | CREATE TABLE table_19852975_4 (season__number INTEGER, writer_s_ VARCHAR) |
Name the man of the match for 24th | SELECT man_of_the_match FROM table_17120964_5 WHERE date = "24th" | CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, date VARCHAR) |
Opponents of sheffield wednesday had what date? | SELECT date FROM table_name_63 WHERE opponents = "sheffield wednesday" | CREATE TABLE table_name_63 (date VARCHAR, opponents VARCHAR) |
when is the hire date for those employees whose first name does not containing the letter M? | SELECT hire_date FROM employees WHERE NOT first_name LIKE '%M%' | CREATE TABLE employees (hire_date VARCHAR, first_name VARCHAR) |
What is the date when the Lakers were the home team? | SELECT date FROM table_name_1 WHERE home = "lakers" | CREATE TABLE table_name_1 (date VARCHAR, home VARCHAR) |
What is maximum and minimum death toll caused each time? | SELECT MAX(killed), MIN(killed) FROM death | CREATE TABLE death (killed INTEGER) |
What was the score of the match played on 14 October 1998, resulting in more than 10 goals? | SELECT score FROM table_name_59 WHERE date = "14 october 1998" AND goal > 10 | CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, goal VARCHAR) |
Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo? | SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)" | CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR) |
What driver was the winner when constructor was Maserati at the Monaco grand prix? | SELECT winning_driver FROM table_name_36 WHERE constructor = "maserati" AND race = "monaco grand prix" | CREATE TABLE table_name_36 (winning_driver VARCHAR, constructor VARCHAR, race VARCHAR) |
In 2009, how many were runner-up? | SELECT COUNT(runner_up) FROM table_18828487_1 WHERE year = 2009 | CREATE TABLE table_18828487_1 (runner_up VARCHAR, year VARCHAR) |
Tell me the games for men's 5000 metres | SELECT games FROM table_name_18 WHERE event = "men's 5000 metres" | CREATE TABLE table_name_18 (games VARCHAR, event VARCHAR) |
What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July? | SELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = "10 july - 24 july" | CREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR) |
What is the market value in billions when the assets totaled 1,380.88? | SELECT market_value__billion_$_ FROM table_1682026_7 WHERE assets__billion_$_ = "1,380.88" | CREATE TABLE table_1682026_7 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) |
Name the george bush for ronald reagan of 43% | SELECT george_h_w_bush FROM table_name_59 WHERE ronald_reagan = "43%" | CREATE TABLE table_name_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR) |
How many seats does the election with the outcome of election of minority in parliament and 186,226 PNC votes have? | SELECT seats FROM table_name_86 WHERE outcome_of_election = "minority in parliament" AND number_of_pnc_votes = "186,226" | CREATE TABLE table_name_86 (seats VARCHAR, outcome_of_election VARCHAR, number_of_pnc_votes VARCHAR) |
Show the name of the shop that have the largest quantity of devices in stock. | SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1 | CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR) |
Player of mike o'quinn, and a Round smaller than 15 had what lowest pick? | SELECT MIN(pick) FROM table_name_30 WHERE player = "mike o'quinn" AND round < 15 | CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR, round VARCHAR) |
Name the date for result loss for duke | SELECT date FROM table_21092444_1 WHERE result = "Loss" AND opponent = "Duke" | CREATE TABLE table_21092444_1 (date VARCHAR, result VARCHAR, opponent VARCHAR) |
Tell me the lowest pick number for new england revolution | SELECT MIN(pick__number) FROM table_name_84 WHERE mls_team = "new england revolution" | CREATE TABLE table_name_84 (pick__number INTEGER, mls_team VARCHAR) |
what is 2010 when 2009 is w and 2007 is qf? | SELECT 2010 FROM table_name_8 WHERE 2009 = "w" AND 2007 = "qf" | CREATE TABLE table_name_8 (Id VARCHAR) |
What is the D 46 √ when the D 44 √ is ← majority? | SELECT d_46_√ FROM table_name_3 WHERE d_44_√ = "← majority" | CREATE TABLE table_name_3 (d_46_√ VARCHAR, d_44_√ VARCHAR) |
What grid for denny hulme? | SELECT grid FROM table_name_12 WHERE driver = "denny hulme" | CREATE TABLE table_name_12 (grid VARCHAR, driver VARCHAR) |
What is the total number of draws when there is 1 Win, and less than 1728 against matches? | SELECT COUNT(draws) FROM table_name_41 WHERE wins = 1 AND against < 1728 | CREATE TABLE table_name_41 (draws VARCHAR, wins VARCHAR, against VARCHAR) |
How much time, in minutes, did Chanel Chisholm play? | SELECT COUNT(minutes) FROM table_22993636_5 WHERE player = "Chanel Chisholm" | CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR) |
What place is associated with under 28 points, under 11 games lost, and under 18 games played? | SELECT SUM(place) FROM table_name_71 WHERE points < 28 AND lost < 11 AND played < 18 | CREATE TABLE table_name_71 (place INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR) |
I want to know the away team score for vfl park venue | SELECT away_team AS score FROM table_name_82 WHERE venue = "vfl park" | CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR) |
What is the difference related to 2 losses and fewer than 10 points? | SELECT points_difference FROM table_name_51 WHERE lost = 2 AND points < 10 | CREATE TABLE table_name_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR) |
How many discs for the complete 4th series? | SELECT MAX(_number_of_discs) FROM table_17798548_4 WHERE season = "The Complete 4th Series" | CREATE TABLE table_17798548_4 (_number_of_discs INTEGER, season VARCHAR) |
Who was the director where the role was Fred Ayres? | SELECT director FROM table_name_13 WHERE role = "fred ayres" | CREATE TABLE table_name_13 (director VARCHAR, role VARCHAR) |
How many grids had a Time/Retired of +4 laps? | SELECT COUNT(grid) FROM table_name_72 WHERE time_retired = "+4 laps" | CREATE TABLE table_name_72 (grid VARCHAR, time_retired VARCHAR) |
Which team got a Behind outcome and had an opponent of Brisbane Bears? | SELECT team FROM table_name_86 WHERE outcome = "behind" AND opponent = "brisbane bears" | CREATE TABLE table_name_86 (team VARCHAR, outcome VARCHAR, opponent VARCHAR) |
How many papers are published in total? | SELECT COUNT(*) FROM papers | CREATE TABLE papers (Id VARCHAR) |
Name the episode with maritza reveron | SELECT episode FROM table_2140071_10 WHERE coach = "Maritza Reveron" | CREATE TABLE table_2140071_10 (episode VARCHAR, coach VARCHAR) |
Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north? | SELECT winning_party_2003 FROM table_name_62 WHERE constituency = "aberdeen north" | CREATE TABLE table_name_62 (winning_party_2003 VARCHAR, constituency VARCHAR) |
What is the average no opinion score during 1954 November that is more favorable than 35? | SELECT AVG(no_opinion) FROM table_name_94 WHERE date = "1954 november" AND favorable > 35 | CREATE TABLE table_name_94 (no_opinion INTEGER, date VARCHAR, favorable VARCHAR) |
What is Pro Debut, when Tournament is greater than 11, and when Highest Rank is "Maegashira 1"? | SELECT pro_debut FROM table_name_68 WHERE tournaments > 11 AND highest_rank = "maegashira 1" | CREATE TABLE table_name_68 (pro_debut VARCHAR, tournaments VARCHAR, highest_rank VARCHAR) |
What is the score of the match with deportes savio as the away team? | SELECT score FROM table_name_57 WHERE away = "deportes savio" | CREATE TABLE table_name_57 (score VARCHAR, away VARCHAR) |
Name The Title which has a Track number of 07, and a Record label of emi on 21 april 2006? | SELECT title FROM table_name_73 WHERE track_number = "07" AND record_label = "emi" AND release_date = "21 april 2006" | CREATE TABLE table_name_73 (title VARCHAR, release_date VARCHAR, track_number VARCHAR, record_label VARCHAR) |
In the race with a winning time of 4:17:18, how many laps were run? | SELECT laps FROM table_2241841_1 WHERE race_time = "4:17:18" | CREATE TABLE table_2241841_1 (laps VARCHAR, race_time VARCHAR) |
Name the score for 7 may 2000 | SELECT score FROM table_name_18 WHERE date = "7 may 2000" | CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR) |
When was the person(s) who were canonised before 1988 beatified? | SELECT beatified FROM table_name_17 WHERE canonised < 1988 | CREATE TABLE table_name_17 (beatified VARCHAR, canonised INTEGER) |
Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28) | SELECT goals FROM table_name_57 WHERE since < 2007 AND app_gs_sub_ = "97 (69/28)" | CREATE TABLE table_name_57 (goals VARCHAR, since VARCHAR, app_gs_sub_ VARCHAR) |
What is the total number of Distance ( ly ), when Constellation is "Draco"? | SELECT COUNT(distance___ly__) FROM table_name_34 WHERE constellation = "draco" | CREATE TABLE table_name_34 (distance___ly__ VARCHAR, constellation VARCHAR) |
How did Hamza Kramou fare in the semifinals? | SELECT semifinals FROM table_17427004_7 WHERE athlete = "Hamza Kramou" | CREATE TABLE table_17427004_7 (semifinals VARCHAR, athlete VARCHAR) |
What is the 1st leg of the team with a 2-1 agg.? | SELECT 1 AS st_leg FROM table_name_13 WHERE agg = "2-1" | CREATE TABLE table_name_13 (agg VARCHAR) |
What is the school/country of the player with 337 assists? | SELECT school_country FROM table_name_48 WHERE asts = 337 | CREATE TABLE table_name_48 (school_country VARCHAR, asts VARCHAR) |
What was the date of the match at venue A with the celtic as the opponent? | SELECT date FROM table_name_41 WHERE venue = "a" AND opponent = "celtic" | CREATE TABLE table_name_41 (date VARCHAR, venue VARCHAR, opponent VARCHAR) |
What is IATA, when ICAO is "Hesh"? | SELECT iata FROM table_name_35 WHERE icao = "hesh" | CREATE TABLE table_name_35 (iata VARCHAR, icao VARCHAR) |
Which country has a Lead of sarah wazney? | SELECT country FROM table_name_50 WHERE lead = "sarah wazney" | CREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR) |
How much money, in millions, is paid to Infotalent? | SELECT amount__millions_ FROM table_name_92 WHERE payee = "infotalent" | CREATE TABLE table_name_92 (amount__millions_ VARCHAR, payee VARCHAR) |
which tournament was the champion nick saviano florin segărceanu 6–3, 6–4? | SELECT tournament FROM table_29296103_10 WHERE champion = "Nick Saviano Florin Segărceanu 6–3, 6–4" | CREATE TABLE table_29296103_10 (tournament VARCHAR, champion VARCHAR) |
What is the most lanes used that had a winner from Ireland? | SELECT MAX(lane) FROM table_name_83 WHERE country = "ireland" | CREATE TABLE table_name_83 (lane INTEGER, country VARCHAR) |
What is the largest number of Games Played with Losses of 3, and more Wins than 5? | SELECT MAX(games_played) FROM table_name_40 WHERE losses = 3 AND wins > 5 | CREATE TABLE table_name_40 (games_played INTEGER, losses VARCHAR, wins VARCHAR) |
What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008? | SELECT region_2__uk_ FROM table_240936_2 WHERE region_4__australia_ = "July 31, 2008" | CREATE TABLE table_240936_2 (region_2__uk_ VARCHAR, region_4__australia_ VARCHAR) |
what are all the gtc winners for pole position no. 21 team modena | SELECT gtc_winner FROM table_13079788_3 WHERE pole_position = "No. 21 Team Modena" | CREATE TABLE table_13079788_3 (gtc_winner VARCHAR, pole_position VARCHAR) |
What is the Rank of the Swimmer in Lane 5? | SELECT AVG(rank) FROM table_name_16 WHERE lane = 5 | CREATE TABLE table_name_16 (rank INTEGER, lane VARCHAR) |
Who won the French Open in 1999? | SELECT player FROM table_197638_6 WHERE french_open = 1999 | CREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR) |
What is the name of the player when n is 28? | SELECT name FROM table_22810095_8 WHERE n = 28 | CREATE TABLE table_22810095_8 (name VARCHAR, n VARCHAR) |
In what arena was the game against the Sharks played? | SELECT arena FROM table_name_33 WHERE opponent = "sharks" | CREATE TABLE table_name_33 (arena VARCHAR, opponent VARCHAR) |
How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008? | SELECT COUNT(oct_2008) FROM table_23680576_2 WHERE aug_2008 = "30.8%" | CREATE TABLE table_23680576_2 (oct_2008 VARCHAR, aug_2008 VARCHAR) |
What are the number of floors for the building of td building redevelopment (office)? | SELECT AVG(floors) FROM table_name_45 WHERE building = "td building redevelopment (office)" | CREATE TABLE table_name_45 (floors INTEGER, building VARCHAR) |
Who was the home team of the game where Footscray is the away team? | SELECT home_team AS score FROM table_name_52 WHERE away_team = "footscray" | CREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR) |
When was the earliest founded university? | SELECT MIN(founded) FROM table_261941_1 | CREATE TABLE table_261941_1 (founded INTEGER) |
what is the gdp ( bn ) where capital is capital? | SELECT gdp___bn__ FROM table_12108_1 WHERE "capital" = "capital" | CREATE TABLE table_12108_1 (gdp___bn__ VARCHAR) |
Name the sum of points with games less than 5 | SELECT SUM(points) FROM table_name_25 WHERE games < 5 | CREATE TABLE table_name_25 (points INTEGER, games INTEGER) |
Which DRG number has xxx railway number? | SELECT drg_number_s_ FROM table_name_32 WHERE railway_number_s_ = "xxx" | CREATE TABLE table_name_32 (drg_number_s_ VARCHAR, railway_number_s_ VARCHAR) |
What is Tie No., when Away Team is "Manchester United"? | SELECT tie_no FROM table_name_32 WHERE away_team = "manchester united" | CREATE TABLE table_name_32 (tie_no VARCHAR, away_team VARCHAR) |
What's the room temperature with no toxic materials and no ln production? | SELECT room_temperature FROM table_name_67 WHERE in_production = "no" AND toxic_materials = "no" | CREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR) |
What team was opponen in baltimore, at 2:00pm, on 4/06/08? | SELECT opponent FROM table_name_11 WHERE city = "baltimore" AND time = "2:00pm" AND date = "4/06/08" | CREATE TABLE table_name_11 (opponent VARCHAR, date VARCHAR, city VARCHAR, time VARCHAR) |
What is the Saffir-Simpson category for the hurricane named Bonnie? | SELECT saffir_simpson_category FROM table_15416002_1 WHERE name = "Bonnie" | CREATE TABLE table_15416002_1 (saffir_simpson_category VARCHAR, name VARCHAR) |
What day was the game held at Firhill against AYR United? | SELECT date FROM table_name_60 WHERE venue = "firhill" AND opponent = "ayr united" | CREATE TABLE table_name_60 (date VARCHAR, venue VARCHAR, opponent VARCHAR) |
What country is the film directed by Jean-Luc Godard in French from? | SELECT country FROM table_name_19 WHERE language = "french" AND director = "jean-luc godard" | CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR) |
Show all statement id and the number of accounts for each statement. | SELECT STATEMENT_ID, COUNT(*) FROM Accounts GROUP BY STATEMENT_ID | CREATE TABLE Accounts (STATEMENT_ID VARCHAR) |
What is the name of the home team that played Carlton? | SELECT home_team FROM table_name_86 WHERE away_team = "carlton" | CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) |
what's the listing date for the verdigris creek bridge in royal of antelope county? | SELECT listed FROM table_name_83 WHERE county = "antelope" AND location = "royal" AND name = "verdigris creek bridge" | CREATE TABLE table_name_83 (listed VARCHAR, name VARCHAR, county VARCHAR, location VARCHAR) |
What was the score when the home team was Stockport County? | SELECT score FROM table_name_73 WHERE home_team = "stockport county" | CREATE TABLE table_name_73 (score VARCHAR, home_team VARCHAR) |
Name the number of series episode for s piston | SELECT COUNT(series_ep) FROM table_15187735_8 WHERE segment_a = "s Piston" | CREATE TABLE table_15187735_8 (series_ep VARCHAR, segment_a VARCHAR) |
Find the title and score of the movie with the lowest rating among all movies directed by each director. | SELECT T2.title, T1.stars, T2.director, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.director | CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR) |
Who is the successor for massachusetts 8th? | SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 8th" | CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR) |
What is Score, when Outcome is Winner, and when Opponent is Angela Haynes? | SELECT score FROM table_name_69 WHERE outcome = "winner" AND opponent = "angela haynes" | CREATE TABLE table_name_69 (score VARCHAR, outcome VARCHAR, opponent VARCHAR) |
Name the Comp which has a Name of smith? | SELECT comp FROM table_name_71 WHERE name = "smith" | CREATE TABLE table_name_71 (comp VARCHAR, name VARCHAR) |
Which details of journey had simon hoggart as a narrator? | SELECT details_of_journey FROM table_name_48 WHERE narrator = "simon hoggart" | CREATE TABLE table_name_48 (details_of_journey VARCHAR, narrator VARCHAR) |
Name the To par for leland gibson | SELECT to_par FROM table_name_59 WHERE player = "leland gibson" | CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR) |
What is Winner, when Win # is greater than 1, and when Points is less than 94? | SELECT winner FROM table_name_76 WHERE win__number > 1 AND points < 94 | CREATE TABLE table_name_76 (winner VARCHAR, win__number VARCHAR, points VARCHAR) |
what is the rank when the total is 39 in the county of dublin and the matches is less than 4? | SELECT AVG(rank) FROM table_name_31 WHERE total = 39 AND county = "dublin" AND matches < 4 | CREATE TABLE table_name_31 (rank INTEGER, matches VARCHAR, total VARCHAR, county VARCHAR) |
What grade is Kyle in? | SELECT grade FROM Highschooler WHERE name = "Kyle" | CREATE TABLE Highschooler (grade VARCHAR, name VARCHAR) |
What is the 2006 censusn population when is the administrative capital is Eleme? | SELECT COUNT(census_2006_population) FROM table_28891101_3 WHERE administrative_capital = "Eleme" | CREATE TABLE table_28891101_3 (census_2006_population VARCHAR, administrative_capital VARCHAR) |
Where was the match that resulted in a win in 4:16 held? | SELECT location FROM table_name_44 WHERE res = "win" AND time = "4:16" | CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, time VARCHAR) |
Find the year and semester when offers the largest number of courses. | SELECT semester, YEAR FROM SECTION GROUP BY semester, YEAR ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE SECTION (semester VARCHAR, YEAR VARCHAR) |
What was the result when Dundee were the Opponent at Venue A on 6 September 1986? | SELECT result FROM table_name_9 WHERE opponent = "dundee" AND venue = "a" AND date = "6 september 1986" | CREATE TABLE table_name_9 (result VARCHAR, date VARCHAR, opponent VARCHAR, venue VARCHAR) |
Name the saka era for sign of zodiac being pisces | SELECT saka_era FROM table_169955_1 WHERE sign_of_zodiac = "Pisces" | CREATE TABLE table_169955_1 (saka_era VARCHAR, sign_of_zodiac VARCHAR) |
Which Frequency MHz has a ERP W of 250? | SELECT MAX(frequency_mhz) FROM table_name_36 WHERE erp_w = 250 | CREATE TABLE table_name_36 (frequency_mhz INTEGER, erp_w VARCHAR) |
What is the emissions CO2 with a max speed of km/h (mph) of the car model Panamera 4s? | SELECT emissions_co2 FROM table_name_76 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s" | CREATE TABLE table_name_76 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR) |
What is 2009, when Year is "Highest Mean Annual Temperature"? | SELECT 2009 FROM table_name_31 WHERE year = "highest mean annual temperature" | CREATE TABLE table_name_31 (year VARCHAR) |
What is the highest number of points for a position less than 3 and less than 1 loss? | SELECT MAX(points) FROM table_name_19 WHERE position < 3 AND lost < 1 | CREATE TABLE table_name_19 (points INTEGER, position VARCHAR, lost VARCHAR) |
WHAT IS THE AWAY WITH HOME AT 2-2? | SELECT away FROM table_name_15 WHERE home = "2-2" | CREATE TABLE table_name_15 (away VARCHAR, home VARCHAR) |
When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th? | SELECT sat_29_aug FROM table_23465864_3 WHERE rider = "Roy Richardson 476cc Aermacchi" | CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR) |
Subsets and Splits