output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT date FROM table_name_25 WHERE opponent = "wimbledon" AND result = "won 2-0"
CREATE TABLE table_name_25 (date VARCHAR, opponent VARCHAR, result VARCHAR), What is the Date with a Opponent with wimbledon, and a Result of won 2-0?
SELECT venue FROM table_name_57 WHERE date = "14 april 2002"
CREATE TABLE table_name_57 (venue VARCHAR, date VARCHAR), What is the Venue with a Date with 14 april 2002?
SELECT MIN(withdrawn) FROM table_name_10 WHERE gnri_no > 172 AND name = "croagh patrick" AND rebuilt < 1939
CREATE TABLE table_name_10 (withdrawn INTEGER, rebuilt VARCHAR, gnri_no VARCHAR, name VARCHAR), What is the smallest withdrawn value with a GNRI greater than 172, name of Croagh Patrick and was rebuilt before 1939?
SELECT location FROM table_name_19 WHERE bowl = "california bowl" AND attendance = "30,000"
CREATE TABLE table_name_19 (location VARCHAR, bowl VARCHAR, attendance VARCHAR), Where was the California bowl played with 30,000 attending?
SELECT stadium FROM table_name_56 WHERE opponent = "cal state fullerton titans"
CREATE TABLE table_name_56 (stadium VARCHAR, opponent VARCHAR), What stadium had an opponent of Cal State Fullerton Titans?
SELECT time_retired FROM table_name_92 WHERE driver = "thierry boutsen"
CREATE TABLE table_name_92 (time_retired VARCHAR, driver VARCHAR), What is the time/retired for thierry boutsen?
SELECT pitch FROM table_name_97 WHERE location = "isle of man"
CREATE TABLE table_name_97 (pitch VARCHAR, location VARCHAR), What Pitch is located at Isle of Man?
SELECT name__english_ FROM table_name_76 WHERE location = "chester"
CREATE TABLE table_name_76 (name__english_ VARCHAR, location VARCHAR), What is the English Name of the Location in Chester?
SELECT location FROM table_name_97 WHERE pitch = "old bedians"
CREATE TABLE table_name_97 (location VARCHAR, pitch VARCHAR), What is the Location of the Old Bedians Pitch?
SELECT report FROM table_name_11 WHERE race_name = "v grand prix de paris"
CREATE TABLE table_name_11 (report VARCHAR, race_name VARCHAR), Name the report for v grand prix de paris
SELECT report FROM table_name_98 WHERE date = "20 may"
CREATE TABLE table_name_98 (report VARCHAR, date VARCHAR), Name the report on 20 may
SELECT report FROM table_name_74 WHERE winning_driver = "philip fotheringham-parker"
CREATE TABLE table_name_74 (report VARCHAR, winning_driver VARCHAR), Name the report for philip fotheringham-parker
SELECT date FROM table_name_76 WHERE circuit = "pescara"
CREATE TABLE table_name_76 (date VARCHAR, circuit VARCHAR), Name the date for pescara
SELECT catalogue FROM table_name_34 WHERE date = "october 15, 2004"
CREATE TABLE table_name_34 (catalogue VARCHAR, date VARCHAR), What is the catalogue on october 15, 2004?
SELECT label FROM table_name_97 WHERE date = "january 24, 2005"
CREATE TABLE table_name_97 (label VARCHAR, date VARCHAR), Name the label for january 24, 2005
SELECT catalogue FROM table_name_48 WHERE date = "october 15, 2004"
CREATE TABLE table_name_48 (catalogue VARCHAR, date VARCHAR), Name the october 15, 2004 catalogue
SELECT date FROM table_name_81 WHERE format = "cd"
CREATE TABLE table_name_81 (date VARCHAR, format VARCHAR), Name the date that is a cd
SELECT region FROM table_name_33 WHERE date = "december 7, 2004"
CREATE TABLE table_name_33 (region VARCHAR, date VARCHAR), Name the region for december 7, 2004
SELECT catalogue FROM table_name_53 WHERE region = "australia"
CREATE TABLE table_name_53 (catalogue VARCHAR, region VARCHAR), Name the catalogue for australia
SELECT player FROM table_name_10 WHERE rank = 2 AND seasons = "1982–83, 1983–84, 1984–85"
CREATE TABLE table_name_10 (player VARCHAR, rank VARCHAR, seasons VARCHAR), What player is ranked 2 and played in the seasons of 1982–83, 1983–84, 1984–85?
SELECT COUNT(rank) FROM table_name_35 WHERE player = "giuseppe meazza" AND titles > 3
CREATE TABLE table_name_35 (rank VARCHAR, player VARCHAR, titles VARCHAR), How many rankings are associated with giuseppe meazza holding over 3 titles?
SELECT home_team FROM table_name_95 WHERE crowd > 20 OFFSET 000
CREATE TABLE table_name_95 (home_team VARCHAR, crowd INTEGER), What home team has had a crowd bigger than 20,000?
SELECT venue FROM table_name_87 WHERE away_team = "footscray"
CREATE TABLE table_name_87 (venue VARCHAR, away_team VARCHAR), What venue had footscray play at it?
SELECT away_team AS score FROM table_name_57 WHERE venue = "victoria park"
CREATE TABLE table_name_57 (away_team VARCHAR, venue VARCHAR), How much did the away team score at victoria park?
SELECT regional_county_municipality FROM table_name_30 WHERE area__km_2__ > 108.46 AND population = 719
CREATE TABLE table_name_30 (regional_county_municipality VARCHAR, area__km_2__ VARCHAR, population VARCHAR), What municipality has 719 people and is larger than 108.46 km2?
SELECT COUNT(region) FROM table_name_14 WHERE name = "malartic" AND area__km_2__ < 159.31
CREATE TABLE table_name_14 (region VARCHAR, name VARCHAR, area__km_2__ VARCHAR), What was the region for Malartic with 159.31 km2?
SELECT MIN(area__km_2__) FROM table_name_22 WHERE name = "dupuy"
CREATE TABLE table_name_22 (area__km_2__ INTEGER, name VARCHAR), What is Dupuy lowest area in km2?
SELECT AVG(area__km_2__) FROM table_name_46 WHERE population = 311
CREATE TABLE table_name_46 (area__km_2__ INTEGER, population VARCHAR), What is the km2 area for the population of 311?
SELECT type FROM table_name_77 WHERE population = 370
CREATE TABLE table_name_77 (type VARCHAR, population VARCHAR), What type has a population of 370?
SELECT away_team AS score FROM table_name_18 WHERE home_team = "geelong"
CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR), What is the score of the away team that played home team Geelong?
SELECT source FROM table_name_88 WHERE knight = "2%"
CREATE TABLE table_name_88 (source VARCHAR, knight VARCHAR), What source has a Knight of 2%?
SELECT lanier FROM table_name_60 WHERE cardwell = "20%"
CREATE TABLE table_name_60 (lanier VARCHAR, cardwell VARCHAR), What Lanier has a Cardwell of 20%?
SELECT martin FROM table_name_36 WHERE date = "july 8–9, 2008"
CREATE TABLE table_name_36 (martin VARCHAR, date VARCHAR), What martin is on july 8–9, 2008?
SELECT source FROM table_name_18 WHERE cardwell = "20%"
CREATE TABLE table_name_18 (source VARCHAR, cardwell VARCHAR), What source has a cardwell of 20%?
SELECT martin FROM table_name_42 WHERE lanier = "6%"
CREATE TABLE table_name_42 (martin VARCHAR, lanier VARCHAR), What martin has a lanier of 6%?
SELECT cardwell FROM table_name_43 WHERE source = "insider advantage" AND knight = "1%"
CREATE TABLE table_name_43 (cardwell VARCHAR, source VARCHAR, knight VARCHAR), What cardwell has an insider advantage and a knight of 1%
SELECT weight_at_birth FROM table_name_2 WHERE gender = "girl" AND nickname = "chidi"
CREATE TABLE table_name_2 (weight_at_birth VARCHAR, gender VARCHAR, nickname VARCHAR), How much did the girl, nicknamed Chidi, weigh at birth?
SELECT nickname FROM table_name_63 WHERE meaning = "god knows my journey"
CREATE TABLE table_name_63 (nickname VARCHAR, meaning VARCHAR), What nickname has the meaning of God knows my journey?
SELECT nickname FROM table_name_64 WHERE gender = "boy" AND weight_at_birth = "810g (26.0 oz.)"
CREATE TABLE table_name_64 (nickname VARCHAR, gender VARCHAR, weight_at_birth VARCHAR), What is the nickname of the boy who weighed 810g (26.0 oz.) at birth?
SELECT weight_at_birth FROM table_name_24 WHERE meaning = "god knows my journey"
CREATE TABLE table_name_24 (weight_at_birth VARCHAR, meaning VARCHAR), How much did the baby who name means God knows my journey weigh at birth?
SELECT gender FROM table_name_64 WHERE full_name = "chukwubuikem maduabuchi"
CREATE TABLE table_name_64 (gender VARCHAR, full_name VARCHAR), Chukwubuikem Maduabuchi is what gender?
SELECT nickname FROM table_name_58 WHERE weight_at_birth = "730g (23.5 oz.)"
CREATE TABLE table_name_58 (nickname VARCHAR, weight_at_birth VARCHAR), What is the nickname of the baby with the birth weight of 730g (23.5 oz.)?
SELECT set_3 FROM table_name_96 WHERE date = "29 sep" AND time = "16:40"
CREATE TABLE table_name_96 (set_3 VARCHAR, date VARCHAR, time VARCHAR), For a date of 29 Sep and a time of 16:40, what is the corresponding Set 3?
SELECT score FROM table_name_43 WHERE time = "14:10"
CREATE TABLE table_name_43 (score VARCHAR, time VARCHAR), What Score has a time of 14:10?
SELECT winner FROM table_name_55 WHERE trofeo_fast_team = "carrera jeans-vagabond" AND stage = "5"
CREATE TABLE table_name_55 (winner VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR), who is the winner when the trofeo fast team is carrera jeans-vagabond in stage 5?
SELECT trofeo_fast_team FROM table_name_32 WHERE stage = "10"
CREATE TABLE table_name_32 (trofeo_fast_team VARCHAR, stage VARCHAR), who was the trofeo fast team in stage 10?
SELECT trofeo_fast_team FROM table_name_57 WHERE stage = "10"
CREATE TABLE table_name_57 (trofeo_fast_team VARCHAR, stage VARCHAR), who is the trofeo fast team in stage 10?
SELECT points_classification FROM table_name_64 WHERE stage = "1"
CREATE TABLE table_name_64 (points_classification VARCHAR, stage VARCHAR), who is the points classification in stage 1?
SELECT stage FROM table_name_80 WHERE winner = "charly mottet"
CREATE TABLE table_name_80 (stage VARCHAR, winner VARCHAR), what is the stage when the winner is charly mottet?
SELECT manufacturer FROM table_name_21 WHERE finish < 42 AND start = 19
CREATE TABLE table_name_21 (manufacturer VARCHAR, finish VARCHAR, start VARCHAR), Who was the maufacturer of the vehicle during the race where Cale Yarborough started at 19 and finished earlier than 42?
SELECT MIN(finish) FROM table_name_69 WHERE year > 1972 AND manufacturer = "pontiac"
CREATE TABLE table_name_69 (finish INTEGER, year VARCHAR, manufacturer VARCHAR), What is the smallest finish time for a race after 1972 with a car manufactured by pontiac?
SELECT MIN(finish) FROM table_name_45 WHERE year > 1978 AND manufacturer = "buick" AND start < 3
CREATE TABLE table_name_45 (finish INTEGER, start VARCHAR, year VARCHAR, manufacturer VARCHAR), What is the smallest finish time for a race where start was less than 3, buick was the manufacturer, and the race was held after 1978?
SELECT home_team FROM table_name_68 WHERE attendance = "16,971"
CREATE TABLE table_name_68 (home_team VARCHAR, attendance VARCHAR), What home team had an attendance record of 16,971?
SELECT track FROM table_name_34 WHERE catalogue = "apbo 0280"
CREATE TABLE table_name_34 (track VARCHAR, catalogue VARCHAR), Tell me the track that has the catalogue of apbo 0280
SELECT SUM(track) FROM table_name_99 WHERE song_title = "raised on rock"
CREATE TABLE table_name_99 (track INTEGER, song_title VARCHAR), I want the sum of tracks for raised on rock
SELECT time FROM table_name_95 WHERE release_date = "6/6/77" AND song_title = "way down"
CREATE TABLE table_name_95 (time VARCHAR, release_date VARCHAR, song_title VARCHAR), Tell me the time for 6/6/77 release date and song title of way down
SELECT recorded FROM table_name_84 WHERE track > 20 AND release_date = "6/6/77" AND time = "2:50"
CREATE TABLE table_name_84 (recorded VARCHAR, time VARCHAR, track VARCHAR, release_date VARCHAR), Tell me the recorded for time of 2:50 and released date of 6/6/77 with track more than 20
SELECT release_date FROM table_name_45 WHERE time = "2:50" AND recorded = "10/29/76"
CREATE TABLE table_name_45 (release_date VARCHAR, time VARCHAR, recorded VARCHAR), Tell me the release date record on 10/29/76 and a time on 2:50
SELECT catalogue FROM table_name_28 WHERE track < 13 AND release_date = "10/31/72"
CREATE TABLE table_name_28 (catalogue VARCHAR, track VARCHAR, release_date VARCHAR), Name the catalogue that has tracks less than 13 and the release date of 10/31/72
SELECT opening_date FROM table_name_6 WHERE classification = "musical" AND theatre = "adelphi theatre"
CREATE TABLE table_name_6 (opening_date VARCHAR, classification VARCHAR, theatre VARCHAR), What is the opening date of the musical at the adelphi theatre?
SELECT opening_date FROM table_name_53 WHERE capacity = 100
CREATE TABLE table_name_53 (opening_date VARCHAR, capacity VARCHAR), What opening date has a capacity of 100?
SELECT AVG(wins) FROM table_name_14 WHERE rank < 1
CREATE TABLE table_name_14 (wins INTEGER, rank INTEGER), On average, how many wins have a rank lower than 1?
SELECT MIN(earnings__) AS $__ FROM table_name_78 WHERE wins = 22 AND rank < 2
CREATE TABLE table_name_78 (earnings__ INTEGER, wins VARCHAR, rank VARCHAR), What is the lowest level of Earnings($) to have a Wins value of 22 and a Rank lower than 2?
SELECT COUNT(earnings__) AS $__ FROM table_name_28 WHERE country = "united states" AND wins < 24 AND player = "george archer" AND rank > 5
CREATE TABLE table_name_28 (earnings__ VARCHAR, rank VARCHAR, player VARCHAR, country VARCHAR, wins VARCHAR), In total, how much did the United States player George Archer earn with Wins lower than 24 and a rank that was higher than 5?
SELECT state FROM table_name_47 WHERE member = "hon david beddall"
CREATE TABLE table_name_47 (state VARCHAR, member VARCHAR), What state did Hon David Beddall belong to?
SELECT state FROM table_name_1 WHERE electorate = "fowler"
CREATE TABLE table_name_1 (state VARCHAR, electorate VARCHAR), In what state was the electorate fowler?
SELECT pos FROM table_name_57 WHERE school_country = "arkansas"
CREATE TABLE table_name_57 (pos VARCHAR, school_country VARCHAR), What position does the player from arkansas play?
SELECT word__number FROM table_name_37 WHERE name = "omega dot"
CREATE TABLE table_name_37 (word__number VARCHAR, name VARCHAR), What is the word count that is named omega dot?
SELECT SUM(word__number) FROM table_name_43 WHERE subframe__number > 3
CREATE TABLE table_name_43 (word__number INTEGER, subframe__number INTEGER), What is the total word count with a subframe count greater than 3?
SELECT SUM(grid) FROM table_name_78 WHERE laps < 2
CREATE TABLE table_name_78 (grid INTEGER, laps INTEGER), What is the total grid with laps less than 2?
SELECT time_retired FROM table_name_9 WHERE laps < 35 AND grid < 10
CREATE TABLE table_name_9 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR), How much time is required for less than 35 laps and less than 10 grids?
SELECT venue FROM table_name_24 WHERE goal = 1
CREATE TABLE table_name_24 (venue VARCHAR, goal VARCHAR), What is the Venue for Goal number 1?
SELECT airing_date FROM table_name_73 WHERE number_of_episodes > 20 AND genre = "costume action"
CREATE TABLE table_name_73 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR), What was the airing date when the number of episodes was larger than 20 and had the genre of costume action?
SELECT AVG(number_of_episodes) FROM table_name_34 WHERE genre = "modern drama" AND highest_average_point_ratings = 28
CREATE TABLE table_name_34 (number_of_episodes INTEGER, genre VARCHAR, highest_average_point_ratings VARCHAR), What are the number of episodes when the genre is modern drama and the highest average ratings points are 28?
SELECT year FROM table_name_60 WHERE issue_price = "$16.95" AND artist = "s.a. allward"
CREATE TABLE table_name_60 (year VARCHAR, issue_price VARCHAR, artist VARCHAR), What year was S.A. Allward's theme that had an issue price of $16.95 released?
SELECT COUNT(mintage) FROM table_name_68 WHERE theme = "85th anniversary of vimy ridge" AND year > 2002
CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR), What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme?
SELECT crowd FROM table_name_29 WHERE away_team = "footscray"
CREATE TABLE table_name_29 (crowd VARCHAR, away_team VARCHAR), How many people attended the game where Footscray was away?
SELECT SUM(pages) FROM table_name_75 WHERE isbn = "isbn 91-7713-035-9"
CREATE TABLE table_name_75 (pages INTEGER, isbn VARCHAR), How many pages associated with isbn 91-7713-035-9?
SELECT away_team FROM table_name_18 WHERE venue = "mcg"
CREATE TABLE table_name_18 (away_team VARCHAR, venue VARCHAR), What home team played at MCG?
SELECT away_team AS score FROM table_name_63 WHERE venue = "kardinia park"
CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR), What away team played at Kardinia Park?
SELECT date FROM table_name_63 WHERE venue = "lake oval"
CREATE TABLE table_name_63 (date VARCHAR, venue VARCHAR), On what date did the match at Lake Oval take place?
SELECT date FROM table_name_76 WHERE home_team = "north melbourne"
CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR), What wa the date of the North Melbourne home game?
SELECT MIN(crowd) FROM table_name_1 WHERE venue = "mcg"
CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR), What was the lowest crowd size at MCG?
SELECT opponent FROM table_name_60 WHERE date = "december 23, 1995"
CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR), Who did the Tampa Bay Buccaneers play on december 23, 1995?
SELECT date FROM table_name_2 WHERE week = "4"
CREATE TABLE table_name_2 (date VARCHAR, week VARCHAR), On what date was Tampa Bay's Week 4 game?
SELECT week FROM table_name_87 WHERE date = "november 19, 1995"
CREATE TABLE table_name_87 (week VARCHAR, date VARCHAR), What week was it on November 19, 1995?
SELECT MAX(gold) FROM table_name_19 WHERE silver < 2 AND total > 7 AND bronze < 8
CREATE TABLE table_name_19 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR), What is the most gold medals a team with less than 2 silvers, more than 7 total medals, and less than 8 bronze medals has?
SELECT SUM(bronze) FROM table_name_55 WHERE nation = "scotland" AND total < 7
CREATE TABLE table_name_55 (bronze INTEGER, nation VARCHAR, total VARCHAR), What is the number of bronze that Scotland, which has less than 7 total medals, has?
SELECT AVG(silver) FROM table_name_2 WHERE gold = 1 AND bronze > 5
CREATE TABLE table_name_2 (silver INTEGER, gold VARCHAR, bronze VARCHAR), What is the average silver medals a team that has 1 gold and more than 5 bronze has?
SELECT COUNT(bronze) FROM table_name_97 WHERE silver > 0 AND total = 7 AND gold < 1
CREATE TABLE table_name_97 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR), What is the total number of bronze a team with more than 0 silver, a total of 7 medals, and less than 1 gold medal has?
SELECT MAX(rank) FROM table_name_66 WHERE silver = 1 AND bronze < 5
CREATE TABLE table_name_66 (rank INTEGER, silver VARCHAR, bronze VARCHAR), What is the highest rank a team with 1 silver and less than 5 bronze medals has?
SELECT MAX(pl_gp) FROM table_name_22 WHERE reg_gp > 18
CREATE TABLE table_name_22 (pl_gp INTEGER, reg_gp INTEGER), What's the highest Pl GP with a Reg GP over 18?
SELECT score FROM table_name_30 WHERE venue = "pro player stadium" AND winning_team = "devil rays" AND date = "june 14"
CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR, venue VARCHAR, winning_team VARCHAR), on June 14, what was the winning score by the Devil rays in pro player stadium?
SELECT score FROM table_name_77 WHERE date = "june 16"
CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR), what was the score on june 16?
SELECT winning_team FROM table_name_2 WHERE score = "4-1"
CREATE TABLE table_name_2 (winning_team VARCHAR, score VARCHAR), who won by a score of 4-1?
SELECT score FROM table_name_83 WHERE date = "june 29"
CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR), what was the score on june 29?
SELECT score FROM table_name_11 WHERE losing_team = "devil rays" AND date = "june 29"
CREATE TABLE table_name_11 (score VARCHAR, losing_team VARCHAR, date VARCHAR), what was the score on june 29 when the devil rays los?
SELECT score FROM table_name_9 WHERE venue = "pro player stadium" AND date = "june 14"
CREATE TABLE table_name_9 (score VARCHAR, venue VARCHAR, date VARCHAR), what was the score of the game at pro player stadium on june 14?
SELECT AVG(grid) FROM table_name_66 WHERE driver = "jack brabham" AND laps > 32
CREATE TABLE table_name_66 (grid INTEGER, driver VARCHAR, laps VARCHAR), What is the average grid for jack brabham going over 32 laps?
SELECT res FROM table_name_10 WHERE method = "decision (unanimous)" AND opponent = "wataru sakata"
CREATE TABLE table_name_10 (res VARCHAR, method VARCHAR, opponent VARCHAR), Which Res has a Method of decision (unanimous) and an Opponent of Wataru Sakata?