output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT home_team FROM table_name_93 WHERE venue = "victoria park" | CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR), What is the home team for victoria park? |
SELECT home_team FROM table_name_86 WHERE away_team = "hawthorn" | CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR), Which home team has a Away team of hawthorn? |
SELECT opponent FROM table_name_82 WHERE score = "6–5 13" | CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR), Who is the opponent with a score of 6–5 13? |
SELECT opponent FROM table_name_39 WHERE save = "||33,453||36–27" | , Who is the opponent with a save of |
SELECT MAX(grid) FROM table_name_28 WHERE time_retired = "engine" AND laps < 66 | CREATE TABLE table_name_28 (grid INTEGER, time_retired VARCHAR, laps VARCHAR), What is the top grid that laps less than 66 and a retried engine? |
SELECT MAX(laps) FROM table_name_31 WHERE time_retired = "tyre" | CREATE TABLE table_name_31 (laps INTEGER, time_retired VARCHAR), What is the top lap that had a tyre time? |
SELECT MAX(grid) FROM table_name_73 WHERE driver = "roger williamson" AND laps < 7 | CREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR), What is the top grid that roger williamson lapped less than 7? |
SELECT opponent FROM table_name_31 WHERE record = "10-1" | CREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR), What opponent does she fight when she is 10-1? |
SELECT MAX(round) FROM table_name_98 WHERE time = "3:16" | CREATE TABLE table_name_98 (round INTEGER, time VARCHAR), What is the highest number of rounds for a 3:16 fight? |
SELECT date FROM table_name_35 WHERE home_team = "south melbourne" | CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR), What day is south melbourne at home? |
SELECT COUNT(crowd) FROM table_name_72 WHERE away_team = "hawthorn" | CREATE TABLE table_name_72 (crowd VARCHAR, away_team VARCHAR), What is the listed crowd when hawthorn is away? |
SELECT home_team AS score FROM table_name_49 WHERE venue = "mcg" | CREATE TABLE table_name_49 (home_team VARCHAR, venue VARCHAR), What is the home team's score at mcg? |
SELECT opponent FROM table_name_33 WHERE date = "may 6" | CREATE TABLE table_name_33 (opponent VARCHAR, date VARCHAR), Tell me who was the opponent on May 6 |
SELECT score FROM table_name_61 WHERE opponent = "dodgers" AND date = "april 21" | CREATE TABLE table_name_61 (score VARCHAR, opponent VARCHAR, date VARCHAR), Name the score when the opponent was the dodgers on april 21 |
SELECT SUM(pick) FROM table_name_15 WHERE round = 11 | CREATE TABLE table_name_15 (pick INTEGER, round VARCHAR), What is the number of the pick for round 11? |
SELECT MAX(pick) FROM table_name_82 WHERE round = 8 | CREATE TABLE table_name_82 (pick INTEGER, round VARCHAR), What is the largest pick in round 8? |
SELECT position FROM table_name_44 WHERE school = "washington" | CREATE TABLE table_name_44 (position VARCHAR, school VARCHAR), What is the position of the player for Washington school? |
SELECT play_by_play FROM table_name_89 WHERE studio_host = "ward cornell" | CREATE TABLE table_name_89 (play_by_play VARCHAR, studio_host VARCHAR), Who gave the play by play commentary with studio host Ward Cornell? |
SELECT colour_commentator_s_ FROM table_name_95 WHERE play_by_play = "bill hewitt" | CREATE TABLE table_name_95 (colour_commentator_s_ VARCHAR, play_by_play VARCHAR), Were the color commentators who worked with Bill Hewitt doing the play-by-play? |
SELECT play_by_play FROM table_name_13 WHERE studio_host = "ward cornell" AND colour_commentator_s_ = "bob goldham" | CREATE TABLE table_name_13 (play_by_play VARCHAR, studio_host VARCHAR, colour_commentator_s_ VARCHAR), Who did the play-by-play with studio host Ward Cornell and color commentator Bob Goldham? |
SELECT play_by_play FROM table_name_53 WHERE network = "cbc" AND year < 1961 | CREATE TABLE table_name_53 (play_by_play VARCHAR, network VARCHAR, year VARCHAR), Who did the play-by-play on the CBC network before 1961? |
SELECT award FROM table_name_84 WHERE result = "#100" | CREATE TABLE table_name_84 (award VARCHAR, result VARCHAR), What's the award for #100? |
SELECT award FROM table_name_37 WHERE year = 2000 AND result = "nominated" | CREATE TABLE table_name_37 (award VARCHAR, year VARCHAR, result VARCHAR), Which award was nominated for in 2000? |
SELECT result FROM table_name_7 WHERE year < 2000 | CREATE TABLE table_name_7 (result VARCHAR, year INTEGER), What were the results before the year 2000? |
SELECT 2 AS nd_leg FROM table_name_78 WHERE team_1 = "comunicaciones" | CREATE TABLE table_name_78 (team_1 VARCHAR), What is the 2nd leg of the Comunicaciones team? |
SELECT 1 AS st_leg FROM table_name_12 WHERE team_1 = "c.d. plaza amador" | CREATE TABLE table_name_12 (team_1 VARCHAR), What is the 1st leg where Team 1 is C.D. Plaza Amador? |
SELECT 1 AS st_leg FROM table_name_48 WHERE team_1 = "c.d. plaza amador" | CREATE TABLE table_name_48 (team_1 VARCHAR), What is the 1st leg where Team 1 is C.D. Plaza Amador? |
SELECT partner FROM table_name_14 WHERE surface = "hard" | CREATE TABLE table_name_14 (partner VARCHAR, surface VARCHAR), Who played on a hard surface? |
SELECT away_team AS score FROM table_name_80 WHERE away_team = "north melbourne" | CREATE TABLE table_name_80 (away_team VARCHAR), What is north melbourne's score as an away side? |
SELECT AVG(year) FROM table_name_16 WHERE award = "fantasia section award" | CREATE TABLE table_name_16 (year INTEGER, award VARCHAR), What is the average year of the Fantasia Section Award? |
SELECT SUM(pick) FROM table_name_24 WHERE team = "tri-cities blackhawks" AND college = "drake" | CREATE TABLE table_name_24 (pick INTEGER, team VARCHAR, college VARCHAR), What is the sum total of picks for drake players from the tri-cities blackhawks? |
SELECT MIN(pick) FROM table_name_13 WHERE college = "king's (ny)" | CREATE TABLE table_name_13 (pick INTEGER, college VARCHAR), What is the lowest pick number for players from king's (ny)? |
SELECT home FROM table_name_22 WHERE visitor = "calgary" AND attendance > 15 OFFSET 655 | CREATE TABLE table_name_22 (home VARCHAR, visitor VARCHAR, attendance VARCHAR), Who was the Home Team while Calgary was visiting while having an Attendance above 15,655? |
SELECT MIN(frequency___hz__) FROM table_name_48 WHERE helmholtz_pitch = "d" | CREATE TABLE table_name_48 (frequency___hz__ INTEGER, helmholtz_pitch VARCHAR), What is the lowest Frequency where the Hemholtz pitch is d? |
SELECT scientific_pitch FROM table_name_33 WHERE helmholtz_pitch = "d" | CREATE TABLE table_name_33 (scientific_pitch VARCHAR, helmholtz_pitch VARCHAR), What is the scientific pitch when the Helmholtz pitch is D? |
SELECT constructor FROM table_name_17 WHERE circuit = "oulton park" AND date = "15 april" | CREATE TABLE table_name_17 (constructor VARCHAR, circuit VARCHAR, date VARCHAR), What company constrcuted the vehicle with a circuit of oulton park on 15 april? |
SELECT race_name FROM table_name_29 WHERE date = "16 september" | CREATE TABLE table_name_29 (race_name VARCHAR, date VARCHAR), What is the name of the race on 16 september? |
SELECT circuit FROM table_name_49 WHERE date = "15 april" | CREATE TABLE table_name_49 (circuit VARCHAR, date VARCHAR), What is the circuit held on 15 april? |
SELECT date FROM table_name_80 WHERE race_name = "xiv international gold cup" | CREATE TABLE table_name_80 (date VARCHAR, race_name VARCHAR), What date was the xiv international gold cup? |
SELECT date FROM table_name_21 WHERE race_title = "lakeside" | CREATE TABLE table_name_21 (date VARCHAR, race_title VARCHAR), Name the date for race title lakeside |
SELECT team FROM table_name_60 WHERE race_title = "launceston" | CREATE TABLE table_name_60 (team VARCHAR, race_title VARCHAR), Name the team for launceston |
SELECT player FROM table_name_7 WHERE bowling_style = "source:" | CREATE TABLE table_name_7 (player VARCHAR, bowling_style VARCHAR), Who has a bowling style of source:? |
SELECT first_class_team FROM table_name_51 WHERE player = "sanath jayasuriya" | CREATE TABLE table_name_51 (first_class_team VARCHAR, player VARCHAR), What first class team does sanath jayasuriya play for? |
SELECT date_of_birth FROM table_name_71 WHERE player = "roshan mahanama" | CREATE TABLE table_name_71 (date_of_birth VARCHAR, player VARCHAR), When was roshan mahanama born? |
SELECT date_of_birth FROM table_name_51 WHERE player = "avishka gunawardene" | CREATE TABLE table_name_51 (date_of_birth VARCHAR, player VARCHAR), When was avishka gunawardene born? |
SELECT venue FROM table_name_33 WHERE result = "2-1" | CREATE TABLE table_name_33 (venue VARCHAR, result VARCHAR), What was the venue where the result was 2-1? |
SELECT score FROM table_name_44 WHERE result = "3-0" | CREATE TABLE table_name_44 (score VARCHAR, result VARCHAR), What was the score of the match with a 3-0 result? |
SELECT score FROM table_name_79 WHERE date = "july 29, 1990" | CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR), What is the score of the match on July 29, 1990? |
SELECT venue FROM table_name_77 WHERE competition = "1990 asian games" | CREATE TABLE table_name_77 (venue VARCHAR, competition VARCHAR), What is the venue of the 1990 Asian games? |
SELECT score FROM table_name_82 WHERE date = "october 5, 1990" | CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR), What is the score of the match on October 5, 1990? |
SELECT competition FROM table_name_21 WHERE venue = "ta'qali" | CREATE TABLE table_name_21 (competition VARCHAR, venue VARCHAR), What is the competition at the ta'qali venue? |
SELECT AVG(against) FROM table_name_99 WHERE lost < 7 AND drawn > 6 AND points = 25 | CREATE TABLE table_name_99 (against INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR), What is the average against score of all teams with less than 7 losses, more than 6 draws, and 25 points? |
SELECT MIN(points) FROM table_name_3 WHERE drawn < 6 AND played < 18 | CREATE TABLE table_name_3 (points INTEGER, drawn VARCHAR, played VARCHAR), What is the lowest number of points of any team with less than 6 draws and less than 18 matches played? |
SELECT SUM(points) FROM table_name_96 WHERE against < 14 | CREATE TABLE table_name_96 (points INTEGER, against INTEGER), What is the sum of the points of all teams that had against scores less than 14? |
SELECT listed FROM table_name_46 WHERE construction_completed = "08/10/2007" | CREATE TABLE table_name_46 (listed VARCHAR, construction_completed VARCHAR), What construction completed on 08/10/2007? |
SELECT away_team FROM table_name_11 WHERE venue = "western oval" | CREATE TABLE table_name_11 (away_team VARCHAR, venue VARCHAR), What away team played at western oval? |
SELECT home_team FROM table_name_28 WHERE away_team = "richmond" | CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR), What home team has an Away team of richmond? |
SELECT home_team AS score FROM table_name_76 WHERE away_team = "essendon" | CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR), Which home team has an Away team of essendon? |
SELECT tuesday FROM table_name_16 WHERE series = "big brother 12" | CREATE TABLE table_name_16 (tuesday VARCHAR, series VARCHAR), Which Tuesday does big brother 12 air? |
SELECT series FROM table_name_20 WHERE saturday = "channel 5" | CREATE TABLE table_name_20 (series VARCHAR, saturday VARCHAR), Which series airs Saturday on Channel 5? |
SELECT thursday FROM table_name_59 WHERE series = "big brother 13" | CREATE TABLE table_name_59 (thursday VARCHAR, series VARCHAR), Which Thursday does big brother 13 air? |
SELECT MAX(lost) FROM table_name_74 WHERE points = 32 AND difference < 86 | CREATE TABLE table_name_74 (lost INTEGER, points VARCHAR, difference VARCHAR), What is the most lost games for the team with a difference smaller than 86 and points of 32? |
SELECT AVG(points) FROM table_name_56 WHERE lost = 4 AND played > 28 | CREATE TABLE table_name_56 (points INTEGER, lost VARCHAR, played VARCHAR), What is the average points for a team that lost 4 and played more than 28 games? |
SELECT MAX(difference) FROM table_name_98 WHERE drew < 0 | CREATE TABLE table_name_98 (difference INTEGER, drew INTEGER), What is the highest difference for the team that had less than 0 draws? |
SELECT SUM(bronze) FROM table_name_51 WHERE total < 1 | CREATE TABLE table_name_51 (bronze INTEGER, total INTEGER), What is the total number of bronze when the total is less than 1? |
SELECT SUM(total) FROM table_name_45 WHERE nation = "austria" AND gold < 0 | CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, gold VARCHAR), What is the full amount of Total for Austria when the number of gold is less than 0? |
SELECT name FROM table_name_89 WHERE rank = 5 | CREATE TABLE table_name_89 (name VARCHAR, rank VARCHAR), What is the name of Rank 5? |
SELECT AVG(rank) FROM table_name_7 WHERE rmax_rpeak___pflops__ = "17.173 20.133" | CREATE TABLE table_name_7 (rank INTEGER, rmax_rpeak___pflops__ VARCHAR), What is the rank of Rmax Rpeak ( Pflops ) of 17.173 20.133? |
SELECT tyre FROM table_name_58 WHERE fastest_lap = "bruce mclaren" | CREATE TABLE table_name_58 (tyre VARCHAR, fastest_lap VARCHAR), What is the tyre on the race where Bruce Mclaren had the fastest lap? |
SELECT constructor FROM table_name_65 WHERE race = "united states grand prix" | CREATE TABLE table_name_65 (constructor VARCHAR, race VARCHAR), What is the constructor at the United States Grand Prix? |
SELECT date FROM table_name_97 WHERE circuit = "monaco" | CREATE TABLE table_name_97 (date VARCHAR, circuit VARCHAR), What is the date of the circuit of Monaco? |
SELECT tyre FROM table_name_82 WHERE fastest_lap = "jim clark" AND circuit = "prince george" | CREATE TABLE table_name_82 (tyre VARCHAR, fastest_lap VARCHAR, circuit VARCHAR), What is the tyre for the circuit of Prince George, which had Jim Clark as the fastest lap? |
SELECT date FROM table_name_47 WHERE winning_driver = "graham hill" AND circuit = "nürburgring" | CREATE TABLE table_name_47 (date VARCHAR, winning_driver VARCHAR, circuit VARCHAR), What is the date of the circuit of nürburgring, which had Graham Hill as the winning driver? |
SELECT game FROM table_name_69 WHERE player = "eoin holohan" | CREATE TABLE table_name_69 (game VARCHAR, player VARCHAR), What game did Eoin Holohan play in? |
SELECT weekly_rank_for_living FROM table_name_96 WHERE air_date = "october 6, 2008" | CREATE TABLE table_name_96 (weekly_rank_for_living VARCHAR, air_date VARCHAR), what is the weekly rank for living when the air date is october 6, 2008? |
SELECT episode FROM table_name_64 WHERE viewers = "183,000" | CREATE TABLE table_name_64 (episode VARCHAR, viewers VARCHAR), what is the episode with the 183,000 viewers? |
SELECT viewers FROM table_name_25 WHERE weekly_rank_for_living = "4" | CREATE TABLE table_name_25 (viewers VARCHAR, weekly_rank_for_living VARCHAR), How many viewers for the episode with the weekly rank for living of 4? |
SELECT away_team AS score FROM table_name_42 WHERE venue = "kardinia park" | CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR), Which Away team score has a Venue of kardinia park? |
SELECT home_team AS score FROM table_name_47 WHERE home_team = "geelong" | CREATE TABLE table_name_47 (home_team VARCHAR), Which Home team score has a Home team of geelong? |
SELECT venue FROM table_name_45 WHERE home_team = "geelong" | CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR), Which Venue has a Home team of geelong? |
SELECT school FROM table_name_23 WHERE hometown = "raleigh, nc" | CREATE TABLE table_name_23 (school VARCHAR, hometown VARCHAR), Which school is in Raleigh, NC? |
SELECT college FROM table_name_44 WHERE player = "peyton siva" | CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR), Which college does Peyton Siva play for? |
SELECT height FROM table_name_40 WHERE school = "franklin high school" | CREATE TABLE table_name_40 (height VARCHAR, school VARCHAR), Which height is associated with Franklin High School? |
SELECT height FROM table_name_93 WHERE player = "daniel orton" | CREATE TABLE table_name_93 (height VARCHAR, player VARCHAR), How tall is Daniel Orton? |
SELECT school FROM table_name_76 WHERE hometown = "riverside, ca" | CREATE TABLE table_name_76 (school VARCHAR, hometown VARCHAR), Which school is in Riverside, CA? |
SELECT round FROM table_name_87 WHERE position = "defensive back" | CREATE TABLE table_name_87 (round VARCHAR, position VARCHAR), During which round was a Hawkeyes player selected for the defensive back position? |
SELECT MAX(round) FROM table_name_22 WHERE pick > 50 AND player = "derek pagel" | CREATE TABLE table_name_22 (round INTEGER, pick VARCHAR, player VARCHAR), What was the latest round that Derek Pagel was selected with a pick higher than 50? |
SELECT MIN(began_operation) FROM table_name_7 WHERE length__km_ = "sultan ismail" AND stations > 27 | CREATE TABLE table_name_7 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR), When is the earliest began operation with a length of sultan ismail and over 27 stations? |
SELECT AVG(began_operation) FROM table_name_12 WHERE length__km_ = "ampang" AND stations > 27 | CREATE TABLE table_name_12 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR), What is the average operation beginning with a length of ampang and over 27 stations? |
SELECT nationality FROM table_name_24 WHERE ship = "appam" | CREATE TABLE table_name_24 (nationality VARCHAR, ship VARCHAR), what is the nationality of the ship appam? |
SELECT tonnage_grt FROM table_name_40 WHERE ship = "author" | CREATE TABLE table_name_40 (tonnage_grt VARCHAR, ship VARCHAR), what is the tonnage grt of the ship author? |
SELECT MAX(tonnage_grt) FROM table_name_80 WHERE date = "16 jan 16" | CREATE TABLE table_name_80 (tonnage_grt INTEGER, date VARCHAR), what is the most tonnage grt of any ship sunk or captured on 16 jan 16? |
SELECT COUNT(tonnage_grt) FROM table_name_94 WHERE type = "cargo ship" AND date = "4 feb 16" | CREATE TABLE table_name_94 (tonnage_grt VARCHAR, type VARCHAR, date VARCHAR), what is the total tonnage grt of the cargo ship(s) sunk or captured on 4 feb 16? |
SELECT rank FROM table_name_25 WHERE gold < 1 AND silver > 0 | CREATE TABLE table_name_25 (rank VARCHAR, gold VARCHAR, silver VARCHAR), What Rank has a gold smaller than 1, and a silver larger than 0? |
SELECT year_completed FROM table_name_20 WHERE line = "gardermobanen" | CREATE TABLE table_name_20 (year_completed VARCHAR, line VARCHAR), What year was the Line of Gardermobanen completed? |
SELECT line FROM table_name_82 WHERE name = "geumjeong tunnel" | CREATE TABLE table_name_82 (line VARCHAR, name VARCHAR), Which line is the Geumjeong tunnel? |
SELECT date FROM table_name_67 WHERE round = "sf" | CREATE TABLE table_name_67 (date VARCHAR, round VARCHAR), What is the Date with a Round with sf? |
SELECT opponent FROM table_name_24 WHERE round = "3" AND venue = "home" | CREATE TABLE table_name_24 (opponent VARCHAR, round VARCHAR, venue VARCHAR), What is the Opponent with a Round with 3, and a Venue of home? |
SELECT date FROM table_name_75 WHERE opponent = "wimbledon" AND result = "drew 0-0" | CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, result VARCHAR), What is the Date with an Opponent with wimbledon, and a Result of drew 0-0? |
SELECT round FROM table_name_15 WHERE opponent = "blackburn" | CREATE TABLE table_name_15 (round VARCHAR, opponent VARCHAR), What is the Round with a Opponent with blackburn? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.