question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What week was the Original artist, the police ? | CREATE TABLE table_name_5 (week VARCHAR, original_artist VARCHAR) | SELECT week FROM table_name_5 WHERE original_artist = "the police" |
What was the score of the game played at Harmon Stadium on February 24? | CREATE TABLE table_name_38 (score VARCHAR, site_stadium VARCHAR, date VARCHAR) | SELECT score FROM table_name_38 WHERE site_stadium = "harmon stadium" AND date = "february 24" |
Name the hull number of Commissioned– Decommissioned of 1973–1996 | CREATE TABLE table_name_29 (hull_no VARCHAR, commissioned__decommissioned VARCHAR) | SELECT hull_no FROM table_name_29 WHERE commissioned__decommissioned = "1973–1996" |
Who scored the most points? | CREATE TABLE table_14342367_11 (points INTEGER) | SELECT MAX(points) FROM table_14342367_11 |
What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5? | CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR) | SELECT round_of_16 FROM table_17289604_38 WHERE round_of_32 = "Koryttseva ( UKR ) W 2–6, 6–1, 7–5" |
What is the smallest number of medals a country with more than 14 silver has? | CREATE TABLE table_name_78 (total INTEGER, silver INTEGER) | SELECT MIN(total) FROM table_name_78 WHERE silver > 14 |
Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic | CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic" |
On what date was the game in Week 9 played? | CREATE TABLE table_name_70 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_70 WHERE week = 9 |
What country has t6 as the place, with seve ballesteros as the player? | CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_2 WHERE place = "t6" AND player = "seve ballesteros" |
What was the draw of Maggie Toal? | CREATE TABLE table_name_74 (draw INTEGER, artist VARCHAR) | SELECT AVG(draw) FROM table_name_74 WHERE artist = "maggie toal" |
Tell me the sum of week for result of l 24–21 | CREATE TABLE table_name_15 (week INTEGER, result VARCHAR) | SELECT SUM(week) FROM table_name_15 WHERE result = "l 24–21" |
When +18.1 is the ± yes side 2008 percentage what is the percentage of against? | CREATE TABLE table_20683381_3 (against___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) | SELECT against___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+18.1" |
Show the id and salary of Mark Young. | CREATE TABLE Employee (eid VARCHAR, salary VARCHAR, name VARCHAR) | SELECT eid, salary FROM Employee WHERE name = 'Mark Young' |
Who was the opponent on April 28? | CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_60 WHERE date = "april 28" |
On the date April 11, what were the high points? | CREATE TABLE table_name_71 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_71 WHERE date = "april 11" |
What is the sum of silver medals for teams with more than 14 total medals and more than 16 golds? | CREATE TABLE table_name_14 (silver INTEGER, total VARCHAR, gold VARCHAR) | SELECT SUM(silver) FROM table_name_14 WHERE total > 14 AND gold > 16 |
WHAT IS THE RESULT WITH A FILM TITLE FIREDANCER? | CREATE TABLE table_name_3 (result VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT result FROM table_name_3 WHERE film_title_used_in_nomination = "firedancer" |
How many games drawn when there are 78 losses and over 121 games played? | CREATE TABLE table_name_41 (drawn VARCHAR, lost VARCHAR, played VARCHAR) | SELECT COUNT(drawn) FROM table_name_41 WHERE lost = 78 AND played > 121 |
what is the original air date for julie warner? | CREATE TABLE table_26561498_1 (original_air_date VARCHAR, patient_portrayer VARCHAR) | SELECT original_air_date FROM table_26561498_1 WHERE patient_portrayer = "Julie Warner" |
What is the lowest crowd number at the venue MCG? | CREATE TABLE table_name_73 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_73 WHERE venue = "mcg" |
Show the types of schools that have two schools. | CREATE TABLE school (TYPE VARCHAR) | SELECT TYPE FROM school GROUP BY TYPE HAVING COUNT(*) = 2 |
What series was sorted at number 3? | CREATE TABLE table_1620397_5 (series_sorted VARCHAR, _number VARCHAR) | SELECT series_sorted FROM table_1620397_5 WHERE _number = 3 |
Find the personal name, family name, and author ID of the course author that teaches the most courses. | CREATE TABLE Courses (author_id VARCHAR); CREATE TABLE Course_Authors_and_Tutors (personal_name VARCHAR, family_name VARCHAR, author_id VARCHAR) | SELECT T1.personal_name, T1.family_name, T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id ORDER BY COUNT(*) DESC LIMIT 1 |
Show ids of students who play video game and play sports. | CREATE TABLE Plays_games (StuID VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR) | SELECT StuID FROM Sportsinfo INTERSECT SELECT StuID FROM Plays_games |
What is the record for the opponent Atlanta Hawks? | CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_9 WHERE opponent = "atlanta hawks" |
What is the largest gold number when the total is less than 3, the rank is 5, and the silver is more than 1? | CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR) | SELECT MAX(gold) FROM table_name_16 WHERE total < 3 AND rank = "5" AND silver > 1 |
What was the attendance on november 2, 2003? | CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_84 WHERE date = "november 2, 2003" |
What did the away team score when playing Footscray? | CREATE TABLE table_name_37 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_37 WHERE home_team = "footscray" |
What is every English translation when Tamil months is Mārkazhi, Tai? | CREATE TABLE table_1740431_3 (english_translation VARCHAR, tamil_months VARCHAR) | SELECT english_translation FROM table_1740431_3 WHERE tamil_months = "mārkazhi, tai" |
What is the least obesity rank for the state of Utah? | CREATE TABLE table_18958648_1 (obesity_rank INTEGER, state_and_district_of_columbia VARCHAR) | SELECT MIN(obesity_rank) FROM table_18958648_1 WHERE state_and_district_of_columbia = "Utah" |
What is the Player in the Int'l Debut of 1974? | CREATE TABLE table_name_41 (player VARCHAR, year VARCHAR) | SELECT player FROM table_name_41 WHERE year = "1974" |
Which Game has a Score of 122–125? | CREATE TABLE table_name_74 (game VARCHAR, score VARCHAR) | SELECT game FROM table_name_74 WHERE score = "122–125" |
Which Week has an Attendance larger than 65,070? | CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER) | SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070 |
What is the coding for hq021442 genbankid? | CREATE TABLE table_14332822_1 (coding VARCHAR, genbank_id VARCHAR) | SELECT coding FROM table_14332822_1 WHERE genbank_id = "HQ021442" |
Who were the opponents during the final when christina wheeler was partner? | CREATE TABLE table_name_87 (opponents_in_the_final VARCHAR, partner VARCHAR) | SELECT opponents_in_the_final FROM table_name_87 WHERE partner = "christina wheeler" |
What is the grand final dual television commentator status of the year when Amaury Vassili was the spokesperson? | CREATE TABLE table_name_52 (grand_final_dual_television_commentator VARCHAR, spokesperson VARCHAR) | SELECT grand_final_dual_television_commentator FROM table_name_52 WHERE spokesperson = "amaury vassili" |
What is the HDTV when the Package/Option is sky famiglia, and a Television service of boomerang +1? | CREATE TABLE table_name_67 (hdtv VARCHAR, package_option VARCHAR, television_service VARCHAR) | SELECT hdtv FROM table_name_67 WHERE package_option = "sky famiglia" AND television_service = "boomerang +1" |
What team did the home team play on September 4? | CREATE TABLE table_name_2 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_2 WHERE date = "september 4" |
If the POS is 4, what is the total PLD? | CREATE TABLE table_22011138_7 (total_pld VARCHAR, pos VARCHAR) | SELECT total_pld FROM table_22011138_7 WHERE pos = 4 |
In what city is RJSN located? | CREATE TABLE table_name_57 (city VARCHAR, icao VARCHAR) | SELECT city FROM table_name_57 WHERE icao = "rjsn" |
What was the Attendance in Week 10? | CREATE TABLE table_name_59 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_59 WHERE week = 10 |
What tv season was episode 23 broadcast? | CREATE TABLE table_2669287_1 (tv_season VARCHAR, episodes VARCHAR) | SELECT tv_season FROM table_2669287_1 WHERE episodes = 23 |
Which podiums did the alfa romeo team have? | CREATE TABLE table_10753917_1 (podiums VARCHAR, team VARCHAR) | SELECT podiums FROM table_10753917_1 WHERE team = "Alfa Romeo" |
Who was drafted by the Baltimore Colts? | CREATE TABLE table_2508633_3 (player VARCHAR, nfl_team VARCHAR) | SELECT player FROM table_2508633_3 WHERE nfl_team = "Baltimore Colts" |
Name the Rank of Rank Mountain Peak of crested butte pb? | CREATE TABLE table_name_43 (rank VARCHAR, mountain_peak VARCHAR) | SELECT rank FROM table_name_43 WHERE mountain_peak = "crested butte pb" |
What is the report for round 9? | CREATE TABLE table_name_9 (report VARCHAR, round VARCHAR) | SELECT report FROM table_name_9 WHERE round = 9 |
What is the average crowd size for games with hawthorn as the home side? | CREATE TABLE table_name_8 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_8 WHERE home_team = "hawthorn" |
What location is Vin Weber from? | CREATE TABLE table_1341568_24 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341568_24 WHERE incumbent = "Vin Weber" |
What Team's Pre-Season Manager's manner of departure was the end of tenure as caretaker? | CREATE TABLE table_name_52 (team VARCHAR, position_in_table VARCHAR, manner_of_departure VARCHAR) | SELECT team FROM table_name_52 WHERE position_in_table = "pre-season" AND manner_of_departure = "end of tenure as caretaker" |
Name the total number of bronze medals when gold medals was 2, total medals more than 4 and silver medals less than 5 | CREATE TABLE table_name_87 (bronze_medals VARCHAR, silver_medals VARCHAR, gold_medals VARCHAR, total_medals VARCHAR) | SELECT COUNT(bronze_medals) FROM table_name_87 WHERE gold_medals = 2 AND total_medals > 4 AND silver_medals < 5 |
In how many different parts was the incumbent Abraham B. Venable? | CREATE TABLE table_2668416_18 (party VARCHAR, incumbent VARCHAR) | SELECT COUNT(party) FROM table_2668416_18 WHERE incumbent = "Abraham B. Venable" |
What is the record of the game with Andrew Bogut (21) as the leading scorer? | CREATE TABLE table_name_43 (record VARCHAR, leading_scorer VARCHAR) | SELECT record FROM table_name_43 WHERE leading_scorer = "andrew bogut (21)" |
Which label has a catalog of y8hr 1006 in 1972? | CREATE TABLE table_name_91 (label VARCHAR, catalog VARCHAR, date VARCHAR) | SELECT label FROM table_name_91 WHERE catalog = "y8hr 1006" AND date = "1972" |
When fort irwin-barstow/victorville is the type of fare what is the cash fare? | CREATE TABLE table_20803241_1 (cash_fare VARCHAR, type_of_fare VARCHAR) | SELECT cash_fare FROM table_20803241_1 WHERE type_of_fare = "Fort Irwin-Barstow/Victorville" |
What is the lowest number of losses for a team with more than 0 wins? | CREATE TABLE table_name_53 (losses INTEGER, wins INTEGER) | SELECT MIN(losses) FROM table_name_53 WHERE wins > 0 |
What is the final placing of the team with 0 ples, more than 16 races, and 16 podiums? | CREATE TABLE table_name_12 (final_placing VARCHAR, podiums VARCHAR, poles VARCHAR, races VARCHAR) | SELECT final_placing FROM table_name_12 WHERE poles = 0 AND races > 16 AND podiums = 16 |
How many times did Robin Hayes run? | CREATE TABLE table_1805191_34 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1805191_34 WHERE incumbent = "Robin Hayes" |
Name the others for cons of 21% and lead of 24% | CREATE TABLE table_name_60 (others VARCHAR, cons VARCHAR, lead VARCHAR) | SELECT others FROM table_name_60 WHERE cons = "21%" AND lead = "24%" |
What chassis type does a scuderia ferrari with more than 1 point have? | CREATE TABLE table_name_33 (chassis VARCHAR, entrant VARCHAR, points VARCHAR) | SELECT chassis FROM table_name_33 WHERE entrant = "scuderia ferrari" AND points > 1 |
When Treasurer was treasurer, who was the highway commissioner? | CREATE TABLE table_name_37 (highway_commissioners VARCHAR) | SELECT highway_commissioners FROM table_name_37 WHERE "treasurer" = "treasurer" |
What championship was played with Allan Stone as a partner? | CREATE TABLE table_2820584_3 (championship VARCHAR, partner VARCHAR) | SELECT championship FROM table_2820584_3 WHERE partner = "Allan Stone" |
What is the 1st leg of the Al Fahaheel Team 1? | CREATE TABLE table_name_11 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_11 WHERE team_1 = "al fahaheel" |
How many ranks have more than 7 lanes, and an Athlete of michael mathieu, and a Reaction time larger than 0.203? | CREATE TABLE table_name_3 (rank INTEGER, react VARCHAR, lane VARCHAR, athlete VARCHAR) | SELECT SUM(rank) FROM table_name_3 WHERE lane > 7 AND athlete = "michael mathieu" AND react > 0.203 |
What is Opponent, when Date is "Dec 8"? | CREATE TABLE table_name_11 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_11 WHERE date = "dec 8" |
What location and attendance were there for game 5? | CREATE TABLE table_27756474_2 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_27756474_2 WHERE game = 5 |
What's the total power of the unit whose construction finished on 14.06.1963? | CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR) | SELECT total_power FROM table_12983929_1 WHERE construction_finish = "14.06.1963" |
What is the average ties when the team is montreal victorias and the games played is more than 8? | CREATE TABLE table_name_73 (ties INTEGER, team VARCHAR, games_played VARCHAR) | SELECT AVG(ties) FROM table_name_73 WHERE team = "montreal victorias" AND games_played > 8 |
What position did Max Redfield play? | CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_97 WHERE player = "max redfield" |
How many goals for had a drawn more than 12 for the Goole Town team, as well as more than 60 goals against? | CREATE TABLE table_name_45 (goals_for INTEGER, goals_against VARCHAR, drawn VARCHAR, team VARCHAR) | SELECT SUM(goals_for) FROM table_name_45 WHERE drawn > 12 AND team = "goole town" AND goals_against > 60 |
What is the score of the game on May 5? | CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_50 WHERE date = "may 5" |
What is the name of tracks whose genre is Rock? | CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR) | SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "Rock" |
Name the number one singles for desvarieux, jacob | CREATE TABLE table_27441210_5 (number_one_single_s_ VARCHAR, artist VARCHAR) | SELECT number_one_single_s_ FROM table_27441210_5 WHERE artist = "Desvarieux, Jacob" |
What is the LFN support with 32-bit architecture on Windows Home Server? | CREATE TABLE table_name_74 (lfn_support VARCHAR, architecture VARCHAR, name VARCHAR) | SELECT lfn_support FROM table_name_74 WHERE architecture = "32-bit" AND name = "windows home server" |
Which nation finished with a time of 47.049? | CREATE TABLE table_name_56 (nation VARCHAR, time__sec_ VARCHAR) | SELECT nation FROM table_name_56 WHERE time__sec_ = 47.049 |
How many times was the date of vacancy 14 february 2011? | CREATE TABLE table_24231638_3 (position_in_table VARCHAR, date_of_vacancy VARCHAR) | SELECT COUNT(position_in_table) FROM table_24231638_3 WHERE date_of_vacancy = "14 February 2011" |
How many runs when bangladesh was the fielding team? | CREATE TABLE table_1670921_2 (runs VARCHAR, fielding_team VARCHAR) | SELECT runs FROM table_1670921_2 WHERE fielding_team = "Bangladesh" |
How many teams won more than 2 silver medals and fewer than 2 Bronze medals? | CREATE TABLE table_name_38 (rank VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT COUNT(rank) FROM table_name_38 WHERE silver > 2 AND bronze < 2 |
What is the Record from February 10? | CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_47 WHERE date = "february 10" |
How many players did the most high points in the game with 39-22 record? | CREATE TABLE table_23286223_8 (high_points VARCHAR, record VARCHAR) | SELECT COUNT(high_points) FROM table_23286223_8 WHERE record = "39-22" |
what is the total number of high rebounds for minnesota? | CREATE TABLE table_22879262_7 (high_rebounds VARCHAR, team VARCHAR) | SELECT COUNT(high_rebounds) FROM table_22879262_7 WHERE team = "Minnesota" |
What date was the Competition of rothmans cup? | CREATE TABLE table_name_67 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_67 WHERE competition = "rothmans cup" |
What is the Time on july 18 that has a Loss of lilly (3-3)? | CREATE TABLE table_name_34 (time VARCHAR, date VARCHAR, loss VARCHAR) | SELECT time FROM table_name_34 WHERE date = "july 18" AND loss = "lilly (3-3)" |
What was the score of the game with a record of 34–17–11–2? | CREATE TABLE table_name_1 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_1 WHERE record = "34–17–11–2" |
How did the match end when his record was 15-11? | CREATE TABLE table_name_37 (method VARCHAR, record VARCHAR) | SELECT method FROM table_name_37 WHERE record = "15-11" |
What is the first episode with a netflix episode code of s02e20? | CREATE TABLE table_15187735_4 (episode INTEGER, netflix VARCHAR) | SELECT MIN(episode) FROM table_15187735_4 WHERE netflix = "S02E20" |
What loss has 16-6 as the record? | CREATE TABLE table_name_25 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_25 WHERE record = "16-6" |
What is Olivier Jacque's Time/Retired? | CREATE TABLE table_name_43 (time_retired VARCHAR, rider VARCHAR) | SELECT time_retired FROM table_name_43 WHERE rider = "olivier jacque" |
In what Year was Labyrinth nominated? | CREATE TABLE table_name_46 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT year__ceremony_ FROM table_name_46 WHERE film_title_used_in_nomination = "labyrinth" |
What is the attendance on may 28? | CREATE TABLE table_name_62 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_62 WHERE date = "may 28" |
Name the first elected for kentucky 1 | CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 1" |
What is the leading scorer on february 1? | CREATE TABLE table_11964047_8 (leading_scorer VARCHAR, date VARCHAR) | SELECT leading_scorer FROM table_11964047_8 WHERE date = "February 1" |
What is the 2008 Candidates Elected before 1994 with Incumbent Jim McDermott? | CREATE TABLE table_name_18 (elected VARCHAR, incumbent VARCHAR) | SELECT 2008 AS _candidates FROM table_name_18 WHERE elected < 1994 AND incumbent = "jim mcdermott" |
What is result of the game at Arrowhead Stadium where the loser was the Kansas City Chiefs? | CREATE TABLE table_name_23 (result VARCHAR, location VARCHAR, loser VARCHAR) | SELECT result FROM table_name_23 WHERE location = "arrowhead stadium" AND loser = "kansas city chiefs" |
What was the callsign in Zamboanga? | CREATE TABLE table_12547903_3 (callsign VARCHAR, location VARCHAR) | SELECT callsign FROM table_12547903_3 WHERE location = "Zamboanga" |
How many percentages have 20 losses and more than 1 season? | CREATE TABLE table_name_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR) | SELECT COUNT(pct) FROM table_name_17 WHERE lost = 20 AND seasons > 1 |
How many times has Ma Long won the men's singles? | CREATE TABLE table_28138035_33 (mens_doubles VARCHAR, mens_singles VARCHAR) | SELECT COUNT(mens_doubles) FROM table_28138035_33 WHERE mens_singles = "Ma Long" |
What's the most amount of point finishes for v8supercar? | CREATE TABLE table_2822193_1 (point_finishes__non_podium_ INTEGER, series VARCHAR) | SELECT MAX(point_finishes__non_podium_) FROM table_2822193_1 WHERE series = "V8Supercar" |
What is the date of the Chrysalis, Island Records label? | CREATE TABLE table_name_81 (date VARCHAR, label VARCHAR) | SELECT date FROM table_name_81 WHERE label = "chrysalis, island records" |
What is the average number of Byes for the team that had 15 Losses, and less than 1 Win? | CREATE TABLE table_name_13 (byes INTEGER, losses VARCHAR, wins VARCHAR) | SELECT AVG(byes) FROM table_name_13 WHERE losses = 15 AND wins < 1 |
What is the first year of the European Championships competition? | CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR) | SELECT MIN(year) FROM table_name_52 WHERE competition = "european championships" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.