question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What was the score at North Shore Events Centre? | CREATE TABLE table_name_9 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_9 WHERE venue = "north shore events centre" |
What is the Result where Goal is 9? | CREATE TABLE table_name_68 (result VARCHAR, goal VARCHAR) | SELECT result FROM table_name_68 WHERE goal = 9 |
How many have Mrs. briar as a villain | CREATE TABLE table_10470082_5 (no VARCHAR, villains VARCHAR) | SELECT COUNT(no) FROM table_10470082_5 WHERE villains = "Mrs. Briar" |
Who was the visiting team that played against the Kings? | CREATE TABLE table_name_42 (visitor VARCHAR, home VARCHAR) | SELECT visitor FROM table_name_42 WHERE home = "kings" |
What is the smallest height associated with Honduras? | CREATE TABLE table_25461827_2 (height__cm_ INTEGER, country VARCHAR) | SELECT MIN(height__cm_) FROM table_25461827_2 WHERE country = "Honduras" |
Who was the home team that had a replay of Tie Number and played against the Bolton Wanderers? | CREATE TABLE table_name_81 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_81 WHERE tie_no = "replay" AND away_team = "bolton wanderers" |
What's the record for Game 58? | CREATE TABLE table_name_22 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_22 WHERE game = 58 |
What is the maximum season # with a u.s. air date is may 1, 2009 | CREATE TABLE table_12294557_3 (season__number INTEGER, us_airdate VARCHAR) | SELECT MAX(season__number) FROM table_12294557_3 WHERE us_airdate = "May 1, 2009" |
In what location were the January (°F) temperatures 30/17? | CREATE TABLE table_21980_1 (location VARCHAR, january__°f_ VARCHAR) | SELECT location FROM table_21980_1 WHERE january__°f_ = "30/17" |
What is the league with 0 losses? | CREATE TABLE table_name_47 (league VARCHAR, losses VARCHAR) | SELECT league FROM table_name_47 WHERE losses = "0" |
What is Country, when Score is 71-71-69=211? | CREATE TABLE table_name_26 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_26 WHERE score = 71 - 71 - 69 = 211 |
What is the accreditation type of Vodacom Group PTY LTD (Vodafone group)? | CREATE TABLE table_name_22 (accreditation_type VARCHAR, company_name VARCHAR) | SELECT accreditation_type FROM table_name_22 WHERE company_name = "vodacom group pty ltd (vodafone group)" |
what is the rank when the player is henry shefflin and the matches is higher than 4? | CREATE TABLE table_name_9 (rank INTEGER, player VARCHAR, matches VARCHAR) | SELECT SUM(rank) FROM table_name_9 WHERE player = "henry shefflin" AND matches > 4 |
What percentage of votes did the candidate win in the election of 1969? | CREATE TABLE table_name_26 (share_of_votes VARCHAR, election VARCHAR) | SELECT share_of_votes FROM table_name_26 WHERE election = 1969 |
When Cementarnica is team 2 what is the aggregate score? | CREATE TABLE table_name_65 (agg VARCHAR, team_2 VARCHAR) | SELECT agg FROM table_name_65 WHERE team_2 = "cementarnica" |
What is the average points earned for entrants with ATS V8 engines? | CREATE TABLE table_name_12 (points INTEGER, engine VARCHAR) | SELECT AVG(points) FROM table_name_12 WHERE engine = "ats v8" |
How many opponents led to an exactly 7-0 record? | CREATE TABLE table_21034801_1 (opponent VARCHAR, record VARCHAR) | SELECT COUNT(opponent) FROM table_21034801_1 WHERE record = "7-0" |
Name the singer for bruce forsyth | CREATE TABLE table_29135051_2 (singer_s_ VARCHAR, guest_s_ VARCHAR) | SELECT singer_s_ FROM table_29135051_2 WHERE guest_s_ = "Bruce Forsyth" |
What was the record on May 8? | CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_44 WHERE date = "may 8" |
What Grid has a Time/Retired of clutch? | CREATE TABLE table_name_2 (grid INTEGER, time_retired VARCHAR) | SELECT SUM(grid) FROM table_name_2 WHERE time_retired = "clutch" |
With what Name does the Roll of 637 belong? | CREATE TABLE table_name_57 (name VARCHAR, roll VARCHAR) | SELECT name FROM table_name_57 WHERE roll = "637" |
What road team has 86-84 as the result? | CREATE TABLE table_name_67 (road_team VARCHAR, result VARCHAR) | SELECT road_team FROM table_name_67 WHERE result = "86-84" |
What is the nationality of Louis floch | CREATE TABLE table_24565004_7 (nationality² VARCHAR, name VARCHAR) | SELECT nationality² FROM table_24565004_7 WHERE name = "Louis Floch" |
What is the highest rank for ben crenshaw after winning more than 14 times? | CREATE TABLE table_name_65 (rank INTEGER, player VARCHAR, wins VARCHAR) | SELECT MAX(rank) FROM table_name_65 WHERE player = "ben crenshaw" AND wins > 14 |
Which game has an opponent of Phoenix Coyotes and was before Dec 9? | CREATE TABLE table_name_96 (game INTEGER, opponent VARCHAR, december VARCHAR) | SELECT AVG(game) FROM table_name_96 WHERE opponent = "phoenix coyotes" AND december < 9 |
What actor won in 1978? | CREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR) | SELECT actor FROM table_name_22 WHERE year = "1978" |
What is the number of first class team with birthday of 5 december 1970? | CREATE TABLE table_11950720_4 (first_class_team VARCHAR, date_of_birth VARCHAR) | SELECT COUNT(first_class_team) FROM table_11950720_4 WHERE date_of_birth = "5 December 1970" |
What was the time for Aprilia and their driver Casey Stoner, before gird 9, and less than 26 laps? | CREATE TABLE table_name_35 (time_retired VARCHAR, rider VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_35 WHERE manufacturer = "aprilia" AND grid < 9 AND laps < 26 AND rider = "casey stoner" |
Which title has a Black Ice for a guest performer and a length of 5:49? | CREATE TABLE table_name_50 (title VARCHAR, guest_performer VARCHAR, time VARCHAR) | SELECT title FROM table_name_50 WHERE guest_performer = "black ice" AND time = "5:49" |
What date was the match against carlisle united? | CREATE TABLE table_name_65 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_65 WHERE away_team = "carlisle united" |
What is the birth date of the member with the Defining characteristic of pink hair? | CREATE TABLE table_name_63 (birthdate VARCHAR, defining_characteristics VARCHAR) | SELECT birthdate FROM table_name_63 WHERE defining_characteristics = "pink hair" |
What was the attendance at Moorabbin Oval? | CREATE TABLE table_name_41 (crowd INTEGER, venue VARCHAR) | SELECT AVG(crowd) FROM table_name_41 WHERE venue = "moorabbin oval" |
What was the record of the game played on November 7? | CREATE TABLE table_name_45 (record VARCHAR, game VARCHAR, date VARCHAR) | SELECT record FROM table_name_45 WHERE game < 7 AND date = "november 7" |
Name the candidates for 1998 | CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_25030512_24 WHERE first_elected = "1998" |
On what date was the result a draw? | CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_24 WHERE result = "draw" |
What was the surface in 1981? | CREATE TABLE table_name_56 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_56 WHERE date = 1981 |
What is the highest Game, when Team is "Celtics", and when High Assists is "Hedo Türkoğlu (4)"? | CREATE TABLE table_name_34 (game INTEGER, team VARCHAR, high_assists VARCHAR) | SELECT MAX(game) FROM table_name_34 WHERE team = "celtics" AND high_assists = "hedo türkoğlu (4)" |
What is Accolade, when Year is less than 2009, and when Country is Germany? | CREATE TABLE table_name_3 (accolade VARCHAR, year VARCHAR, country VARCHAR) | SELECT accolade FROM table_name_3 WHERE year < 2009 AND country = "germany" |
On what date was the result Eng by 1 wkt? | CREATE TABLE table_name_79 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_79 WHERE result = "eng by 1 wkt" |
What was the margin of victory at the Texas International Open? | CREATE TABLE table_name_44 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_44 WHERE tournament = "texas international open" |
What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play? | CREATE TABLE table_name_56 (position VARCHAR, leeds_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR) | SELECT position FROM table_name_56 WHERE appearances > 167 AND nationality = "wales" AND goals > 0 AND leeds_career = "1977–1982" |
How many different net run rates did the team with 19 total points have? | CREATE TABLE table_25368177_1 (net_run_rate VARCHAR, total_points VARCHAR) | SELECT COUNT(net_run_rate) FROM table_25368177_1 WHERE total_points = 19 |
Show id, first name and last name for all customers and the number of accounts. | CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR) | SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name, COUNT(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id |
How many locations were there when sydney was the home team? | CREATE TABLE table_16388478_2 (ground VARCHAR, home_team VARCHAR) | SELECT COUNT(ground) FROM table_16388478_2 WHERE home_team = "Sydney" |
Who was the home team that played in Victoria Park? | CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_32 WHERE venue = "victoria park" |
When the away team was collingwood, what was the away team score? | CREATE TABLE table_name_86 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_86 WHERE away_team = "collingwood" |
What is the placement date of the order whose invoice number is 10? | CREATE TABLE orders (date_order_placed VARCHAR, order_id VARCHAR); CREATE TABLE shipments (order_id VARCHAR, invoice_number VARCHAR) | SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10 |
Which song by David Essex spent 2 weeks on top of the charts? | CREATE TABLE table_name_1 (song VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) | SELECT song FROM table_name_1 WHERE weeks_on_top = 2 AND artist = "david essex" |
Which archive has a run time of 23:48? | CREATE TABLE table_2114238_1 (archive VARCHAR, run_time VARCHAR) | SELECT archive FROM table_2114238_1 WHERE run_time = "23:48" |
What was the date of the game where the indians record was 37-44? | CREATE TABLE table_name_95 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_95 WHERE record = "37-44" |
Who was the incumbent in the Ohio 10 district? | CREATE TABLE table_2646656_3 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2646656_3 WHERE district = "Ohio 10" |
What is the status of the torre reforma building that is over 44 stories in mexico city? | CREATE TABLE table_name_11 (status VARCHAR, building VARCHAR, stories VARCHAR, city VARCHAR) | SELECT status FROM table_name_11 WHERE stories > 44 AND city = "mexico city" AND building = "torre reforma" |
How many people attended the score of w 7-6? | CREATE TABLE table_name_15 (crowd VARCHAR, score VARCHAR) | SELECT crowd FROM table_name_15 WHERE score = "w 7-6" |
What was the year that had an issue price of $1,295.95? | CREATE TABLE table_name_31 (year INTEGER, issue_price VARCHAR) | SELECT AVG(year) FROM table_name_31 WHERE issue_price = "$1,295.95" |
Week that has a Date of december 5, 1959 had what week? | CREATE TABLE table_name_4 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_4 WHERE date = "december 5, 1959" |
Which venue had a note of 3:34.88 after 2003? | CREATE TABLE table_name_32 (venue VARCHAR, year VARCHAR, notes VARCHAR) | SELECT venue FROM table_name_32 WHERE year > 2003 AND notes = "3:34.88" |
What is the Home team score for the Venue named MCG? | CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_89 WHERE venue = "mcg" |
What is the total lane for a heat larger than 7? | CREATE TABLE table_name_16 (lane VARCHAR, heat INTEGER) | SELECT COUNT(lane) FROM table_name_16 WHERE heat > 7 |
How many n are listed for berbers from siwa? | CREATE TABLE table_21481509_4 (COUnT VARCHAR, population VARCHAR) | SELECT COUnT AS n FROM table_21481509_4 WHERE population = "Berbers from Siwa" |
What is the highest Pick that has a round greater than 6 and an overall greater than 216? | CREATE TABLE table_name_46 (pick INTEGER, round VARCHAR, overall VARCHAR) | SELECT MAX(pick) FROM table_name_46 WHERE round > 6 AND overall > 216 |
What was Min Patel's bowling? | CREATE TABLE table_name_7 (bowling VARCHAR, player VARCHAR) | SELECT bowling FROM table_name_7 WHERE player = "min patel" |
what is the score when the country is united states and the player is george fazio? | CREATE TABLE table_name_4 (score VARCHAR, country VARCHAR, player VARCHAR) | SELECT score FROM table_name_4 WHERE country = "united states" AND player = "george fazio" |
Which final score had a surface of hard (i) on October 22, 2000? | CREATE TABLE table_name_47 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_47 WHERE surface = "hard (i)" AND date = "october 22, 2000" |
What position does alun wyn jones play? | CREATE TABLE table_name_59 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_59 WHERE player = "alun wyn jones" |
What is the highest to par of player mark brooks, who has a t2 place? | CREATE TABLE table_name_19 (to_par INTEGER, place VARCHAR, player VARCHAR) | SELECT MAX(to_par) FROM table_name_19 WHERE place = "t2" AND player = "mark brooks" |
Who were the opponents in the final in which the score was 6–1, 1–6, 4–6? | CREATE TABLE table_name_54 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR) | SELECT opponents_in_the_final FROM table_name_54 WHERE score_in_the_final = "6–1, 1–6, 4–6" |
What is the highest number of games with 1 loss and points less than 18? | CREATE TABLE table_name_9 (games INTEGER, lost VARCHAR, points VARCHAR) | SELECT MAX(games) FROM table_name_9 WHERE lost = 1 AND points < 18 |
What day did they play in central park stadium? | CREATE TABLE table_name_50 (date VARCHAR, stadium VARCHAR) | SELECT date FROM table_name_50 WHERE stadium = "central park" |
What was the home team's score when Geelong was the away team? | CREATE TABLE table_name_1 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_1 WHERE away_team = "geelong" |
What is Score, when Player is "Brad Faxon"? | CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_68 WHERE player = "brad faxon" |
Tell me the country for san juan | CREATE TABLE table_name_62 (country VARCHAR, city VARCHAR) | SELECT country FROM table_name_62 WHERE city = "san juan" |
Who was the outgoing manager of the team in 15th position that was sacked? | CREATE TABLE table_27374004_4 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) | SELECT outgoing_manager FROM table_27374004_4 WHERE manner_of_departure = "Sacked" AND position_in_table = "15th" |
When is the earliest year with a Power of 90kw (121hp) @ 4000? | CREATE TABLE table_name_56 (year INTEGER, power VARCHAR) | SELECT MIN(year) FROM table_name_56 WHERE power = "90kw (121hp) @ 4000" |
What is the average Grid, when Rider is Shinya Nakano, and when Laps is less than 21? | CREATE TABLE table_name_27 (grid INTEGER, rider VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_27 WHERE rider = "shinya nakano" AND laps < 21 |
What is the best top-10 result when events are fewer than 39, top-5 is 1 and more than 5 cuts are made? | CREATE TABLE table_name_89 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR) | SELECT MAX(top_10) FROM table_name_89 WHERE events < 39 AND top_5 = 1 AND cuts_made > 5 |
Who is the alternate for Magnus Swartling as Second? | CREATE TABLE table_name_38 (alternate VARCHAR, second VARCHAR) | SELECT alternate FROM table_name_38 WHERE second = "magnus swartling" |
What is the average size (cents) with an interval of major third and size (steps) more than 5 | CREATE TABLE table_name_33 (size__cents_ INTEGER, interval_name VARCHAR, size__steps_ VARCHAR) | SELECT AVG(size__cents_) FROM table_name_33 WHERE interval_name = "major third" AND size__steps_ > 5 |
What ship size had a cargo value of $31,750 in 2006? | CREATE TABLE table_name_57 (ship_size VARCHAR) | SELECT ship_size FROM table_name_57 WHERE 2006 = "$31,750" |
List all of the NLL Toronto Rock players. | CREATE TABLE table_18042409_1 (player VARCHAR, national_lacrosse_league VARCHAR) | SELECT player FROM table_18042409_1 WHERE national_lacrosse_league = "Toronto Rock" |
What is the record on March 16? | CREATE TABLE table_name_66 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_66 WHERE date = "march 16" |
Who directed a film for Cracking Film Productions? | CREATE TABLE table_name_80 (director_s_ VARCHAR, recipient VARCHAR) | SELECT director_s_ FROM table_name_80 WHERE recipient = "cracking film productions" |
When was the last final lost of the club with 7 wins? | CREATE TABLE table_name_49 (last_final_lost VARCHAR, wins VARCHAR) | SELECT last_final_lost FROM table_name_49 WHERE wins = "7" |
What's the total number of FA Cup with a Play-offs of 3, and the Name of Mitch Cook Category:Articles with hCards and has a Total thats less than 11? | CREATE TABLE table_name_64 (fa_cup VARCHAR, total VARCHAR, play_offs VARCHAR, name VARCHAR) | SELECT COUNT(fa_cup) FROM table_name_64 WHERE play_offs = 3 AND name = "mitch cook category:articles with hcards" AND total < 11 |
What week did they have a bye? | CREATE TABLE table_name_66 (week VARCHAR, opponent VARCHAR) | SELECT week FROM table_name_66 WHERE opponent = "bye" |
Which regular season had the playoffs of 0 mls cups? | CREATE TABLE table_name_87 (regular_season VARCHAR, playoffs VARCHAR) | SELECT regular_season FROM table_name_87 WHERE playoffs = "0 mls cups" |
Name the opponent on april 27 | CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_60 WHERE date = "april 27" |
What is the combined consumption of 1.6 16v? | CREATE TABLE table_name_60 (combined_consumption VARCHAR, name VARCHAR) | SELECT combined_consumption FROM table_name_60 WHERE name = "1.6 16v" |
What is the IATA for Gatwick airport? | CREATE TABLE table_name_79 (iata VARCHAR, airport VARCHAR) | SELECT iata FROM table_name_79 WHERE airport = "gatwick airport" |
According to the February 2009 poll by the Corporate Research Associates that reported 31% Liberal., what percentage aligned with the Prog. Cons. party? | CREATE TABLE table_name_63 (prog_cons VARCHAR, dates VARCHAR, polling_firm VARCHAR, liberal VARCHAR) | SELECT prog_cons FROM table_name_63 WHERE polling_firm = "corporate research associates" AND liberal = "31%" AND dates = "february 2009" |
How many teams drafted players from the University of Maryland? | CREATE TABLE table_25518547_3 (mls_team VARCHAR, affiliation VARCHAR) | SELECT COUNT(mls_team) FROM table_25518547_3 WHERE affiliation = "University of Maryland" |
List all areas within 1000 km in the city of Lubelskie? | CREATE TABLE table_11654169_1 (area_in_1000km²__1930_ VARCHAR, voivodeship_separate_city VARCHAR) | SELECT area_in_1000km²__1930_ FROM table_11654169_1 WHERE voivodeship_separate_city = "lubelskie" |
Which club was founded in 1962? | CREATE TABLE table_name_25 (club VARCHAR, founded VARCHAR) | SELECT club FROM table_name_25 WHERE founded = 1962 |
What was the constructor when the laps were larger than 54, and the time/retired was +1 lap on a grid of 20? | CREATE TABLE table_name_28 (constructor VARCHAR, grid VARCHAR, laps VARCHAR, time_retired VARCHAR) | SELECT constructor FROM table_name_28 WHERE laps > 54 AND time_retired = "+1 lap" AND grid = 20 |
how many class with poles being bigger than 1.0 | CREATE TABLE table_14139408_1 (class VARCHAR, poles INTEGER) | SELECT COUNT(class) FROM table_14139408_1 WHERE poles > 1.0 |
What is the record for the team on January 19? | CREATE TABLE table_17288825_7 (record VARCHAR, date VARCHAR) | SELECT record FROM table_17288825_7 WHERE date = "January 19" |
What is the total and maximum duration of trips with bike id 636? | CREATE TABLE trip (duration INTEGER, bike_id VARCHAR) | SELECT SUM(duration), MAX(duration) FROM trip WHERE bike_id = 636 |
Which Quarter has a Round of 17? | CREATE TABLE table_name_7 (quarter VARCHAR, round VARCHAR) | SELECT quarter FROM table_name_7 WHERE round = "17" |
Which Original Airdate has an Episode of 1? | CREATE TABLE table_name_2 (original_airdate VARCHAR, episode VARCHAR) | SELECT original_airdate FROM table_name_2 WHERE episode = 1 |
What was the 1997 value when 2002 was A and 2003 was 1R? | CREATE TABLE table_name_61 (Id VARCHAR) | SELECT 1997 FROM table_name_61 WHERE 2002 = "a" AND 2003 = "1r" |
What is the pinyin for explaining music? | CREATE TABLE table_1216675_1 (pinyin VARCHAR, translation VARCHAR) | SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Music" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.