question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What date is aston villa away? | CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_67 WHERE away_team = "aston villa" |
What is the type of the player moving from belgrano? | CREATE TABLE table_name_11 (type VARCHAR, moving_from VARCHAR) | SELECT type FROM table_name_11 WHERE moving_from = "belgrano" |
What is the series number for the episode directed by jay sandrich that aired October 23, 1986? | CREATE TABLE table_2818164_4 (no_in_series INTEGER, directed_by VARCHAR, original_air_date VARCHAR) | SELECT MIN(no_in_series) FROM table_2818164_4 WHERE directed_by = "Jay Sandrich" AND original_air_date = "October 23, 1986" |
WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION? | CREATE TABLE table_21804557_18 (stage__winner_ VARCHAR, metas_volantes_classification VARCHAR) | SELECT stage__winner_ FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini" |
What dates did Chris Bosh (18) score the high points? | CREATE TABLE table_17323092_8 (date VARCHAR, high_points VARCHAR) | SELECT date FROM table_17323092_8 WHERE high_points = "Chris Bosh (18)" |
What was the Money ($) amount for Lloyd Mangrum? | CREATE TABLE table_name_19 (money___$__ VARCHAR, player VARCHAR) | SELECT money___$__ FROM table_name_19 WHERE player = "lloyd mangrum" |
What are the distinct states and create time of all votes? | CREATE TABLE votes (state VARCHAR, created VARCHAR) | SELECT DISTINCT state, created FROM votes |
In what draft round in 2012 did a player from Rio Hondo get drafted? | CREATE TABLE table_20589703_2 (draft_round VARCHAR, college VARCHAR, draft_year VARCHAR) | SELECT draft_round FROM table_20589703_2 WHERE college = "Rio Hondo" AND draft_year = 2012 |
What is the highest sample size administered on October 18? | CREATE TABLE table_name_35 (sample_size INTEGER, date_s__administered VARCHAR) | SELECT MAX(sample_size) FROM table_name_35 WHERE date_s__administered = "october 18" |
What is the Rank of the building that has a Highest floor larger than 50? | CREATE TABLE table_name_57 (rank VARCHAR, highest_floor INTEGER) | SELECT rank FROM table_name_57 WHERE highest_floor > 50 |
How many positions have round 3? | CREATE TABLE table_20872722_1 (position VARCHAR, round VARCHAR) | SELECT COUNT(position) FROM table_20872722_1 WHERE round = 3 |
What was the attendance for the game against miami dolphins? | CREATE TABLE table_name_68 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_68 WHERE opponent = "miami dolphins" |
How many picks does Matt Moran have altogether after round 6? | CREATE TABLE table_name_72 (pick VARCHAR, name VARCHAR, round VARCHAR) | SELECT COUNT(pick) FROM table_name_72 WHERE name = "matt moran" AND round > 6 |
What is the main legion base that disbanded 70 xx? | CREATE TABLE table_242785_3 (main_legion_base VARCHAR, date_disband VARCHAR) | SELECT main_legion_base FROM table_242785_3 WHERE date_disband = "70 XX" |
What is the date of the game that had a crowd larger than 25,000? | CREATE TABLE table_name_3 (date VARCHAR, crowd INTEGER) | SELECT date FROM table_name_3 WHERE crowd > 25 OFFSET 000 |
Which Losses have Draws larger than 0? | CREATE TABLE table_name_28 (losses INTEGER, draws INTEGER) | SELECT MAX(losses) FROM table_name_28 WHERE draws > 0 |
What is the total number of Grid, when Time is +43.191, and when Laps is less than 22? | CREATE TABLE table_name_51 (grid VARCHAR, time VARCHAR, laps VARCHAR) | SELECT COUNT(grid) FROM table_name_51 WHERE time = "+43.191" AND laps < 22 |
What date was the race at Oran Park ran? | CREATE TABLE table_name_25 (date VARCHAR, race_title VARCHAR) | SELECT date FROM table_name_25 WHERE race_title = "oran park" |
What is the average SP+FS for Denise Biellmann, and a Rank larger than 5? | CREATE TABLE table_name_14 (fs VARCHAR, sp INTEGER, name VARCHAR, rank VARCHAR) | SELECT AVG(sp) + fs FROM table_name_14 WHERE name = "denise biellmann" AND rank > 5 |
What is the average attendance for all events held at Palmerston Park venue? | CREATE TABLE table_name_24 (attendance INTEGER, venue VARCHAR) | SELECT AVG(attendance) FROM table_name_24 WHERE venue = "palmerston park" |
What is the football conference for Henniker, New Hampshire>? | CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR) | SELECT football_conference FROM table_261927_2 WHERE location = "Henniker, New Hampshire" |
What is the Place of the Player from New Zealand? | CREATE TABLE table_name_18 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_18 WHERE country = "new zealand" |
When 10% is the percentage of electricity reduction how many sets of universities are there? | CREATE TABLE table_29538735_1 (universities VARCHAR, _percentage_electricity_reduction VARCHAR) | SELECT COUNT(universities) FROM table_29538735_1 WHERE _percentage_electricity_reduction = "10%" |
How many 1st prizes have a Date of aug 17? | CREATE TABLE table_name_69 (date VARCHAR) | SELECT COUNT(1 AS st_prize___) AS $__ FROM table_name_69 WHERE date = "aug 17" |
What is the highest bronze when the silver was 3 and the total was larger than 5? | CREATE TABLE table_name_20 (bronze INTEGER, silver VARCHAR, total VARCHAR) | SELECT MAX(bronze) FROM table_name_20 WHERE silver = 3 AND total > 5 |
Name the score for denver | CREATE TABLE table_27722734_11 (score VARCHAR, team VARCHAR) | SELECT score FROM table_27722734_11 WHERE team = "Denver" |
What is the Intercontinental Cup 1993 result for a Supercopa Sudamericana 1993 result of round of 16? | CREATE TABLE table_name_23 (intercontinental_cup_1993 VARCHAR, supercopa_sudamericana_1993 VARCHAR) | SELECT intercontinental_cup_1993 FROM table_name_23 WHERE supercopa_sudamericana_1993 = "round of 16" |
What is the film title used for nomination with the original title sedamdeset i dva dana? | CREATE TABLE table_name_65 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_65 WHERE original_title = "sedamdeset i dva dana" |
Which school(s) had a wide receiver drafted in round 4? | CREATE TABLE table_name_16 (school_club_team VARCHAR, round VARCHAR, position VARCHAR) | SELECT school_club_team FROM table_name_16 WHERE round > 4 AND position = "wide receiver" |
When did the rank 9 building got completed? | CREATE TABLE table_name_64 (completed VARCHAR, rank VARCHAR) | SELECT completed FROM table_name_64 WHERE rank = "9" |
Which Points has a Team of são paulo athletic, and a Position larger than 5? | CREATE TABLE table_name_15 (points INTEGER, team VARCHAR, position VARCHAR) | SELECT SUM(points) FROM table_name_15 WHERE team = "são paulo athletic" AND position > 5 |
What was the last episode featuring Rob Estes? | CREATE TABLE table_name_93 (final_episode VARCHAR, actor VARCHAR) | SELECT final_episode FROM table_name_93 WHERE actor = "rob estes" |
What did Phil Rodgers score? | CREATE TABLE table_name_6 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_6 WHERE player = "phil rodgers" |
What is the area for Worth Parish? | CREATE TABLE table_name_22 (area__hectare_ VARCHAR, parish VARCHAR) | SELECT area__hectare_ FROM table_name_22 WHERE parish = "worth" |
Which network returns april 3, and a Show of shop 'til you drop? | CREATE TABLE table_name_35 (new_returning_same_network VARCHAR, returning VARCHAR, show VARCHAR) | SELECT new_returning_same_network FROM table_name_35 WHERE returning = "april 3" AND show = "shop 'til you drop" |
What player placed t10? | CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_17 WHERE place = "t10" |
What is the total number of played for the goals against over 44 and a goal difference of 11? | CREATE TABLE table_name_68 (played VARCHAR, goal_difference VARCHAR, goals_against VARCHAR) | SELECT COUNT(played) FROM table_name_68 WHERE goal_difference = 11 AND goals_against > 44 |
What college team did Ryan Golden come from? | CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_2781227_7 WHERE player = "Ryan Golden" |
how many times was the candidates dan mica (d) 55.3% bill james (r) 44.7%? | CREATE TABLE table_1341663_10 (incumbent VARCHAR, candidates VARCHAR) | SELECT COUNT(incumbent) FROM table_1341663_10 WHERE candidates = "Dan Mica (D) 55.3% Bill James (R) 44.7%" |
Which Country is the Play Electra and Orestes, The Trial from? | CREATE TABLE table_name_82 (country VARCHAR, play VARCHAR) | SELECT country FROM table_name_82 WHERE play = "electra and orestes, the trial" |
What is the total number of Viewers with a Rank (Night) of n/a, and a Timeslot of 8:30 p.m.? | CREATE TABLE table_name_80 (viewers__m_ VARCHAR, rank__night_ VARCHAR, timeslot VARCHAR) | SELECT COUNT(viewers__m_) FROM table_name_80 WHERE rank__night_ = "n/a" AND timeslot = "8:30 p.m." |
Show the names of customers who have at least 2 mailshots with outcome code 'Order'. | CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR) | SELECT T2.customer_name FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE outcome_code = 'Order' GROUP BY T1.customer_id HAVING COUNT(*) >= 2 |
What is the age of student Linda Smith? | CREATE TABLE Student (Age VARCHAR, Fname VARCHAR, Lname VARCHAR) | SELECT Age FROM Student WHERE Fname = "Linda" AND Lname = "Smith" |
The record of 35-31 has what score? | CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_52 WHERE record = "35-31" |
Which driver won when o.m. was the winning constructor ? | CREATE TABLE table_name_96 (winning_driver VARCHAR, winning_constructor VARCHAR) | SELECT winning_driver FROM table_name_96 WHERE winning_constructor = "o.m." |
What is the highest no.? | CREATE TABLE table_1924975_1 (no INTEGER) | SELECT MAX(no) FROM table_1924975_1 |
What are all the AAA classes in the school years of 2005-06? | CREATE TABLE table_14603212_5 (class_aAA VARCHAR, school_year VARCHAR) | SELECT class_aAA FROM table_14603212_5 WHERE school_year = "2005-06" |
what is the country when the player is bill nary? | CREATE TABLE table_name_7 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_7 WHERE player = "bill nary" |
Out of the teams that have scored lower than 25 points, have a total of points less than 20, and a position larger than 8, which has the lowest amount of draws? | CREATE TABLE table_name_17 (draws INTEGER, position VARCHAR, scored VARCHAR, points VARCHAR) | SELECT MIN(draws) FROM table_name_17 WHERE scored < 25 AND points = 20 AND position > 8 |
How many platinum points were awarded when 6 gold points were awarded? | CREATE TABLE table_11254821_2 (points_awarded__platinum_ INTEGER, points_awarded__gold_ VARCHAR) | SELECT MAX(points_awarded__platinum_) FROM table_11254821_2 WHERE points_awarded__gold_ = 6 |
What is the release date of production number 1327? | CREATE TABLE table_name_60 (release_date VARCHAR, production_number VARCHAR) | SELECT release_date FROM table_name_60 WHERE production_number = 1327 |
If the amount of viewers is 5.14 million and the rating/share is 2.0/6, what is the ranking? | CREATE TABLE table_19805130_3 (rating VARCHAR, viewers__millions_ VARCHAR) | SELECT rating FROM table_19805130_3 WHERE rating / SHARE(18 - 49) = 2.0 / 6 AND viewers__millions_ = "5.14" |
What is the average when the BBI is 3/27? | CREATE TABLE table_28846752_9 (average VARCHAR, bbi VARCHAR) | SELECT average FROM table_28846752_9 WHERE bbi = "3/27" |
What is the name of the place where area is 578.28 square km? | CREATE TABLE table_176529_2 (official_name VARCHAR, area_km_2 VARCHAR) | SELECT official_name FROM table_176529_2 WHERE area_km_2 = "578.28" |
What is the game named derartu tulu category:articles with hcards? | CREATE TABLE table_name_15 (games VARCHAR, name VARCHAR) | SELECT games FROM table_name_15 WHERE name = "derartu tulu category:articles with hcards" |
What award was Trent Tesoro nominated for in 2007? | CREATE TABLE table_name_2 (award VARCHAR, result VARCHAR, year VARCHAR) | SELECT award FROM table_name_2 WHERE result = "nominated" AND year = 2007 |
What date was the release that was Wrongun as the label? | CREATE TABLE table_name_66 (date VARCHAR, label VARCHAR) | SELECT date FROM table_name_66 WHERE label = "wrongun" |
What is the against for the opposing team of Wales with the status of Five Nations? | CREATE TABLE table_name_52 (against INTEGER, status VARCHAR, opposing_teams VARCHAR) | SELECT AVG(against) FROM table_name_52 WHERE status = "five nations" AND opposing_teams = "wales" |
What was the score of the game that had a loss of Wegman (2-6)? | CREATE TABLE table_name_7 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_7 WHERE loss = "wegman (2-6)" |
What's the season number of the episode with series number US6? | CREATE TABLE table_19897294_10 (no_in_season INTEGER, no_in_series VARCHAR) | SELECT MIN(no_in_season) FROM table_19897294_10 WHERE no_in_series = "US6" |
Which person drove a Reynard 2ki with a Honda Hrk engine? | CREATE TABLE table_name_95 (races VARCHAR, chassis VARCHAR, engine VARCHAR) | SELECT races FROM table_name_95 WHERE chassis = "reynard 2ki" AND engine = "honda hrk" |
What is the smallest crowd size for away team Fitzroy? | CREATE TABLE table_name_40 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_40 WHERE away_team = "fitzroy" |
What manuals have the opus of 135? | CREATE TABLE table_name_31 (manuals VARCHAR, opus VARCHAR) | SELECT manuals FROM table_name_31 WHERE opus = "135" |
What is the record for November 26, 1961? | CREATE TABLE table_17765888_1 (record VARCHAR, date VARCHAR) | SELECT record FROM table_17765888_1 WHERE date = "November 26, 1961" |
Name the country when dar is 16:9 for italian english for disney xd +2 | CREATE TABLE table_15887683_9 (country VARCHAR, television_service VARCHAR, dar VARCHAR, language VARCHAR) | SELECT country FROM table_15887683_9 WHERE dar = "16:9" AND language = "Italian English" AND television_service = "Disney XD +2" |
What's the smallest draw of Warrnambool when the against was less than 1299, more than 7 wins, and less than 2 losses? | CREATE TABLE table_name_29 (draws INTEGER, losses VARCHAR, club VARCHAR, against VARCHAR, wins VARCHAR) | SELECT MIN(draws) FROM table_name_29 WHERE against < 1299 AND wins > 7 AND club = "warrnambool" AND losses < 2 |
What car had the fewest laps with a qual of 138.750? | CREATE TABLE table_name_16 (laps INTEGER, qual VARCHAR) | SELECT MIN(laps) FROM table_name_16 WHERE qual = "138.750" |
How many goals were there in game 47? | CREATE TABLE table_name_29 (goals VARCHAR, games VARCHAR) | SELECT goals FROM table_name_29 WHERE games = "47" |
Which country scored 69-67-69-70=275? | CREATE TABLE table_name_22 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_22 WHERE score = 69 - 67 - 69 - 70 = 275 |
who is the away team when the tie no is more than 13 and the home team is team bath? | CREATE TABLE table_name_30 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_30 WHERE tie_no > 13 AND home_team = "team bath" |
Show the delegates and the names of the party they belong to. | CREATE TABLE election (Delegate VARCHAR, Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR) | SELECT T1.Delegate, T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID |
What is the number for the player that has a k position? | CREATE TABLE table_name_77 (number VARCHAR, position VARCHAR) | SELECT number FROM table_name_77 WHERE position = "k" |
Name the total number of result for mississippi 4? | CREATE TABLE table_1342393_23 (result VARCHAR, district VARCHAR) | SELECT COUNT(result) FROM table_1342393_23 WHERE district = "Mississippi 4" |
What is the total number of medals won by teams that won more than 11 bronze medals? | CREATE TABLE table_name_41 (total VARCHAR, bronze INTEGER) | SELECT COUNT(total) FROM table_name_41 WHERE bronze > 11 |
What is the average Points when the artist is kamil mikulčík and nela, and the Place is larger than 18? | CREATE TABLE table_name_42 (points INTEGER, artist VARCHAR, place VARCHAR) | SELECT AVG(points) FROM table_name_42 WHERE artist = "kamil mikulčík and nela" AND place > 18 |
Name the april for candice cassidy | CREATE TABLE table_name_41 (april VARCHAR, june VARCHAR) | SELECT april FROM table_name_41 WHERE june = "candice cassidy" |
What number of voters did Queens have when Staten Island had 295 voters? | CREATE TABLE table_1108394_34 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR) | SELECT queens FROM table_1108394_34 WHERE richmond_[staten_is] = "295" |
How many sitting politicians were originally elected in 1972? | CREATE TABLE table_1341663_11 (incumbent VARCHAR, first_elected VARCHAR) | SELECT COUNT(incumbent) FROM table_1341663_11 WHERE first_elected = 1972 |
What is the date the high points was lamarcus aldridge (36)? | CREATE TABLE table_27734769_8 (date VARCHAR, high_points VARCHAR) | SELECT date FROM table_27734769_8 WHERE high_points = "LaMarcus Aldridge (36)" |
When there was a net gain/loss of +34, what was the percentage of seats that party held? | CREATE TABLE table_name_74 (_percentage_of_seats VARCHAR, net_gain_loss VARCHAR) | SELECT _percentage_of_seats FROM table_name_74 WHERE net_gain_loss = "+34" |
Which Score has a Year larger than 2004, and a Champion of gaël monfils? | CREATE TABLE table_name_68 (score VARCHAR, year VARCHAR, champion VARCHAR) | SELECT score FROM table_name_68 WHERE year > 2004 AND champion = "gaël monfils" |
List all high assists in series 2-3. | CREATE TABLE table_22654073_13 (high_assists VARCHAR, series VARCHAR) | SELECT high_assists FROM table_22654073_13 WHERE series = "2-3" |
What is the Revenues during Tenure 1854-1855? | CREATE TABLE table_name_43 (revenues VARCHAR, tenure VARCHAR) | SELECT revenues FROM table_name_43 WHERE tenure = "1854-1855" |
How many Grid has a Rider of ryuichi kiyonari? | CREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR) | SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari" |
Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car? | CREATE TABLE table_name_83 (pro_stock VARCHAR, top_fuel VARCHAR, funny_car VARCHAR) | SELECT pro_stock FROM table_name_83 WHERE top_fuel = "tony schumacher" AND funny_car = "tony pedregon" |
Who was the opponent at the game that had a record of 93-54? | CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_73 WHERE record = "93-54" |
What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind? | CREATE TABLE table_name_64 (county VARCHAR, peak VARCHAR, elevation__m_ VARCHAR, isolation__km_ VARCHAR) | SELECT county FROM table_name_64 WHERE elevation__m_ < 1833 AND isolation__km_ > 18 AND peak = "store lenangstind" |
What is the highest round of the player with a pick number lower than 34? | CREATE TABLE table_name_83 (round INTEGER, pick__number INTEGER) | SELECT MAX(round) FROM table_name_83 WHERE pick__number > 34 |
When 1472 was the elected when was the assembled? | CREATE TABLE table_1827690_4 (assembled VARCHAR, elected VARCHAR) | SELECT assembled FROM table_1827690_4 WHERE elected = "1472" |
How many points against does the club that has a try bonus of 6 and tries against of 54 have ? | CREATE TABLE table_name_92 (points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR) | SELECT points_against FROM table_name_92 WHERE try_bonus = "6" AND tries_against = "54" |
What is the chipset in the Precision 340 model that has the rambus memory and 400 or 533 FSB (MHz)? | CREATE TABLE table_name_17 (chipset VARCHAR, model VARCHAR, memory VARCHAR, fsb__mhz_ VARCHAR) | SELECT chipset FROM table_name_17 WHERE memory = "rambus" AND fsb__mhz_ = "400 or 533" AND model = "precision 340" |
What was the voting order when bunny carr was the commentator? | CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR) | SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr" |
When was the game at the North Shore Events Centre? | CREATE TABLE table_name_99 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_99 WHERE venue = "north shore events centre" |
Who got the loss on the game that ended in a 52-36 record? | CREATE TABLE table_name_22 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_22 WHERE record = "52-36" |
How many people were at the game that took place at the Kingdome? | CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_21 WHERE game_site = "the kingdome" |
What is the location of the Kkspe Foundation? | CREATE TABLE table_name_85 (location VARCHAR, foundation VARCHAR) | SELECT location FROM table_name_85 WHERE foundation = "kkspe" |
How many pageants were in san fernando, pampanga? | CREATE TABLE table_1825751_14 (pageant VARCHAR, hometown VARCHAR) | SELECT COUNT(pageant) FROM table_1825751_14 WHERE hometown = "San Fernando, Pampanga" |
Who has a grid smaller than 24, less than 61 laps, and a ferrari constructor? | CREATE TABLE table_name_74 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_74 WHERE grid < 24 AND laps < 61 AND constructor = "ferrari" |
Construction start of phase ii has what operation start? | CREATE TABLE table_name_51 (operation_start VARCHAR, construction_start VARCHAR) | SELECT operation_start FROM table_name_51 WHERE construction_start = "phase ii" |
What event had a record of 8–5–1? | CREATE TABLE table_name_33 (event VARCHAR, record VARCHAR) | SELECT event FROM table_name_33 WHERE record = "8–5–1" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.