instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: In the game at Victoria Park, what was the number of people in the crowd? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_34 WHERE venue = "victoria park" |
Write a SQL query that answers the following question: What was the tournament that happened in 1974 in gothenburg , sweden? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (tournament VARCHAR, year VARCHAR, venue VARCHAR) | SELECT tournament FROM table_name_84 WHERE year = 1974 AND venue = "gothenburg , sweden" |
Write a SQL query that answers the following question: Which MLB division has a win record of 76? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (division VARCHAR, wins VARCHAR) | SELECT division FROM table_name_26 WHERE wins = "76" |
Write a SQL query that answers the following question: What was the final rank of the Brewers in 1980? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (finish VARCHAR, team_season VARCHAR) | SELECT finish FROM table_name_63 WHERE team_season = "1980" |
Write a SQL query that answers the following question: What was the final rank of the Brewers when they achieved a win percentage of .585? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (finish VARCHAR, win__percentage VARCHAR) | SELECT finish FROM table_name_79 WHERE win__percentage = ".585" |
Write a SQL query that answers the following question: Which division were the Brewers a part of in the 1987 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (division VARCHAR, team_season VARCHAR) | SELECT division FROM table_name_23 WHERE team_season = "1987" |
Write a SQL query that answers the following question: Which division of the Brewers had a 5th place ranking and a loss record of 87? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (division VARCHAR, finish VARCHAR, losses VARCHAR) | SELECT division FROM table_name_98 WHERE finish = "5th" AND losses = "87" |
Write a SQL query that answers the following question: where was the game site when the opponent was san diego chargers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (game_site VARCHAR, opponent VARCHAR) | SELECT game_site FROM table_name_52 WHERE opponent = "san diego chargers" |
Write a SQL query that answers the following question: who was the opponent when the week was 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_44 WHERE week = "9" |
Write a SQL query that answers the following question: What venue features geelong as the away side? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_29 WHERE away_team = "geelong" |
Write a SQL query that answers the following question: What venue features essendon at home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_65 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: Who is the nominee for best director? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (nominee VARCHAR, category VARCHAR) | SELECT nominee FROM table_name_86 WHERE category = "best director" |
Write a SQL query that answers the following question: What ceremony was leela chitnis nominated at? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (ceremony VARCHAR, outcome VARCHAR, nominee VARCHAR) | SELECT ceremony FROM table_name_45 WHERE outcome = "nominated" AND nominee = "leela chitnis" |
Write a SQL query that answers the following question: what is the highest pick number of the CFL team, the winnipeg blue bombers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (pick__number INTEGER, cfl_team VARCHAR) | SELECT MAX(pick__number) FROM table_name_42 WHERE cfl_team = "winnipeg blue bombers" |
Write a SQL query that answers the following question: Which college has 41 picks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (college VARCHAR, pick__number VARCHAR) | SELECT college FROM table_name_86 WHERE pick__number = 41 |
Write a SQL query that answers the following question: Which player plays for the college of manitoba? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_96 WHERE college = "manitoba" |
Write a SQL query that answers the following question: What is the Unami Delaware value for a Thomas value of nacha? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (unami_delaware VARCHAR, thomas__1698_ VARCHAR) | SELECT unami_delaware FROM table_name_18 WHERE thomas__1698_ = "nacha" |
Write a SQL query that answers the following question: What is the Campanius term for an Unami Delaware term of palé·naxk? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (campanius__ca_1645_ VARCHAR, unami_delaware VARCHAR) | SELECT campanius__ca_1645_ FROM table_name_43 WHERE unami_delaware = "palé·naxk" |
Write a SQL query that answers the following question: What is the De Laet term for a Munsee Delaware term of ní·ša? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (de_laet__1633_ VARCHAR, munsee_delaware VARCHAR) | SELECT de_laet__1633_ FROM table_name_12 WHERE munsee_delaware = "ní·ša" |
Write a SQL query that answers the following question: What is the name of the player picked before round 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (player VARCHAR, round INTEGER) | SELECT player FROM table_name_75 WHERE round < 2 |
Write a SQL query that answers the following question: What is the name of the player with an overall less than 209 for the Victoriaville tigres (qmjhl), and a Round of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (player VARCHAR, round VARCHAR, overall VARCHAR, club_team VARCHAR) | SELECT player FROM table_name_85 WHERE overall < 209 AND club_team = "victoriaville tigres (qmjhl)" AND round = 1 |
Write a SQL query that answers the following question: What is the name of the player with an Overall larger than 227? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (player VARCHAR, overall INTEGER) | SELECT player FROM table_name_14 WHERE overall > 227 |
Write a SQL query that answers the following question: What is the highest overall for a round larger than 8 for pavol demitra? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (overall INTEGER, round VARCHAR, player VARCHAR) | SELECT MAX(overall) FROM table_name_40 WHERE round > 8 AND player = "pavol demitra" |
Write a SQL query that answers the following question: What description does Livery of ews have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (description VARCHAR, livery VARCHAR) | SELECT description FROM table_name_61 WHERE livery = "ews" |
Write a SQL query that answers the following question: What Position has a Super League 1 Competition? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (position VARCHAR, competition VARCHAR) | SELECT position FROM table_name_85 WHERE competition = "super league 1" |
Write a SQL query that answers the following question: What Competition in Main Article of Bradford Bulls 1997 have Robbie Paul as Captain with less than 5 Lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (competition VARCHAR, main_article VARCHAR, captain VARCHAR, lost VARCHAR) | SELECT competition FROM table_name_54 WHERE captain = "robbie paul" AND lost < 5 AND main_article = "bradford bulls 1997" |
Write a SQL query that answers the following question: What Captain has Lost 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (captain VARCHAR, lost VARCHAR) | SELECT captain FROM table_name_28 WHERE lost = 13 |
Write a SQL query that answers the following question: How many Drawn did Coach Francis Cummins have with less than 4 Lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (drawn INTEGER, lost VARCHAR, coach VARCHAR) | SELECT SUM(drawn) FROM table_name_99 WHERE lost < 4 AND coach = "francis cummins" |
Write a SQL query that answers the following question: What horse did not start and had a total of over 16.16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (horse VARCHAR, faults VARCHAR, total VARCHAR) | SELECT horse FROM table_name_10 WHERE faults = "did not start" AND total > 16.16 |
Write a SQL query that answers the following question: What was the total for christina liebherr? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (total INTEGER, rider VARCHAR) | SELECT MIN(total) FROM table_name_4 WHERE rider = "christina liebherr" |
Write a SQL query that answers the following question: What is the population of the year featuring an 87.5% German population? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (population VARCHAR, germans VARCHAR) | SELECT population FROM table_name_51 WHERE germans = "87.5%" |
Write a SQL query that answers the following question: How tall is the player from Chicago, IL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (height VARCHAR, hometown VARCHAR) | SELECT height FROM table_name_48 WHERE hometown = "chicago, il" |
Write a SQL query that answers the following question: What college does Dennis Scott attend? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_26 WHERE player = "dennis scott" |
Write a SQL query that answers the following question: Who's from Bay City, TX? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (player VARCHAR, hometown VARCHAR) | SELECT player FROM table_name_20 WHERE hometown = "bay city, tx" |
Write a SQL query that answers the following question: Which NBA Draft had Labradford Smith? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (nba_draft VARCHAR, player VARCHAR) | SELECT nba_draft FROM table_name_61 WHERE player = "labradford smith" |
Write a SQL query that answers the following question: What was the lowest attendance at Windy Hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_77 WHERE venue = "windy hill" |
Write a SQL query that answers the following question: What was the home team's score at Princes Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_6 WHERE venue = "princes park" |
Write a SQL query that answers the following question: How much did the home team Geelong score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_50 WHERE home_team = "geelong" |
Write a SQL query that answers the following question: What is the name of the home team that played Carlton? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_86 WHERE away_team = "carlton" |
Write a SQL query that answers the following question: Name the status with builder of orenstein and koppel | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (status VARCHAR, builder VARCHAR) | SELECT status FROM table_name_54 WHERE builder = "orenstein and koppel" |
Write a SQL query that answers the following question: Who was the builder for joffre | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (builder VARCHAR, name_number VARCHAR) | SELECT builder FROM table_name_60 WHERE name_number = "joffre" |
Write a SQL query that answers the following question: Where did Carlton play as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_14 WHERE home_team = "carlton" |
Write a SQL query that answers the following question: Who was the home team when Melbourne was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_98 WHERE away_team = "melbourne" |
Write a SQL query that answers the following question: What was the result on November 20, 1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_49 WHERE date = "november 20, 1988" |
Write a SQL query that answers the following question: What time was the kickoff on week 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (kickoff_ VARCHAR, a_ VARCHAR, week VARCHAR) | SELECT kickoff_[a_] FROM table_name_60 WHERE week = "5" |
Write a SQL query that answers the following question: Where was the game that had an attendance of 39,889? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (game_site VARCHAR, attendance VARCHAR) | SELECT game_site FROM table_name_64 WHERE attendance = "39,889" |
Write a SQL query that answers the following question: What was the record when the attendance was 43,502? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_95 WHERE attendance = "43,502" |
Write a SQL query that answers the following question: What label released a CD in 1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR, format VARCHAR) | SELECT label FROM table_name_37 WHERE date = "1988" AND format = "cd" |
Write a SQL query that answers the following question: On what date did the United Kingdom have a catalog of FT 507? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (date VARCHAR, region VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_86 WHERE region = "united kingdom" AND catalog = "ft 507" |
Write a SQL query that answers the following question: On what date was the Catalog FT 507? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_93 WHERE catalog = "ft 507" |
Write a SQL query that answers the following question: Which label had a catalog of 54513 in 1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (label VARCHAR, date VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_47 WHERE date = "1988" AND catalog = "54513" |
Write a SQL query that answers the following question: On what date did Fantasy Records release a CD format of catalog FCD-4513-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR) | SELECT date FROM table_name_54 WHERE label = "fantasy records" AND format = "cd" AND catalog = "fcd-4513-2" |
Write a SQL query that answers the following question: What was John Watson's total laps with a grid of less than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (laps VARCHAR, driver VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_21 WHERE driver = "john watson" AND grid < 7 |
Write a SQL query that answers the following question: How many laps were there with #9 grid? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (laps VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_44 WHERE grid = 9 |
Write a SQL query that answers the following question: What was the time/retired with laps less than 33 and a grid of 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_29 WHERE laps < 33 AND grid = 14 |
Write a SQL query that answers the following question: What was John Watson's time/retired? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_46 WHERE driver = "john watson" |
Write a SQL query that answers the following question: What is the player with the no. 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (player VARCHAR, no_s_ VARCHAR) | SELECT player FROM table_name_41 WHERE no_s_ = "14" |
Write a SQL query that answers the following question: What is the height of the player from Benetton Treviso, Italy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR) | SELECT height_in_ft FROM table_name_2 WHERE school_club_team_country = "benetton treviso, italy" |
Write a SQL query that answers the following question: I want to know the pens with conv of 6 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (pens VARCHAR, conv VARCHAR) | SELECT pens FROM table_name_10 WHERE conv = "6" |
Write a SQL query that answers the following question: Which pens has 1 tries and matt alexander as a player with conv of 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (pens VARCHAR, conv VARCHAR, tries VARCHAR, player VARCHAR) | SELECT pens FROM table_name_38 WHERE tries = "1" AND player = "matt alexander" AND conv = "4" |
Write a SQL query that answers the following question: Name the venue that has conv of 5 players on 20 points | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (venue VARCHAR, conv VARCHAR) | SELECT venue FROM table_name_12 WHERE conv = "5 players on 20 points" |
Write a SQL query that answers the following question: What are the names of those who made less than 3 wins in 15 matches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (name VARCHAR, wins VARCHAR, matches VARCHAR) | SELECT name FROM table_name_90 WHERE wins < 3 AND matches < 15 |
Write a SQL query that answers the following question: What is the highest amount of points when the game is less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (high_points VARCHAR, game INTEGER) | SELECT high_points FROM table_name_31 WHERE game < 2 |
Write a SQL query that answers the following question: What was the score on April 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_3 WHERE date = "april 20" |
Write a SQL query that answers the following question: Name the surface on june 11, 1995 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_70 WHERE date = "june 11, 1995" |
Write a SQL query that answers the following question: Name the score for september 12, 1993 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_34 WHERE date = "september 12, 1993" |
Write a SQL query that answers the following question: Name the surface for score of 7–6(4), 6–1 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_71 WHERE score = "7–6(4), 6–1" |
Write a SQL query that answers the following question: Name the date that had a score of 7–6(4), 6–1 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_98 WHERE score = "7–6(4), 6–1" |
Write a SQL query that answers the following question: what is the result for the world group, semifinals after the year 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (result VARCHAR, year VARCHAR, competition VARCHAR) | SELECT result FROM table_name_19 WHERE year > 1997 AND competition = "world group, semifinals" |
Write a SQL query that answers the following question: What home team played against south Melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_54 WHERE away_team = "south melbourne" |
Write a SQL query that answers the following question: What is the average crowd size for the home team essendon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_6 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: What is the home team score when north Melbourne was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_49 WHERE away_team = "north melbourne" |
Write a SQL query that answers the following question: What is the average grid with brm and under 63 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (grid INTEGER, constructor VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_33 WHERE constructor = "brm" AND laps < 63 |
Write a SQL query that answers the following question: On what circuit is there a class gts-2 race that takes place on May 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (circuit VARCHAR, date VARCHAR, class VARCHAR) | SELECT circuit FROM table_name_68 WHERE date = "may 27" AND class = "gts-2" |
Write a SQL query that answers the following question: On what circuit is there a race that lasts 2 hours? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (circuit VARCHAR, length VARCHAR) | SELECT circuit FROM table_name_69 WHERE length = "2 hours" |
Write a SQL query that answers the following question: What class is the dodge dealers grand prix? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (class VARCHAR, race VARCHAR) | SELECT class FROM table_name_23 WHERE race = "the dodge dealers grand prix" |
Write a SQL query that answers the following question: What is the length of the First Union six hours at the Glen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (length VARCHAR, race VARCHAR) | SELECT length FROM table_name_95 WHERE race = "first union six hours at the glen" |
Write a SQL query that answers the following question: What is the class of the race that takes place on August 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (class VARCHAR, date VARCHAR) | SELECT class FROM table_name_20 WHERE date = "august 25" |
Write a SQL query that answers the following question: What was the score when Montreal was home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_94 WHERE home = "montreal" |
Write a SQL query that answers the following question: On 9/3/97, what was the score that resulted in a w? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (score VARCHAR, result VARCHAR, date VARCHAR) | SELECT score FROM table_name_72 WHERE result = "w" AND date = "9/3/97" |
Write a SQL query that answers the following question: Who has a roll value of 422? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (name VARCHAR, roll VARCHAR) | SELECT name FROM table_name_35 WHERE roll = 422 |
Write a SQL query that answers the following question: In what area is the decile value 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (area VARCHAR, decile VARCHAR) | SELECT area FROM table_name_44 WHERE decile = 10 |
Write a SQL query that answers the following question: What is the highest decile value with a roll greater than 301 in Hauraki? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (decile INTEGER, roll VARCHAR, area VARCHAR) | SELECT MAX(decile) FROM table_name_46 WHERE roll > 301 AND area = "hauraki" |
Write a SQL query that answers the following question: Which Points classification has a Trofeo Fast Team of metauro mobili-pinarello, and a Stage of 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (points_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_name_85 WHERE trofeo_fast_team = "metauro mobili-pinarello" AND stage = "6" |
Write a SQL query that answers the following question: Which stage has a Winner of lucien van impe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (stage VARCHAR, winner VARCHAR) | SELECT stage FROM table_name_19 WHERE winner = "lucien van impe" |
Write a SQL query that answers the following question: Which Trofeo Fast Team has a Winner of alessandro paganessi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (trofeo_fast_team VARCHAR, winner VARCHAR) | SELECT trofeo_fast_team FROM table_name_10 WHERE winner = "alessandro paganessi" |
Write a SQL query that answers the following question: Which General classification has a Stage of 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (general_classification VARCHAR, stage VARCHAR) | SELECT general_classification FROM table_name_95 WHERE stage = "7" |
Write a SQL query that answers the following question: Which Winner has a Trofeo Fast Team of metauro mobili-pinarello, and a General classification of giuseppe saronni? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (winner VARCHAR, trofeo_fast_team VARCHAR, general_classification VARCHAR) | SELECT winner FROM table_name_78 WHERE trofeo_fast_team = "metauro mobili-pinarello" AND general_classification = "giuseppe saronni" |
Write a SQL query that answers the following question: What's the report for the mosport park circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (report VARCHAR, circuit VARCHAR) | SELECT report FROM table_name_67 WHERE circuit = "mosport park" |
Write a SQL query that answers the following question: Who has the pole position for the nürburgring circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (pole_position VARCHAR, circuit VARCHAR) | SELECT pole_position FROM table_name_13 WHERE circuit = "nürburgring" |
Write a SQL query that answers the following question: When was pedro rodríguez the winning driver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (date VARCHAR, winning_driver VARCHAR) | SELECT date FROM table_name_77 WHERE winning_driver = "pedro rodríguez" |
Write a SQL query that answers the following question: What's the report for the mexican grand prix? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (report VARCHAR, race VARCHAR) | SELECT report FROM table_name_92 WHERE race = "mexican grand prix" |
Write a SQL query that answers the following question: What is nigel mansell's time/retired? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_6 WHERE driver = "nigel mansell" |
Write a SQL query that answers the following question: What team was the away team at Junction Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_20 WHERE venue = "junction oval" |
Write a SQL query that answers the following question: What is the home team when the visiting team is the Mavericks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_26 WHERE visitor = "mavericks" |
Write a SQL query that answers the following question: What was the average year for a coin that had a mintage smaller than 10,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (year INTEGER, mintage INTEGER) | SELECT AVG(year) FROM table_name_13 WHERE mintage < 10 OFFSET 000 |
Write a SQL query that answers the following question: What is he Atsushi Aoki when the Black Tiger V is ibushi (16:35)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (atsushi_aoki VARCHAR, black_tiger_v VARCHAR) | SELECT atsushi_aoki FROM table_name_96 WHERE black_tiger_v = "ibushi (16:35)" |
Write a SQL query that answers the following question: What is the Akira when Tiger Mask IV is Akira (10:05)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (akira VARCHAR, tiger_mask_iv VARCHAR) | SELECT akira FROM table_name_94 WHERE tiger_mask_iv = "akira (10:05)" |
Write a SQL query that answers the following question: What is the corresponding Akira when Milano Collection A.T is Milano (10:29)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (akira VARCHAR, milano_collection_at VARCHAR) | SELECT akira FROM table_name_58 WHERE milano_collection_at = "milano (10:29)" |
Write a SQL query that answers the following question: What is Block A when Prince Devitt is Devitt (9:53)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (block_a VARCHAR, prince_devitt VARCHAR) | SELECT block_a FROM table_name_49 WHERE prince_devitt = "devitt (9:53)" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.